Re: [PATH] z3fold: extend compaction function

2016-11-03 Thread Andrew Morton
On Thu, 3 Nov 2016 22:04:28 +0100 Vitaly Wool wrote: > z3fold_compact_page() currently only handles the situation when > there's a single middle chunk within the z3fold page. However it > may be worth it to move middle chunk closer to either first or > last chunk, whichever is there, if the gap b

Re: [PATCH] z3fold: make pages_nr atomic

2016-11-03 Thread Andrew Morton
On Thu, 3 Nov 2016 22:00:58 +0100 Vitaly Wool wrote: > This patch converts pages_nr per-pool counter to atomic64_t. Which is slower. Presumably there is a reason for making this change. This reason should be described in the changelog.

Re: vmalloced stacks and scatterwalk_map_and_copy()

2016-11-03 Thread Eric Biggers
On Thu, Nov 03, 2016 at 01:30:49PM -0700, Andy Lutomirski wrote: > > Also, Herbert, it seems like the considerable majority of the crypto > code is acting on kernel virtual memory addresses and does software > processing. Would it perhaps make sense to add a kvec-based or > iov_iter-based interfa

Re: [PATCH 0/5] drm/sun4i: Handle TV overscan

2016-11-03 Thread Sean Paul
On Thu, Nov 3, 2016 at 3:01 AM, Maxime Ripard wrote: > Hi Russell, > > On Mon, Oct 31, 2016 at 08:42:34AM +, Russell King - ARM Linux wrote: >> On Tue, Oct 18, 2016 at 12:03:49PM +0200, Maxime Ripard wrote: >> > The first one is that this overscanning should be reported by the >> > connector I

[PATCH 2/2] intel_rdt: export min_cbm_bits

2016-11-03 Thread Shaohua Li
min_cbm_bits could be 1 or 2 for L3 cache. Kenrel does check the bits when writting mask. Unfortunately it's not exported to userspace. This patch fixes the gap. Signed-off-by: Shaohua Li --- arch/x86/kernel/cpu/intel_rdt_rdtgroup.c | 16 1 file changed, 16 insertions(+) diff -

[PATCH 1/2] intel_rdt: fix a build warnning

2016-11-03 Thread Shaohua Li
gcc complains: "warning: ‘dentry’ may be used uninitialized in this function" Signed-off-by: Shaohua Li --- arch/x86/kernel/cpu/intel_rdt_rdtgroup.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/x86/kernel/cpu/intel_rdt_rdtgroup.c b/arch/x86/kernel/cpu/intel_rdt_rd

Re: [PATCH 17/34] [media] DaVinci-VPFE-Capture: Improve another size determination in vpfe_enum_input()

2016-11-03 Thread SF Markus Elfring
>> @@ -1091,7 +1091,7 @@ static int vpfe_enum_input(struct file *file, void >> *priv, >> return -EINVAL; >> } >> sdinfo = &vpfe_dev->cfg->sub_devs[subdev]; >> -memcpy(inp, &sdinfo->inputs[index], sizeof(struct v4l2_input)); >> +memcpy(inp, &sdinfo->inputs[index], sizeof(

[PATH] z3fold: extend compaction function

2016-11-03 Thread Vitaly Wool
z3fold_compact_page() currently only handles the situation when there's a single middle chunk within the z3fold page. However it may be worth it to move middle chunk closer to either first or last chunk, whichever is there, if the gap between them is big enough. This patch adds the relevant code,

[PATCH] z3fold: make pages_nr atomic

2016-11-03 Thread Vitaly Wool
This patch converts pages_nr per-pool counter to atomic64_t. Signed-off-by: Vitaly Wool --- mm/z3fold.c | 26 +++--- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/mm/z3fold.c b/mm/z3fold.c index 8f9e89c..4d02280 100644 --- a/mm/z3fold.c +++ b/mm/z3fold.c @@

Re: [RFC PATCH] hugetlbfs: fix the hugetlbfs can not be mounted

2016-11-03 Thread Paul Gortmaker
[Re: [RFC PATCH] hugetlbfs: fix the hugetlbfs can not be mounted] On 03/11/2016 (Thu 12:17) Andrew Morton wrote: > On Sat, 29 Oct 2016 14:08:31 +0800 zhongjiang wrote: > > > From: zhong jiang > > > > Since 'commit 3e89e1c5ea84 ("hugetlb: make mm and fs code explicitly > > non-modular")' > >

Re: [PATCH 10/34] [media] DaVinci-VPBE: Check return value of a setup_if_config() call in vpbe_set_output()

2016-11-03 Thread SF Markus Elfring
>> From: Markus Elfring >> Date: Wed, 12 Oct 2016 09:56:56 +0200 >> >> * A function was called over the pointer "setup_if_config" in the data >> structure "venc_platform_data". But the return value was not used so far. >> Thus assign it to the local variable "ret" which will be checked with >>

Re: [PATCHv3 15/41] filemap: handle huge pages in do_generic_file_read()

2016-11-03 Thread Jan Kara
On Wed 02-11-16 11:32:04, Kirill A. Shutemov wrote: > On Tue, Nov 01, 2016 at 05:39:40PM +0100, Jan Kara wrote: > > On Mon 31-10-16 21:10:35, Kirill A. Shutemov wrote: > > > > If I understand the motivation right, it is mostly about being able to > > > > mmap > > > > PMD-sized chunks to userspace.

Re: [PATCH 1/4] pinctrl: Introduce generic #pinctrl-cells and pinctrl_parse_index_with_args

2016-11-03 Thread Tony Lindgren
* kbuild test robot [161103 13:29]: >In file included from drivers/pinctrl/core.c:36:0: > >> drivers/pinctrl/devicetree.h:29:14: warning: 'struct of_phandle_args' > >> declared inside parameter list will not be visible outside of this > >> definition or declaratio Hmm maybe we should just i

Re: [RFC] make kmemleak scan __ro_after_init section (was: Re: [PATCH 0/5] genetlink improvements)

2016-11-03 Thread Catalin Marinas
On Wed, Nov 02, 2016 at 11:47:55PM +, Jakub Kicinski wrote: > I realized that kmemleak is not scanning the __ro_after_init section... > Following patch solves the false positives but I wonder if it's the > right/acceptable solution. Thanks for putting this together. I actually hit a similar is

[PATCH] cpufreq: stats: clear statistics

2016-11-03 Thread Markus Mayer
From: Markus Mayer Allow cpufreq statistics to be cleared by writing anything to /sys/.../cpufreq/stats/reset. Reading this new sysfs entry returns nothing. Resetting the statistics can be useful in a test environment (test governor, retrieve stats, reset stats, test other governor, etc.). This

Re: [RFC 0/6] vfs: Add timestamp range check support

2016-11-03 Thread Theodore Ts'o
On Thu, Nov 03, 2016 at 09:48:27AM +1100, Dave Chinner wrote: > > We're going to need regression tests for this to ensure that it > works properly and that we don't inadvertantly break it in future. > Can you write some xfstests that exercise this functionality and > validate that the mount behavi

Re: [kernel-hardening] Re: [2/2] procfs/tasks: add a simple per-task procfs hidepid= field

2016-11-03 Thread Jann Horn
On Thu, Nov 03, 2016 at 02:34:16PM -0600, Kees Cook wrote: > On Thu, Nov 3, 2016 at 12:24 PM, Jann Horn wrote: > > On Thu, Nov 03, 2016 at 09:30:38AM -0600, Lafcadio Wluiki wrote: > >> This adds a new per-task hidepid= flag that is honored by procfs when > >> presenting /proc to the user, in addit

Re: [PATCHv2] PCI: QDF2432 32 bit config space accessors

2016-11-03 Thread Bjorn Helgaas
On Thu, Nov 03, 2016 at 12:58:10PM -0400, Sinan Kaya wrote: > > On 11/3/2016 10:00 AM, Bjorn Helgaas wrote: > > On Wed, Nov 02, 2016 at 12:36:16PM -0400, Sinan Kaya wrote: > >> Hi Bjorn, > >> > >> On 11/2/2016 12:08 PM, Bjorn Helgaas wrote: > >>> On Tue, Nov 01, 2016 at 07:06:31AM -0600, c...@code

Applied "ASoC: sun4i-codec: Expand quirks to handle register offsets and card creation" to the asoc tree

2016-11-03 Thread Mark Brown
The patch ASoC: sun4i-codec: Expand quirks to handle register offsets and card creation has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in

Applied "ASoC: sun4i-codec: Increase DMA max burst to 8" to the asoc tree

2016-11-03 Thread Mark Brown
The patch ASoC: sun4i-codec: Increase DMA max burst to 8 has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to

Applied "ASoC: sun4i-codec: Add support for A31 playback through headphone output" to the asoc tree

2016-11-03 Thread Mark Brown
The patch ASoC: sun4i-codec: Add support for A31 playback through headphone output has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the n

Re: [2/2] procfs/tasks: add a simple per-task procfs hidepid= field

2016-11-03 Thread Kees Cook
On Thu, Nov 3, 2016 at 12:24 PM, Jann Horn wrote: > On Thu, Nov 03, 2016 at 09:30:38AM -0600, Lafcadio Wluiki wrote: >> This adds a new per-task hidepid= flag that is honored by procfs when >> presenting /proc to the user, in addition to the existing hidepid= mount >> option. So far, hidepid= was

Re: [PATCH 3/3] clk: qcom: Set BRANCH_HALT_DELAY flags for venus core0/1 clks

2016-11-03 Thread Stephen Boyd
On 10/24, Sricharan R wrote: > With the venus subcore0/1 gdscs(powerdomains) in > hw controlled mode, the clock controller does not handle > the status bit for the clocks in that domain. So avoid > checking for the status bit of those clocks by setting the > BRANCH_HALT_DELAY flag. This avoids the

Applied "ASoC: sun4i-codec: Add support for A31 Line In playback" to the asoc tree

2016-11-03 Thread Mark Brown
The patch ASoC: sun4i-codec: Add support for A31 Line In playback has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and

Applied "ASoC: sun4i-codec: Revise comments for register definition macros" to the asoc tree

2016-11-03 Thread Mark Brown
The patch ASoC: sun4i-codec: Revise comments for register definition macros has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Re: [PATCH v2] memcg: Prevent memcg caches to be both OFF_SLAB & OBJFREELIST_SLAB

2016-11-03 Thread Christoph Lameter
On Wed, 2 Nov 2016, David Rientjes wrote: > > Christoph on the first version advised removing invalid flags on the > > caller and checking they are correct in kmem_cache_create. The memcg > > path putting the wrong flags is through create_cache but I still used > > this approach. > > > > I think t

Re: vmalloced stacks and scatterwalk_map_and_copy()

2016-11-03 Thread Andy Lutomirski
On Thu, Nov 3, 2016 at 11:16 AM, Eric Biggers wrote: > Hello, > > I hit the BUG_ON() in arch/x86/mm/physaddr.c:26 while testing some crypto code > in an x86_64 kernel with CONFIG_DEBUG_VIRTUAL=y and CONFIG_VMAP_STACK=y: > > /* carry flag will be set if starting x was >= PAGE_OFFSET */ >

Re: [PATCH 1/4] pinctrl: Introduce generic #pinctrl-cells and pinctrl_parse_index_with_args

2016-11-03 Thread kbuild test robot
Hi Tony, [auto build test WARNING on pinctrl/for-next] [also build test WARNING on v4.9-rc3 next-20161028] [cannot apply to robh/for-next] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --bas

Re: [2/2] procfs/tasks: add a simple per-task procfs hidepid= field

2016-11-03 Thread Lafcadio Wluiki
On Thu, Nov 3, 2016 at 12:24 PM, Jann Horn wrote: >> + case PR_SET_HIDEPID: >> + if (arg2 < HIDEPID_OFF || arg2 > HIDEPID_INVISIBLE) >> + return -EINVAL; >> + if (arg2 < me->hide_pid) >> + return -EPERM; >> + me->hide

Re: [PATCH net] netlink: netlink_diag_dump() runs without locks

2016-11-03 Thread David Miller
From: Eric Dumazet Date: Wed, 02 Nov 2016 20:21:20 -0700 > From: Eric Dumazet > > A recent commit removed locking from netlink_diag_dump() but forgot > one error case. ... > Fixes: ad202074320c ("netlink: Use rhashtable walk interface in diag dump") > Signed-off-by: Eric Dumazet > Reported-by

Re: [PATCH 2/5] KVM: x86: do not scan IRR twice on APICv vmentry

2016-11-03 Thread Radim Krčmář
[Oh, I got distracted and sent without finishing ...] 2016-11-03 19:29+0100, Radim Krčmář: > 2016-11-03 19:18+0100, Paolo Bonzini: >> On 03/11/2016 19:07, Radim Krčmář wrote: >>> I think a bug is likely for hypervisors that don't enable >>> PIN_BASED_EXT_INTR_MASK. The bug would trigger when >>>

Re: [PATCH v3 4/5] arm64: dts: exynos: Add dts file for Exynos5433-based TM2 board

2016-11-03 Thread Krzysztof Kozlowski
On Thu, Nov 03, 2016 at 03:39:08PM +0900, Chanwoo Choi wrote: > This patch adds the Device Tree source for Exynos5433-based Samsung TM2 board. > This board fully support the all things for mobile target. > > This patch supports the following devices: > 1. basic SoC > - Initial booting for Samsung

Re: [PATCH v3 5/5] arm64: dts: exynos: Add dts file for Exynos5433-based TM2E board

2016-11-03 Thread Krzysztof Kozlowski
On Thu, Nov 03, 2016 at 03:39:09PM +0900, Chanwoo Choi wrote: > This patch adds the Device Tree source for Exynos5433-based Samsung TM2E > board. TM2E board is the most similar with TM2 board. The exynos5433-tm2e.dts > include the difference between TM2 and TM2E. > > Signed-off-by: Chanwoo Choi >

Re: [PATCH v3 3/5] arm64: dts: exynos: Add dts files for Samsung Exynos5433 64bit SoC

2016-11-03 Thread Krzysztof Kozlowski
On Thu, Nov 03, 2016 at 09:47:16PM +0200, Krzysztof Kozlowski wrote: > On Thu, Nov 03, 2016 at 03:39:07PM +0900, Chanwoo Choi wrote: > > This patch adds new Exynos5433 dtsi to support 64-bit Exynos5433 SoC based > > on > > Octa-core CPUs (quad Cortex-A57 and quad Cortex-A53). And Exynos5433 > > s

Re: [PATCH 1/3] clk: qcom: gdsc: Add support for gdscs with HW control

2016-11-03 Thread 'Stephen Boyd'
On 11/03, Sricharan wrote: > Ok, so the video ip core, has a hw control signal/bit. > I checked this by dumping this out that, the moment the > gdsc is put to hw control, the video ip's hw control bit also > gets asserted/set. so this means that video ip's bit get > aligned with the gdsc setting

Re: [PATCH v5 0/7] add NS2 support to bgmac

2016-11-03 Thread David Miller
From: Jon Mason Date: Wed, 2 Nov 2016 13:08:01 -0400 > Add support for the amac found in the Broadcom Northstar2 SoC to the > bgmac driver. This necessitates adding support to connect to an > externally defined phy (as described in the device tree) in the driver. > These phy changes are in addi

Re: 4.8.2 not booting in 32-bit VM without I/O-APIC

2016-11-03 Thread Michal Necasek
Hi Thomas, Sorry for the delay. I can confirm that the problem is fixed in 4.9.0-rc3 and prefill_possible_map no longer crashes (as it did in 4.9.0-rc2). Thank you! Just a side question, is the previous fix in commit ff8560512b (x86/boot/smp: Don't try to poke disabled/non-existent APIC)

Re: [PATCH v12 RESEND 0/4] generic TEE subsystem

2016-11-03 Thread Volodymyr Babchuk
On 3 November 2016 at 21:35, Jens Wiklander wrote: > On Mon, Oct 31, 2016 at 01:24:14PM -0500, Andrew F. Davis wrote: >> On 10/29/2016 04:46 AM, Jens Wiklander wrote: >> > On Fri, Oct 28, 2016 at 10:43:24AM -0500, Andrew F. Davis wrote: >> >> On 10/28/2016 05:19 AM, Jens Wiklander wrote: >> >>> Hi

[mm] 6bca77bba0: kernel BUG at kernel/cred.c:768!

2016-11-03 Thread kernel test robot
FYI, we noticed the following commit: https://github.com/0day-ci/linux Jann-Horn/fs-exec-don-t-force-writing-memory-access/20161103-111351 commit 6bca77bba07125097f31dd8387579ed6829b059a ("mm: add LSM hook for writes to readonly memory") in testcase: boot on test machine: qemu-sys

Re: [PATCH net-next v6 02/10] dpaa_eth: add support for DPAA Ethernet

2016-11-03 Thread David Miller
From: Madalin Bucur Date: Wed, 2 Nov 2016 22:17:26 +0200 > This introduces the Freescale Data Path Acceleration Architecture > +static inline size_t bpool_buffer_raw_size(u8 index, u8 cnt) > +{ > + u8 i; > + size_t res = DPAA_BP_RAW_SIZE / 2; Always order local variable declarations from

Re: [PATCH 3/3] [media] au0828-video: Move two assignments in au0828_init_isoc()

2016-11-03 Thread SF Markus Elfring
>> From: Markus Elfring >> Date: Mon, 24 Oct 2016 22:44:02 +0200 >> >> Move the assignment for the data structure members "isoc_copy" >> and "num_bufs" behind the source code for memory allocations >> by this function. > > I don't see the point, Another explanation try … > dropping this patch.

Re: [PATCHv3 4/4] ARM: socfpga: dts: Add Monitor to A10-SR MFD

2016-11-03 Thread Dinh Nguyen
On 11/02/2016 09:32 AM, ttha...@opensource.altera.com wrote: > From: Thor Thayer > > Add the Monitor functionality to the Arria10 DevKit > System Resource chip. > > Signed-off-by: Thor Thayer > --- > v2 Change from -mon to -monitor for clarity. > v3 Change node name from a10_monitor to moni

Re: scripts/basic/bin2c: Complete error handling in main()

2016-11-03 Thread SF Markus Elfring
> You could define an xprintf() macro that checks if the return value > is < 0 and simply calls perror() and exit(1) in such case. Does such a macro belong to any general header file from the Linux software library? Regards, Markus

Re: [PATCH v3 06/11] clk: qcom: Fix .set_rate to handle alpha PLLs w/wo dynamic update

2016-11-03 Thread Stephen Boyd
On 11/03, Rajendra Nayak wrote: > > > On 11/03/2016 03:24 AM, Stephen Boyd wrote: > > On 09/29, Rajendra Nayak wrote: > >> Alpha PLLs which do not support dynamic update feature > >> need to be explicitly disabled before a rate change. > >> The ones which do support dynamic update do so within a

Re: [PATCH v3 3/5] arm64: dts: exynos: Add dts files for Samsung Exynos5433 64bit SoC

2016-11-03 Thread Krzysztof Kozlowski
On Thu, Nov 03, 2016 at 03:39:07PM +0900, Chanwoo Choi wrote: > This patch adds new Exynos5433 dtsi to support 64-bit Exynos5433 SoC based on > Octa-core CPUs (quad Cortex-A57 and quad Cortex-A53). And Exynos5433 supports > PSCI (Power State Coordination Interface) v0.1. > > This patch includes fo

[PATCH 1/5] block: fast-path for small and simple direct I/O requests

2016-11-03 Thread Jens Axboe
From: Christoph Hellwig This patch adds a small and simple fast patch for small direct I/O requests on block devices that don't use AIO. Between the neat bio_iov_iter_get_pages helper that avoids allocating a page array for get_user_pages and the on-stack bio and biovec this avoid memory allocat

[PATCH 3/5] block: move poll code to blk-mq

2016-11-03 Thread Jens Axboe
The poll code is blk-mq specific, let's move it to blk-mq.c. This is a prep patch for improving the polling code. Signed-off-by: Jens Axboe Reviewed-by: Christoph Hellwig --- block/blk-core.c | 36 +--- block/blk-mq.c | 33 + blo

Re: [PATCH v3 10/11] clk: Add clk_hw_get_clk() helper API to be used by clk providers

2016-11-03 Thread Stephen Boyd
On 11/03, Rajendra Nayak wrote: > > > On 11/03/2016 03:52 AM, Stephen Boyd wrote: > > On 09/29, Rajendra Nayak wrote: > >> Add a helper API that will allow clk providers to turn their clk_hw > >> structures into struct clk pointer. > >> > > > > Did I suggest this? > > I did this back when you s

[PATCH 2/5] block: add scalable completion tracking of requests

2016-11-03 Thread Jens Axboe
For legacy block, we simply track them in the request queue. For blk-mq, we track them on a per-sw queue basis, which we can then sum up through the hardware queues and finally to a per device state. The stats are tracked in, roughly, 0.1s interval windows. Add sysfs files to display the stats.

[PATCH 5/5] blk-mq: make the polling code adaptive

2016-11-03 Thread Jens Axboe
The previous commit introduced the hybrid sleep/poll mode. Take that one step further, and use the completion latencies to automatically sleep for half the mean completion time. This is a good approximation. This changes the 'io_poll_delay' sysfs file a bit to expose the various options. Depending

[PATCHSET v2] block: IO polling improvements

2016-11-03 Thread Jens Axboe
Fixed a few bugs in this, and addressed some review comments. Patches are against my 4.10 block branch, for-4.10/block. Some performance results, running random reads against a fast device, using either IRQ driven completions, classic polled, or the new hybrid polled: Method IOPS

[PATCH 4/5] blk-mq: implement hybrid poll mode for sync O_DIRECT

2016-11-03 Thread Jens Axboe
This patch enables a hybrid polling mode. Instead of polling after IO submission, we can induce an artificial delay, and then poll after that. For example, if the IO is presumed to complete in 8 usecs from now, we can sleep for 4 usecs, wake up, and then do our polling. This still puts a sleep/wake

Re: [PATCH v12 RESEND 0/4] generic TEE subsystem

2016-11-03 Thread Jens Wiklander
On Mon, Oct 31, 2016 at 01:24:14PM -0500, Andrew F. Davis wrote: > On 10/29/2016 04:46 AM, Jens Wiklander wrote: > > On Fri, Oct 28, 2016 at 10:43:24AM -0500, Andrew F. Davis wrote: > >> On 10/28/2016 05:19 AM, Jens Wiklander wrote: > >>> Hi, > >>> > >>> This patch set introduces a generic TEE subs

Re: [PATCH v3 0/2] net: stmmac: Add OXNAS DWMAC Glue

2016-11-03 Thread David Miller
From: Neil Armstrong Date: Wed, 2 Nov 2016 15:02:35 +0100 > This patchset add support for the Sysnopsys DWMAC Gigabit Ethernet > controller Glue layer of the Oxford Semiconductor OX820 SoC. Series applied to net-next, thanks.

Re: [PATCH v3 2/5] pinctrl: samsung: Add GPF support for Exynos5433

2016-11-03 Thread Krzysztof Kozlowski
On Thu, Nov 03, 2016 at 03:39:06PM +0900, Chanwoo Choi wrote: > This patch add the support of GPF[1-5] pin of Exynos5433 SoC. The GPFx need > to support the multiple memory map because the registers of GPFx are located > in the different domain. > > Cc: Tomasz Figa > Cc: Krzysztof Kozlowski > Cc

Re: [RFC PATCH] hugetlbfs: fix the hugetlbfs can not be mounted

2016-11-03 Thread Andrew Morton
On Sat, 29 Oct 2016 14:08:31 +0800 zhongjiang wrote: > From: zhong jiang > > Since 'commit 3e89e1c5ea84 ("hugetlb: make mm and fs code explicitly > non-modular")' > bring in the mainline. mount hugetlbfs will result in the following issue. > > mount: unknown filesystme type 'hugetlbfs' > > b

Re: [PATCH] m32r: add simple dma

2016-11-03 Thread Andrew Morton
On Sun, 30 Oct 2016 23:47:29 +0530 Sudip Mukherjee wrote: > On Friday 21 October 2016 08:59 AM, Andrew Morton wrote: > > On Sat, 8 Oct 2016 23:23:18 +0530 Sudip Mukherjee > > wrote: > > > >> Some builds of m32r were failing as it tried to build few drivers which > >> needed dma but m32r is no

Re: [PATCH v3 1/5] pinctrl: samsung: Add the support the multiple IORESOURCE_MEM for one pin-bank

2016-11-03 Thread Krzysztof Kozlowski
On Thu, Nov 03, 2016 at 03:39:05PM +0900, Chanwoo Choi wrote: > This patch supports the multiple IORESOURCE_MEM resources for one pin-bank. > In the pre-existing Exynos series, the registers of the gpio bank are included > in the one memory map. But, some gpio bank need to support the one more memo

Re: [Intel-gfx] [PATCH 1/2] drm/i915: Remove redundant reprobe in i915_drm_resume

2016-11-03 Thread David Weinehall
On Thu, Nov 03, 2016 at 11:42:37AM -0400, Lyude wrote: > Weine's investigation on benchmarking the suspend/resume process pointed > out a lot of the time in suspend/resume is being spent reprobing. While > the reprobing process is a lengthy one for good reason, we don't need to > hold up the entire

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Reinit polling before hpd when resuming

2016-11-03 Thread David Weinehall
On Thu, Nov 03, 2016 at 11:42:38AM -0400, Lyude wrote: > Now that we don't run the connector reprobing from i915_drm_resume(), we > need to make it so we don't have to wait for reprobing to finish so that > we actually speed things up. In order to do this, we need to make sure > that i915_drm_resum

Re: [Intel-gfx] [PATCH] drm: make drm_get_format_name thread-safe

2016-11-03 Thread Rob Clark
On Sun, Aug 14, 2016 at 8:02 PM, Eric Engestrom wrote: > Signed-off-by: Eric Engestrom > --- > > I moved the main bits to be the first diffs, shouldn't affect anything > when applying the patch, but I wanted to ask: > I don't like the hard-coded `32` the appears in both kmalloc() and > snprintf()

Re: [PATCH 9/9] clocksource: import ARC timer driver

2016-11-03 Thread Vineet Gupta
On 11/03/2016 10:33 AM, Daniel Lezcano wrote: > As now the clksrc-probe is correctly handling the errors, if the rtc and the > gfrc are both defined in the DT, you can fail to init the rtc one with a > simple > test in the init function: > > if (IS_DEFINED(CONFIG_SMP)) > retur

Re: arm64 build failure with CONFIG_ARM64_LSE_ATOMICS=y

2016-11-03 Thread Catalin Marinas
On Thu, Nov 03, 2016 at 12:12:38PM +0100, Artem Savkov wrote: > On Thu, Nov 03, 2016 at 10:39:43AM +, Suzuki K Poulose wrote: > > On 02/11/16 23:28, Will Deacon wrote: > > > On Wed, Nov 02, 2016 at 05:44:27PM +0100, Artem Savkov wrote: > > > > Looks like your patch "efd9e03 arm64: Use static ke

Re: net/sctp: use-after-free in __sctp_connect

2016-11-03 Thread Andrey Konovalov
On Thu, Nov 3, 2016 at 7:35 PM, Marcelo Ricardo Leitner wrote: > On Thu, Nov 03, 2016 at 07:02:47PM +0100, Andrey Konovalov wrote: >> On Thu, Nov 3, 2016 at 6:52 PM, Marcelo Ricardo Leitner >> wrote: >> > On Thu, Nov 03, 2016 at 06:11:01PM +0100, Andrey Konovalov wrote: >> >> On Wed, Nov 2, 2016

Re: [PATCH 9/9] clocksource: import ARC timer driver

2016-11-03 Thread Vineet Gupta
On 11/03/2016 11:11 AM, Daniel Lezcano wrote: >> Thx for taking a quick look - this is a good start. How about the actual >> driver >> > itself, do you want to take a quick look there as well before v2 ? > At the first glance, with your changes it is acceptable to be moved. Perhaps, > you can have

Re: [PATCH 10/13] ARM: dts: exynos: replace to "max-frequecy" instead of "clock-freq-min-max"

2016-11-03 Thread Krzysztof Kozlowski
On Thu, Nov 03, 2016 at 03:21:32PM +0900, Jaehoon Chung wrote: > In drivers/mmc/core/host.c, there is "max-frequency" property. > It should be same behavior. So Use the "max-frequency" instead of > "clock-freq-min-max". > > Signed-off-by: Jaehoon Chung > --- > arch/arm/boot/dts/exynos3250-artik5

Re: [Ksummit-discuss] Results: Linux Foundation Technical Advisory Board Election 2016

2016-11-03 Thread Laurent Pinchart
Hi Chris, On Thursday 03 Nov 2016 10:47:03 Chris Mason wrote: > On Thu, Nov 03, 2016 at 06:06:35PM +0200, Laurent Pinchart wrote: > > On Thursday 03 Nov 2016 11:39:51 Steven Rostedt wrote: > >> The TAB elections are now complete. Thank you to all the candidates for > >> putting their names forward

Re: net/sctp: use-after-free in __sctp_connect

2016-11-03 Thread Marcelo Ricardo Leitner
On Thu, Nov 03, 2016 at 07:02:47PM +0100, Andrey Konovalov wrote: > On Thu, Nov 3, 2016 at 6:52 PM, Marcelo Ricardo Leitner > wrote: > > On Thu, Nov 03, 2016 at 06:11:01PM +0100, Andrey Konovalov wrote: > >> On Wed, Nov 2, 2016 at 11:42 PM, Andrey Konovalov > >> wrote: > >> > On Wed, Oct 19, 201

Re: [PATCH v2 1/3] dt-bindings: mediatek: Add a binding for Mediatek JPEG Decoder

2016-11-03 Thread Laurent Pinchart
Hi Rick, A few more comments. On Thursday 03 Nov 2016 20:33:12 Laurent Pinchart wrote: > On Monday 31 Oct 2016 15:16:55 Rick Chang wrote: > > Add a DT binding documentation for Mediatek JPEG Decoder of > > MT2701 SoC. > > > > Signed-off-by: Rick Chang > > Signed-off-by: Minghsiu Tsai > > --- >

Re: [PATCH v2 1/3] dt-bindings: mediatek: Add a binding for Mediatek JPEG Decoder

2016-11-03 Thread Laurent Pinchart
Hi Rick, Thank you for the patch. On Monday 31 Oct 2016 15:16:55 Rick Chang wrote: > Add a DT binding documentation for Mediatek JPEG Decoder of > MT2701 SoC. > > Signed-off-by: Rick Chang > Signed-off-by: Minghsiu Tsai > --- > .../bindings/media/mediatek-jpeg-codec.txt | 35 +

[PATCH] crypto: algif_hash, avoid zero-sized array

2016-11-03 Thread Jiri Slaby
With this reproducer: struct sockaddr_alg alg = { .salg_family = 0x26, .salg_type = "hash", .salg_feat = 0xf, .salg_mask = 0x5, .salg_name = "digest_null", }; int sock, sock2; sock = socket(AF_ALG, SOCK_SEQPACKET, 0); bind(sock, (struct s

Re: [PATCH 2/5] KVM: x86: do not scan IRR twice on APICv vmentry

2016-11-03 Thread Radim Krčmář
2016-11-03 19:18+0100, Paolo Bonzini: > On 03/11/2016 19:07, Radim Krčmář wrote: >> 2016-11-03 17:00+0100, Paolo Bonzini: >>> On 03/11/2016 16:03, Radim Krčmář wrote: 2016-11-03 14:30+0100, Paolo Bonzini: > On 26/10/2016 21:59, Radim Krčmář wrote: >> 2016-10-14 20:21+0200, Paolo Bonzin

Re: [RESEND/PATCH v6 3/3] clk: qcom: Add A53 clock driver

2016-11-03 Thread Bjorn Andersson
On Wed 02 Nov 15:55 PDT 2016, Stephen Boyd wrote: > On 11/02, Bjorn Andersson wrote: > > On Thu 27 Oct 18:54 PDT 2016, Stephen Boyd wrote: > > > > > On 10/19, Georgi Djakov wrote: > > > > Add a driver for the A53 Clock Controller. It is a hardware block that > > > > implements a combined mux and

[PATCH 1/2] backlight: arcxcnn: add support for ArticSand devices

2016-11-03 Thread Olimpiu Dejeu
Resubmition of arcxcnn backliught driver addressing the naming convention concerns raised by Rob H. Signed-off-by: Olimpiu Dejeu --- drivers/video/backlight/Kconfig | 7 + drivers/video/backlight/Makefile | 1 + drivers/video/backlight/arcxcnn_bl.c | 541 +

[PATCH 2/2] backlight: arcxcnn: devicetree bindings for ArticSand devices

2016-11-03 Thread Olimpiu Dejeu
Resubmition of arcxcnn backliught driver addressing the naming convention concerns raised by Rob H. Note that all the device tree properties are determined by the board design or IC EPROM settings and are not intended to be user adjustable. Signed-off-by: Olimpiu Dejeu --- .../bindings/leds/

Re: [PATCH] btrfs: Remove some dead code

2016-11-03 Thread Christophe JAILLET
Le 03/11/2016 à 13:43, Tobias Klauser a écrit : On 2016-11-01 at 11:26:06 +0100, Christophe JAILLET wrote: 'btrfs_iget()' can not return an error pointer, so this test can be removed. This descrption does not match what the patch actually does. Shouldn't it say "...can not return NULL, so thi

Re: [2/2] procfs/tasks: add a simple per-task procfs hidepid= field

2016-11-03 Thread Jann Horn
On Thu, Nov 03, 2016 at 09:30:38AM -0600, Lafcadio Wluiki wrote: > This adds a new per-task hidepid= flag that is honored by procfs when > presenting /proc to the user, in addition to the existing hidepid= mount > option. So far, hidepid= was exclusively a per-pidns setting. Locking > down a set of

Re: [PREEMPT-RT] Oops in rapl_cpu_prepare()

2016-11-03 Thread M. Vefa Bicakci
On 11/02/2016 08:23 PM, Sebastian Andrzej Siewior wrote: > On 2016-11-01 13:15:53 [+0300], M. Vefa Bicakci wrote: >> Hello Sebastian, > > Hi, > >> The patch fixes the kernel oops for me. >> >> I am using a custom 4.8.5-based kernel on Qubes OS R3.2, which is based >> on Xen 4.6.3. Apparently, Xen

Re: [PATCH 2/5] KVM: x86: do not scan IRR twice on APICv vmentry

2016-11-03 Thread Paolo Bonzini
On 03/11/2016 19:07, Radim Krčmář wrote: > 2016-11-03 17:00+0100, Paolo Bonzini: >> On 03/11/2016 16:03, Radim Krčmář wrote: >>> 2016-11-03 14:30+0100, Paolo Bonzini: On 26/10/2016 21:59, Radim Krčmář wrote: > 2016-10-14 20:21+0200, Paolo Bonzini: >> Calling apic_find_highest_irr res

vmalloced stacks and scatterwalk_map_and_copy()

2016-11-03 Thread Eric Biggers
Hello, I hit the BUG_ON() in arch/x86/mm/physaddr.c:26 while testing some crypto code in an x86_64 kernel with CONFIG_DEBUG_VIRTUAL=y and CONFIG_VMAP_STACK=y: /* carry flag will be set if starting x was >= PAGE_OFFSET */ VIRTUAL_BUG_ON((x > y) || !phys_addr_valid(x)); The problem

Re: [PATCH 2/5] KVM: x86: do not scan IRR twice on APICv vmentry

2016-11-03 Thread Radim Krčmář
2016-11-03 17:00+0100, Paolo Bonzini: > On 03/11/2016 16:03, Radim Krčmář wrote: >> 2016-11-03 14:30+0100, Paolo Bonzini: >>> On 26/10/2016 21:59, Radim Krčmář wrote: 2016-10-14 20:21+0200, Paolo Bonzini: > Calling apic_find_highest_irr results in IRR being scanned twice, > once in vmx

Re: [PATCH 9/9] clocksource: import ARC timer driver

2016-11-03 Thread Daniel Lezcano
On Thu, Nov 03, 2016 at 06:33:17PM +0100, Daniel Lezcano wrote: [ ... ] > As now the clksrc-probe is correctly handling the errors, if the rtc and the > gfrc are both defined in the DT, you can fail to init the rtc one with a > simple > test in the init function: > > if (IS_DEFINED(CONFIG

Re: [PATCH] HID: intel-ish-hid: Fix !CONFIG_PM build warning

2016-11-03 Thread Jiri Kosina
On Sat, 29 Oct 2016, Borislav Petkov wrote: > From: Borislav Petkov > > Fix > > drivers/hid/intel-ish-hid/ipc/pci-ish.c:247:12: warning: ‘ish_suspend’ > defined but not used [-Wunused-function] >static int ish_suspend(struct device *device) > ^ > drivers/hid/intel-ish-hid

Re: [PATCH 9/9] clocksource: import ARC timer driver

2016-11-03 Thread Daniel Lezcano
On Thu, Nov 03, 2016 at 10:57:48AM -0700, Vineet Gupta wrote: > Hi Daniel, > > On 11/03/2016 09:50 AM, Daniel Lezcano wrote: > > On Thu, Nov 03, 2016 at 09:40:23AM -0700, Vineet Gupta wrote: > >> On 11/01/2016 06:03 PM, Vineet Gupta wrote: > > Because of the git mv you, diff didn't include bul

Re: [PATCH v2 1/2] usb: gadget: mv_u3d: add check for dma mapping error

2016-11-03 Thread Alexey Khoroshilov
On 03.11.2016 16:34, Felipe Balbi wrote: > > Hi, > > Alexey Khoroshilov writes: >> mv_u3d_req_to_trb() does not check for dma mapping errors. >> >> Found by Linux Driver Verification project (linuxtesting.org). >> >> v2: split fix and clenup to separate patches. > > I'll fix this time when appl

Re: [PATCH 2/2] procfs/tasks: add a simple per-task procfs hidepid= field

2016-11-03 Thread Kees Cook
On Thu, Nov 3, 2016 at 11:55 AM, Jann Horn wrote: > On Thu, Nov 03, 2016 at 10:12:55AM -0600, Kees Cook wrote: >> On Thu, Nov 3, 2016 at 9:30 AM, Lafcadio Wluiki wrote: >> > (Third, rebased submission, since first two submissions yielded no >> > replies.) >> > >> > This adds a new per-task hidep

Re: [PATCH 2/2] f2fs: don't skip recovering inode depend on i_times

2016-11-03 Thread Jaegeuk Kim
On Fri, Nov 04, 2016 at 12:26:56AM +0800, Chao Yu wrote: > From: Chao Yu > > i_times of inode will be set with current system time which can be > configured through 'date', so it's not safe to judge dnode block as > garbage data depend on i_times. This is not to detect garbage data, but to skip

Re: net/sctp: use-after-free in __sctp_connect

2016-11-03 Thread Andrey Konovalov
On Thu, Nov 3, 2016 at 6:52 PM, Marcelo Ricardo Leitner wrote: > On Thu, Nov 03, 2016 at 06:11:01PM +0100, Andrey Konovalov wrote: >> On Wed, Nov 2, 2016 at 11:42 PM, Andrey Konovalov >> wrote: >> > On Wed, Oct 19, 2016 at 6:57 PM, Marcelo Ricardo Leitner >> > wrote: >> >> On Wed, Oct 19, 2016

Re: printk considered harmful (was: [TECH TOPIC] asynchronous printk)

2016-11-03 Thread Sergey Senozhatsky
fix a typo On (11/04/16 02:31), Sergey Senozhatsky wrote: [..] > #4 console semaphore > discussion outcome: > we agreed that we can do better here and that it makes sense to do IOW, console semaphore thing can be improv

Re: [PATCH 9/9] clocksource: import ARC timer driver

2016-11-03 Thread Vineet Gupta
Hi Daniel, On 11/03/2016 09:50 AM, Daniel Lezcano wrote: > On Thu, Nov 03, 2016 at 09:40:23AM -0700, Vineet Gupta wrote: >> On 11/01/2016 06:03 PM, Vineet Gupta wrote: > Because of the git mv you, diff didn't include bulk of driver code which > would >>> make for bulk of review anyway

Re: [f2fs-dev] [PATCH 2/3] f2fs: use __set_page_dirty_nobuffers directly

2016-11-03 Thread Jaegeuk Kim
On Thu, Nov 03, 2016 at 05:50:34PM +0800, Chao Yu wrote: > On 2016/11/3 1:23, Jaegeuk Kim wrote: > > On Wed, Nov 02, 2016 at 03:34:32PM +0800, Chao Yu wrote: > >> Hi Jaegeuk, > >> > >> On 2016/10/21 10:28, Jaegeuk Kim wrote: > >>> This patch replaces the copied code with original generic function.

Re: [PATCH 2/2] procfs/tasks: add a simple per-task procfs hidepid= field

2016-11-03 Thread Jann Horn
On Thu, Nov 03, 2016 at 10:12:55AM -0600, Kees Cook wrote: > On Thu, Nov 3, 2016 at 9:30 AM, Lafcadio Wluiki wrote: > > (Third, rebased submission, since first two submissions yielded no replies.) > > > > This adds a new per-task hidepid= flag that is honored by procfs when > > presenting /proc to

Re: [PATCHv3 15/41] filemap: handle huge pages in do_generic_file_read()

2016-11-03 Thread Jan Kara
On Wed 02-11-16 07:36:12, Christoph Hellwig wrote: > On Tue, Nov 01, 2016 at 05:39:40PM +0100, Jan Kara wrote: > > I'd also note that having PMD-sized pages has some obvious disadvantages as > > well: > > > > 1) I'm not sure buffer head handling code will quite scale to 512 or even > > 2048 buffer

Re: [PATCH v3 3/5] dt/bindings: Add a new property to DA8xx USB PHY

2016-11-03 Thread David Lechner
On 11/03/2016 12:33 PM, Alexandre Bailon wrote: On 11/03/2016 05:53 PM, David Lechner wrote: On 11/03/2016 10:26 AM, Alexandre Bailon wrote: The USB PHY is able to operate in OTG, host or peripheral. Some board may be wired to work act only as host or peripheral. In such case, the dr_mode prope

Re: net/sctp: use-after-free in __sctp_connect

2016-11-03 Thread Marcelo Ricardo Leitner
On Thu, Nov 03, 2016 at 06:11:01PM +0100, Andrey Konovalov wrote: > On Wed, Nov 2, 2016 at 11:42 PM, Andrey Konovalov > wrote: > > On Wed, Oct 19, 2016 at 6:57 PM, Marcelo Ricardo Leitner > > wrote: > >> On Wed, Oct 19, 2016 at 02:25:24PM +0200, Andrey Konovalov wrote: > >>> Hi, > >>> > >>> I've

Re: [PATCH 3/9] ARC: timer: gfrc: boot print alongside other timers

2016-11-03 Thread Daniel Lezcano
On Thu, Nov 03, 2016 at 10:47:19AM -0700, Vineet Gupta wrote: > On 11/03/2016 10:09 AM, Daniel Lezcano wrote: > > On Mon, Oct 31, 2016 at 03:48:10PM -0700, Vineet Gupta wrote: > >> Signed-off-by: Vineet Gupta > > > > Why not add a message in drivers/clocksource/clksrc-probe.c when a timer > > in

Re: [PATCH v3 3/5] dt/bindings: Add a new property to DA8xx USB PHY

2016-11-03 Thread Kishon Vijay Abraham I
Hi, On Thursday 03 November 2016 10:56 PM, Alexandre Bailon wrote: > On 11/03/2016 05:34 PM, Kishon Vijay Abraham I wrote: >> Hi, >> >> On Thursday 03 November 2016 08:56 PM, Alexandre Bailon wrote: >>> The USB PHY is able to operate in OTG, host or peripheral. >>> Some board may be wired to work

Re: [PATCH v2 3/3] reset: Add the TI SCI reset driver

2016-11-03 Thread Andrew F. Davis
On 10/28/2016 04:36 AM, Philipp Zabel wrote: > Hi Andrew, > > is there (going to be) as stable branch I can base these on, or should I > just wait until the prerequisite patches appear in arm-soc/for-next? > > Am Donnerstag, den 27.10.2016, 16:49 -0500 schrieb Andrew F. Davis: >> Some TI Keystone

Re: [PATCH v9 00/16] re-enable DAX PMD support

2016-11-03 Thread Ross Zwisler
On Thu, Nov 03, 2016 at 12:58:26PM +1100, Dave Chinner wrote: > On Tue, Nov 01, 2016 at 01:54:02PM -0600, Ross Zwisler wrote: > > DAX PMDs have been disabled since Jan Kara introduced DAX radix tree based > > locking. This series allows DAX PMDs to participate in the DAX radix tree > > based locki

Re: [PATCH v2 1/6] usb: separate out sysdev pointer from usb_bus

2016-11-03 Thread Grygorii Strashko
On 11/02/2016 12:38 AM, Sriram Dash wrote: > From: Arnd Bergmann > > For xhci-hcd platform device, all the DMA parameters are not > configured properly, notably dma ops for dwc3 devices. > > The idea here is that you pass in the parent of_node along with > the child device pointer, so it would

<    1   2   3   4   5   6   7   8   >