Re: [PATCH 7/9] writeback: periodically trim the writeback list

2015-03-16 Thread Jan Kara
On Tue 10-03-15 15:45:22, Josef Bacik wrote: > From: Dave Chinner > > Inodes are removed lazily from the bdi writeback list, so in the > absence of sync(2) work inodes will build up on the bdi writback > list even though they are no longer under IO. Use the periodic > kupdate work check to remove

Re: [PATCH 2/2] rtc: add rtc-abx80x, a driver for the Abracon AB x80x i2c rtc

2015-03-16 Thread Paul Bolle
On Sat, 2015-03-14 at 13:44 +0100, Philippe De Muyter wrote: > On Sat, Mar 14, 2015 at 11:05:46AM +0100, Alexandre Belloni wrote: > > --- /dev/null > > +++ b/drivers/rtc/rtc-abx80x.c > > +/* > > + * A driver for the I2C members of the Abracon AB x8xx RTC family, > > + * and compatible: AB 1805 and

Re: [PATCH 1/1] x86/cpu: don't allocate fpu->state for swapper/0

2015-03-16 Thread Borislav Petkov
On Fri, Mar 13, 2015 at 07:27:16PM +0100, Oleg Nesterov wrote: > Now that kthreads do not use FPU until exec swpper/0 doesn't need > to allocate fpu->state. > > Signed-off-by: Oleg Nesterov Applied, thanks. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. -- -- To un

Re: [PATCH v2.0 1/2] pm: at91: add the PM initialization for the sama5d3 and sama5d4

2015-03-16 Thread Sylvain Rochet
Hello Wenyou, On Mon, Mar 09, 2015 at 11:57:08AM +0800, Wenyou Yang wrote: > To get the mpddrc peripheral id from the PM initialization, > which will be used to disable mpddrc'c clock during suspending. > +void __init sam5d3_pm_init(void) > +{ > + at91_dt_ramc(); > + at91_pm_data.uhp_udp_

Re: [PATCH 4/4] x86/fpu: don't abuse drop_init_fpu() in flush_thread()

2015-03-16 Thread Ingo Molnar
* Borislav Petkov wrote: > On Sun, Mar 15, 2015 at 09:38:16PM +0100, Borislav Petkov wrote: > > How about we call this function fpu_reset_state() instead? > > IOW, something like this. Reading the usage sites actually make much > more sense to me now. It could be just me though... > > :-) > >

Re: [PATCH] x86/fpu: Fold __drop_fpu() into its sole user

2015-03-16 Thread Ingo Molnar
* Borislav Petkov wrote: > Fold it into drop_fpu(). Phew, one less FPU function to pay attention > to. > > No functionality change. > > Signed-off-by: Borislav Petkov Acked-by: Ingo Molnar Thanks, Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in t

Re: [PATCH v4 2/5] ARM: dts: Prepare exynos5410-odroidxu device tree

2015-03-16 Thread Andreas Färber
Hi Javier, Am 16.03.2015 um 08:56 schrieb Javier Martinez Canillas: > On Sun, Mar 15, 2015 at 11:00 PM, Andreas Färber wrote: >> Derived from exynos5410-smdk5410.dts. >> >> Signed-off-by: Andreas Färber >> --- >> v1 -> v2 -> v3: Unchanged Forgot to update the in-patch changelogs: v4 is unchang

Build regressions/improvements in v4.0-rc4

2015-03-16 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v4.0-rc4[1] compared to v3.19[2]. Summarized: - build errors: +10/-10 - build warnings: +97/-187 JFYI, when comparing v4.0-rc4[1] to v4.0-rc3[3], the summaries are: - build errors: +6/-18 - build warnings: +31/-55 Note

Re: [PATCH 0/3] [RFC] mm/vmalloc: fix possible exhaustion of vmalloc space

2015-03-16 Thread Gioh Kim
2015-03-13 오후 9:12에 Roman Pen 이(가) 쓴 글: > Hello all. > > Recently I came across high fragmentation of vm_map_ram allocator: vmap_block > has free space, but still new blocks continue to appear. Further > investigation > showed that certain mapping/unmapping sequence can exhaust vmalloc space.

[PATCH 1/3] ARM: dts: Define stdout-path property for Peach boards

2015-03-16 Thread Javier Martinez Canillas
The kernel can use as the default console a serial port if is defined as stdout device in the Device Tree. This allows a board to be booted without the need of having a console parameter in the kernel command line. Signed-off-by: Javier Martinez Canillas --- arch/arm/boot/dts/exynos5420-peach-p

[PATCH 2/3] ARM: dts: Define stdout-path property for Snow board

2015-03-16 Thread Javier Martinez Canillas
The kernel can use as the default console a serial port if is defined as stdout device in the Device Tree. This allows a board to be booted without the need of having a console parameter in the kernel command line. Currently the Snow DTS has a bootargs in the /chosen node and this is kept since u

[PATCH 0/3] ARM: dts: Define stdout-patch for Exynos Chromebooks

2015-03-16 Thread Javier Martinez Canillas
The kernel can use as the default console a serial port if is defined as stdout device in the Device Tree. This allows a board to be booted without the need of having a console parameter in the kernel command line. This small series add a stdout-path property for Exynos5 Chromebooks and is co

[PATCH 3/3] ARM: dts: Define stdout-path property for Spring board

2015-03-16 Thread Javier Martinez Canillas
The kernel can use as the default console a serial port if is defined as stdout device in the Device Tree. This allows a board to be booted without the need of having a console parameter in the kernel command line. Currently the Spring DTS has bootargs in the /chosen node and this is kept since u

Re: [PATCH v4] dma: imx-sdma: switch to dynamic context mode after script loaded

2015-03-16 Thread Vinod Koul
On Sun, Feb 15, 2015 at 10:00:35AM +0800, Robin Gong wrote: > Below comments got from Page4724 of Reference Manual of i.mx6q: > http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6DQRM.pdf > > --"Static context mode should be used for the first channel called > after reset to ensure that the

Re: [PATCH v7 1/3] dmaengine: Add support for APM X-Gene SoC DMA engine driver

2015-03-16 Thread Rameshwar Sahu
Hi Vinod, On Mon, Mar 16, 2015 at 2:57 PM, Vinod Koul wrote: > On Thu, Mar 12, 2015 at 04:45:19PM +0530, Rameshwar Prasad Sahu wrote: >> +/* DMA ring csr registers and bit definations */ >> +#define DMA_RING_CONFIG 0x04 >> +#define DMA_RING_ENABLE BIT(31

Re: [PATCH v7 3/3] Documentation: dma: Add APM X-Gene SoC DMA engine driver documentation

2015-03-16 Thread Rameshwar Sahu
Hi Vinod, On Mon, Mar 16, 2015 at 2:59 PM, Vinod Koul wrote: > On Thu, Mar 12, 2015 at 04:45:21PM +0530, Rameshwar Prasad Sahu wrote: >> This patch adds device tree binding for APM X-Gene SoC DMA engine driver. > The patch title should be to add the bindings and not Documentation Got it, thanks

Re: Build regressions/improvements in v4.0-rc4

2015-03-16 Thread Geert Uytterhoeven
On Mon, Mar 16, 2015 at 11:29 AM, Geert Uytterhoeven wrote: > JFYI, when comparing v4.0-rc4[1] to v4.0-rc3[3], the summaries are: > - build errors: +6/-18 Just a few more relocation truncated to fit: R_PPC64_REL24 Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- Ther

[PATCH v2] checkkconfigsymbols.py: make it Git aware

2015-03-16 Thread Valentin Rothberg
The script now supports to check a specified commit or a specified range of commits (i.e., commit1..commit2). Developers and maintainers are encouraged to use this functionality before sending or merging patches to avoid potential bugs and to keep the code, documentation, etc. clean. This patch a

[PATCH 0/2] clk: ti: OMAP3: McBSP clock fixes

2015-03-16 Thread Peter Ujfalusi
Hi, This series will fix the following error during boot (both DT and legacy boot): [0.307739] omap_hwmod: mcbsp2: _wait_target_ready failed: -16 [0.307769] omap_hwmod: mcbsp2: cannot be enabled for reset (3) The clock definitions/aliases for McBSP ports were not correct. In case of DT b

[PATCH 1/2] clk: ti: clk-3xxx: Correct McBSP related DT clock definitions

2015-03-16 Thread Peter Ujfalusi
In DT boot we do not have devices named as omap-mcbsp.X. Correct the McBSP2/4 ick mapping (they were 2->4 and 4->2). Collect the McBSP clock definition in one location at the same time. Fixes the following warning on boot: [0.307739] omap_hwmod: mcbsp2: _wait_target_ready failed: -16 [0.30

[PATCH 2/2] clk: ti: clk-3xxx-legacy: Correct McBSP related clock aliases

2015-03-16 Thread Peter Ujfalusi
Correct the McBSP2/4 ick mapping (they were 2->4 and 4->2). Add missing mcbsp clock aliases. Collect the McBSP clock definition in one location at the same time. Fixes the following warning on boot: [0.307739] omap_hwmod: mcbsp2: _wait_target_ready failed: -16 [0.307769] omap_hwmod: mcbsp2

Re: [PATCH] printk: Use symbolic defines for console loglevels instead of numbers

2015-03-16 Thread Michael Ellerman
On Mon, 2015-03-16 at 15:01 +0600, Alexander Kuleshov wrote: > Signed-off-by: Alexander Kuleshov > --- > diff --git a/arch/powerpc/kernel/udbg.c b/arch/powerpc/kernel/udbg.c > index b7aa072..5525a85 100644 > --- a/arch/powerpc/kernel/udbg.c > +++ b/arch/powerpc/kernel/udbg.c > @@ -76,7 +76,7 @@ vo

Re: some question about aarch32 for ARM64

2015-03-16 Thread Jon Masters
On 2/24/15, 12:19 AM, loody wrote: PS:Below is my compile error message: #aarch64-linux-gnu-gcc -mabi=ilp32 test.c -mabi=ilp32 is entirely different from an AArch32 compiler. The above still generates AArch64 but with the ILP32 ABI (sizeof int/long/pointer is 32-bit). so per your explanation,

Re: [patch 1/2] mm, mempool: poison elements backed by slab allocator

2015-03-16 Thread Rasmus Villemoes
On Mon, Mar 09 2015, David Rientjes wrote: > Mempools keep elements in a reserved pool for contexts in which > allocation may not be possible. When an element is allocated from the > reserved pool, its memory contents is the same as when it was added to > the reserved pool. > > Because of this,

Re: [PATCH 0/3] [RFC] mm/vmalloc: fix possible exhaustion of vmalloc space

2015-03-16 Thread Roman Peniaev
On Mon, Mar 16, 2015 at 7:28 PM, Gioh Kim wrote: > > > 2015-03-13 오후 9:12에 Roman Pen 이(가) 쓴 글: >> Hello all. >> >> Recently I came across high fragmentation of vm_map_ram allocator: vmap_block >> has free space, but still new blocks continue to appear. Further >> investigation >> showed that cer

Re: [PATCH 0/6] Introduce devm_hwrng_register and convert a few dirvers

2015-03-16 Thread Herbert Xu
On Thu, Mar 12, 2015 at 02:00:01PM -0700, Dmitry Torokhov wrote: > A few drivers can benefit from devm-style interface for hwrng since it > is quite often the last thing that isn't automatically managed. Using > devm_hwrng_register() in such drivers allows get rid of manual error > unwinding and dr

Re: [PATCH] mfd: twl6040: match wait_for_completion_timeout return type

2015-03-16 Thread Peter Ujfalusi
Nicholas Mc Guire > --- > > Patch was compile tested with x86_64_defconfig + CONFIG_TWL6040_CORE=y > > Patch is against 4.0-rc3 (localversion-next is -next-20150316) > > drivers/mfd/twl6040.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff -

Re: [PATCH RESEND] crypto: algif_rng - zeroize buffer with random data

2015-03-16 Thread Herbert Xu
On Fri, Mar 13, 2015 at 11:44:07AM +0100, Stephan Mueller wrote: > Due to the change to RNGs to always return zero in success case, the RNG > interface must zeroize the buffer with the length provided by the > caller. > > Signed-off-by: Stephan Mueller Applied. -- Email: Herbert Xu Home Page:

Re: [PATCH] printk: Use symbolic defines for console loglevels instead of numbers

2015-03-16 Thread Alexander Kuleshov
Hello Geert, Yes, i thougt about this issue. I looked in git history and found the commit - a8fe19ebfbfd90ec17c02284717238b02efb9580 where level 8 changed on 10, so i decided to put CONSOLE_LOGLEVEL_DEBUG here. 2015-03-16 15:20 GMT+06:00 Geert Uytterhoeven : > On Mon, Mar 16, 2015 at 10:01 AM, A

Re: [PATCH 10/21] userfaultfd: add new syscall to provide memory externalization

2015-03-16 Thread Thomas Martitz
Andrea Arcangeli redhat.com> writes: > > Once an userfaultfd has been created and certain region of the process > virtual address space have been registered into it, the thread > responsible for doing the memory externalization can manage the page > faults in userland by talking to the kernel us

Re: [PATCH_V3 2/3] dma: jz4780: add driver for the Ingenic JZ4780 DMA controller

2015-03-16 Thread Vinod Koul
On Thu, Feb 26, 2015 at 12:43:33PM +, Zubair Lutfullah Kakakhel wrote: > +/* Per-channel registers. */ > +#define JZ_DMA_REG_DSA(n)(0x00 + (n) * 0x20) > +#define JZ_DMA_REG_DTA(n)(0x04 + (n) * 0x20) > +#define JZ_DMA_REG_DTC(n)(0x08 + (n) * 0x20) > +#define JZ_DMA_REG_DRT(n)(0x0

Re: [PATCH 12/12] crypto/sha-mb/sha1_mb.c : Syntax error

2015-03-16 Thread Herbert Xu
On Fri, Mar 13, 2015 at 11:38:21PM +0200, Ameen Ali wrote: > fixing a syntax-error . > > Signed-off-by : Ameen Ali Applied. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the li

[PATCH] staging/sm75fb: Declare static functions as such

2015-03-16 Thread Ricardo Ribalda Delgado
This patch fixes this sparse warning CHECK drivers/staging/sm750fb/ddk750_swi2c.c drivers/staging/sm750fb/ddk750_swi2c.c:223:6: warning: symbol 'swI2CStart' was not declared. Should it be static? drivers/staging/sm750fb/ddk750_swi2c.c:234:6: warning: symbol 'swI2CStop' was not declared. Shou

Re: [PATCH 0/3] [RFC] mm/vmalloc: fix possible exhaustion of vmalloc space

2015-03-16 Thread Roman Peniaev
On Mon, Mar 16, 2015 at 7:49 PM, Roman Peniaev wrote: > On Mon, Mar 16, 2015 at 7:28 PM, Gioh Kim wrote: >> >> >> 2015-03-13 오후 9:12에 Roman Pen 이(가) 쓴 글: >>> Hello all. >>> >>> Recently I came across high fragmentation of vm_map_ram allocator: >>> vmap_block >>> has free space, but still new blo

Re: [PATCH v4 2/5] ARM: dts: Prepare exynos5410-odroidxu device tree

2015-03-16 Thread Javier Martinez Canillas
Hello Andreas, On Mon, Mar 16, 2015 at 11:27 AM, Andreas Färber wrote: > Am 16.03.2015 um 08:56 schrieb Javier Martinez Canillas: >> >> I think this should be defined in exynos5410.dtsi instead since is an >> IP block in the SoC and referenced in the .dts using a label to change >> the clock-freq

kexec fails if OF_UNITTEST=y (was: Re: [PATCH v2] Removes OF_UNITTEST dependency on OF_DYNAMIC config symbol)

2015-03-16 Thread Geert Uytterhoeven
On Fri, Jan 23, 2015 at 2:03 PM, Geert Uytterhoeven wrote: > On Sun, Jan 11, 2015 at 8:19 AM, Gaurav Minocha > wrote: >> This patch intends to remove the unittests dependency on >> the functions defined in dynamic.c. So, rather than calling >> of_attach_node defined in dynamic.c, minimal function

Re: [PATCH] mm: trigger panic on bad page or PTE states if panic_on_oops

2015-03-16 Thread Kirill A. Shutemov
On Mon, Mar 16, 2015 at 09:37:01AM +0100, Christian Borntraeger wrote: > while debugging a memory management problem it helped a lot to > get a system dump as early as possible for bad page states. > > Lets assume that if panic_on_oops is set then the system should > not continue with broken mm da

Re: [PATCH] selftests: Fix kcmp build to not require headers install

2015-03-16 Thread Michael Ellerman
On Fri, 2015-03-13 at 19:45 -0600, Shuah Khan wrote: > Change CFLAGS to look in uapi to allow kcmp to be built without > requiring headers install. This will make it easier to run tests > without going through the headers install step. > > Signed-off-by: Shuah Khan > --- > tools/testing/selftest

Re: [PATCH v7 1/3] dmaengine: Add support for APM X-Gene SoC DMA engine driver

2015-03-16 Thread Rameshwar Sahu
Hi Vinod, On Mon, Mar 16, 2015 at 2:57 PM, Vinod Koul wrote: > On Thu, Mar 12, 2015 at 04:45:19PM +0530, Rameshwar Prasad Sahu wrote: >> +/* DMA ring csr registers and bit definations */ >> +#define DMA_RING_CONFIG 0x04 >> +#define DMA_RING_ENABLE BIT(31)

Re: [PATCH] printk: Use symbolic defines for console loglevels instead of numbers

2015-03-16 Thread Geert Uytterhoeven
Hi Alexander, On Mon, Mar 16, 2015 at 11:50 AM, Alexander Kuleshov wrote: > Yes, i thougt about this issue. I looked in git history and found the > commit - a8fe19ebfbfd90ec17c02284717238b02efb9580 where level 8 > changed on 10, > so i decided to put CONSOLE_LOGLEVEL_DEBUG here. Thanks, that mak

Re: [PATCH -next] mm: MEMTEST depends on MEMBLOCK

2015-03-16 Thread Geert Uytterhoeven
On Fri, Mar 13, 2015 at 10:03 AM, Guenter Roeck wrote: > Building alpha:allmodconfig fails with > > mm/memtest.c: In function 'reserve_bad_mem': > mm/memtest.c:38:2: error: implicit declaration of function 'memblock_reserve' > mm/memtest.c: In function 'do_one_pass': > mm/memtest.c:77:2: error: im

Re: [PATCH V2 4/5] MIPS: Add support for the IMG Pistachio SoC

2015-03-16 Thread James Hogan
Hi Andrew, On 13/03/15 22:54, Andrew Bresticker wrote: > diff --git a/arch/mips/Kbuild.platforms b/arch/mips/Kbuild.platforms > index e5fc463..2298baa 100644 > --- a/arch/mips/Kbuild.platforms > +++ b/arch/mips/Kbuild.platforms > @@ -23,6 +23,7 @@ platforms += netlogic > platforms += paravirt >

Re: [PATCH v4 1/2] media/v4l2-ctrls: Always run s_ctrl on volatile ctrls

2015-03-16 Thread Hans Verkuil
On 03/09/2015 05:45 PM, Ricardo Ribalda Delgado wrote: > Hello > > Back from holidays and back to this issue. Sorry for the delay. > >> I'm not sure about Ricardo's use case, is it the one we've discussed on #v4l >> ? >> If so, and if I recall correctly, the idea was to perform an action with a

Re: [PATCH 06/12] mmc: Remove msm_sdcc driver

2015-03-16 Thread Ulf Hansson
On 13 March 2015 at 19:09, Stephen Boyd wrote: > This driver is orphaned now that mach-msm has been removed. > Delete it. > > Cc: Ulf Hansson > Cc: Chris Ball > Cc: David Brown > Cc: Bryan Huntsman > Cc: Daniel Walker > Signed-off-by: Stephen Boyd Acked-by: Ulf Hansson > --- > > I'd appre

Re: [PATCH 3/3] ARM: dts: Define stdout-path property for Spring board

2015-03-16 Thread Andreas Färber
Hi, Am 16.03.2015 um 11:28 schrieb Javier Martinez Canillas: > The kernel can use as the default console a serial port if is defined "The kernel can use a serial port as the default console if it's defined ..." > as stdout device in the Device Tree. > > This allows a board to be booted without

Re: [PATCH 1/2] ASoC: qcom: Change qcom,adsp in LPASS CPU bindings

2015-03-16 Thread Mark Brown
On Fri, Mar 13, 2015 at 12:54:16AM -0700, Kenneth Westfield wrote: > From: Kenneth Westfield > > Change the representation of the audio DSP, in the > LPASS CPU bindings description, from a required > subnode to an optional phandle. Applied both, thanks. signature.asc Description: Digital signa

Re: [PATCH] mm: trigger panic on bad page or PTE states if panic_on_oops

2015-03-16 Thread Christian Borntraeger
Am 16.03.2015 um 12:00 schrieb Kirill A. Shutemov: > On Mon, Mar 16, 2015 at 09:37:01AM +0100, Christian Borntraeger wrote: >> while debugging a memory management problem it helped a lot to >> get a system dump as early as possible for bad page states. >> >> Lets assume that if panic_on_oops is set

[PATCH v3] checkkconfigsymbols.py: make it Git aware

2015-03-16 Thread Valentin Rothberg
The script now supports to check a specified commit or a specified range of commits (i.e., commit1..commit2). Developers and maintainers are encouraged to use this functionality before sending or merging patches to avoid potential bugs and to keep the code, documentation, etc. clean. This patch a

Re: [PATCH V8 4/5] ASoC: Allow for building QCOM drivers

2015-03-16 Thread Mark Brown
On Fri, Mar 13, 2015 at 01:01:07AM -0700, Kenneth Westfield wrote: > From: Kenneth Westfield > > Allow for the Qualcomm Technologies ASoC drivers > to build. Applied everything up to here, thanks. signature.asc Description: Digital signature

Re: [PATCH 12/12] crypto/sha-mb/sha1_mb.c : Syntax error

2015-03-16 Thread Paul Bolle
On Mon, 2015-03-16 at 21:50 +1100, Herbert Xu wrote: > On Fri, Mar 13, 2015 at 11:38:21PM +0200, Ameen Ali wrote: > > fixing a syntax-error . > > > > Signed-off-by : Ameen Ali > > Applied. The commit summary and the commit explanation are a bit misleading. This is not a syntax error: it actuall

Re: [PATCH 3/3] ARM: dts: Define stdout-path property for Spring board

2015-03-16 Thread Javier Martinez Canillas
Hello Andreas, >> index f02775487cd4..b9ec763a5602 100644 >> --- a/arch/arm/boot/dts/exynos5250-spring.dts >> +++ b/arch/arm/boot/dts/exynos5250-spring.dts >> @@ -25,6 +25,7 @@ >> >> chosen { >> bootargs = "console=tty1"; >> + stdout-path = "serial3:115200n8"; > > I

Re: [PATCH 4/4] kernel/fork: use pr_alert() for rss counter bugs

2015-03-16 Thread Konstantin Khlebnikov
On Sun, Mar 15, 2015 at 1:39 AM, Davidlohr Bueso wrote: > ... everyone else does. > > Signed-off-by: Davidlohr Bueso > Cc: Alexander Viro > Cc: Cyrill Gorcunov > Cc: Oleg Nesterov > CC: Konstantin Khlebnikov > --- > kernel/fork.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >

Re: [PATCH v7 1/3] dmaengine: Add support for APM X-Gene SoC DMA engine driver

2015-03-16 Thread Vinod Koul
On Mon, Mar 16, 2015 at 04:00:22PM +0530, Rameshwar Sahu wrote: > >> +static struct xgene_dma_desc_sw *xgene_dma_alloc_descriptor( > >> + struct xgene_dma_chan *chan) > >> +{ > >> + struct xgene_dma_desc_sw *desc; > >> + dma_addr_t phys; > >> + > >> + desc

Re: [PATCH v10 18/21] ARM64 / ACPI: Select ACPI_REDUCED_HARDWARE_ONLY if ACPI is enabled on ARM64

2015-03-16 Thread Hanjun Guo
On 2015年03月13日 19:04, Lorenzo Pieralisi wrote: On Fri, Mar 13, 2015 at 03:28:45AM +, Hanjun Guo wrote: [...] /* * acpi_boot_table_init() called from setup_arch(), always. *1. find RSDP and get its address, and then find XSDT *2. extract all tables and checksums them all

[RFC PATCH 0/5] Remove rw parameter from direct_IO()

2015-03-16 Thread Omar Sandoval
Hi, Al, here's some cleanup that you mentioned back in December that I got around to (https://lkml.org/lkml/2014/12/15/28). In summary, the rw parameter to a_ops->direct_IO() is redundant with .type in struct iov_iter. Additionally, rw is inconsistently checked for being a WRITE; some filesystems

[RFC PATCH 5/5] direct_IO: remove rw from a_ops->direct_IO()

2015-03-16 Thread Omar Sandoval
Now that no one is using rw, remove it completely. Signed-off-by: Omar Sandoval --- Documentation/filesystems/Locking | 2 +- Documentation/filesystems/vfs.txt | 2 +- drivers/staging/lustre/lustre/llite/rw26.c | 4 ++-- fs/9p/vfs_addr.c | 2 +- fs/aff

[RFC PATCH 1/5] new helper: iov_iter_rw()

2015-03-16 Thread Omar Sandoval
Get either READ or WRITE out of iter->type. Signed-off-by: Omar Sandoval --- include/linux/uio.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/linux/uio.h b/include/linux/uio.h index 7188029..87a47b3 100644 --- a/include/linux/uio.h +++ b/include/linux/uio.h @@ -10,6 +1

[RFC PATCH 2/5] Remove rw from {,__,do_}blockdev_direct_IO()

2015-03-16 Thread Omar Sandoval
Most filesystems call through to these at some point, so we'll start here. Signed-off-by: Omar Sandoval --- fs/affs/file.c | 2 +- fs/block_dev.c | 5 ++--- fs/btrfs/inode.c| 8 fs/direct-io.c | 39 ++- fs/ext2/inode.c | 2 +

[RFC PATCH 3/5] Remove rw from dax_{do_,}io()

2015-03-16 Thread Omar Sandoval
And use iov_iter_rw() instead. Signed-off-by: Omar Sandoval --- fs/dax.c | 27 +-- fs/ext2/inode.c| 4 ++-- fs/ext4/indirect.c | 4 ++-- fs/ext4/inode.c| 2 +- include/linux/fs.h | 4 ++-- 5 files changed, 20 insertions(+), 21 deletions(-) diff --gi

[RFC PATCH 4/5] direct_IO: use iov_iter_rw() instead of rw everywhere

2015-03-16 Thread Omar Sandoval
The rw parameter to direct_IO is redundant with iov_iter->type, and treated slightly differently just about everywhere it's used: some users do rw & WRITE, and others do rw == WRITE where they should be doing a bitwise check. Simplify this with the new iov_iter_rw() helper, which always returns eit

Re: [PATCH 16/32] metag: copy_thread(): rename 'arg' argument to 'kthread_arg'

2015-03-16 Thread James Hogan
On 13/03/15 18:14, Alex Dowad wrote: > The 'arg' argument to copy_thread() is only ever used when forking a new > kernel thread. Hence, rename it to 'kthread_arg' for clarity (and consistency > with do_fork() and other arch-specific implementations of copy_thread()). > > Signed-off-by: Alex Dowad

Re: [PATCH 0/9] Sync and VFS scalability improvements

2015-03-16 Thread Jan Kara
On Tue 10-03-15 15:45:15, Josef Bacik wrote: > These are patches that Dave Chinner wrote two years ago that are still very > much > needed today. I recently ran into a problem where I had millions of inodes > that > needed to be evicted at unmount time and it soft locked up the box and kept > a

[PATCH 11/15] hostfs: hostfs_open: Reset open flags upon each retry

2015-03-16 Thread Richard Weinberger
...otherwise we might end up with an incorrect mode mode. Signed-off-by: Richard Weinberger --- fs/hostfs/hostfs_kern.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c index 8bbceae..80ced3d 100644 --- a/fs/hostfs/hostfs_kern.c +++ b/fs/hos

[PATCH 02/15] hostfs: hostfs_file_open: Fix a fd leak in hostfs_file_open

2015-03-16 Thread Richard Weinberger
In case of a race between to callers of hostfs_file_open() it can happen that a file describtor is leaked. Signed-off-by: Richard Weinberger --- fs/hostfs/hostfs_kern.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c index 104d58d..112ba5a 10

[PATCH 15/15] hostfs: No need to box and later unbox the file mode

2015-03-16 Thread Richard Weinberger
There is really no point in having a function with 10 arguments. Reported-by: Daniel Walter Signed-off-by: Richard Weinberger --- fs/hostfs/hostfs.h | 3 +-- fs/hostfs/hostfs_kern.c | 5 + fs/hostfs/hostfs_user.c | 17 +++-- 3 files changed, 5 insertions(+), 20 deletions(

Re: [PATCH] regulator: tps65910: Add missing #include

2015-03-16 Thread Mark Brown
On Sun, Mar 15, 2015 at 02:03:50PM +0100, Geert Uytterhoeven wrote: > drivers/regulator/tps65910-regulator.c: In function > ‘tps65910_parse_dt_reg_data’: > drivers/regulator/tps65910-regulator.c:1018: error: implicit declaration of > function ‘of_get_child_by_name’ Applied, thanks. signature.a

[PATCH 13/15] hostfs: Set page flags in hostfs_readpage() correctly

2015-03-16 Thread Richard Weinberger
In case of an error set the page error flag and clear the up-to-date flag. If the read was successful clear the error flag unconditionally. Signed-off-by: Richard Weinberger --- fs/hostfs/hostfs_kern.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/fs/hostfs/hostf

RE: [v3 24/26] KVM: Update Posted-Interrupts Descriptor when vCPU is blocked

2015-03-16 Thread Wu, Feng
> -Original Message- > From: Marcelo Tosatti [mailto:mtosa...@redhat.com] > Sent: Thursday, March 12, 2015 9:15 AM > To: Wu, Feng > Cc: t...@linutronix.de; mi...@redhat.com; h...@zytor.com; x...@kernel.org; > g...@kernel.org; pbonz...@redhat.com; dw...@infradead.org; > j...@8bytes.org; al

[PATCH 14/15] hostfs: Use page_offset()

2015-03-16 Thread Richard Weinberger
The kernel offers a helper function for that, use it. Signed-off-by: Richard Weinberger --- fs/hostfs/hostfs_kern.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c index f154747..f82f98a5 100644 --- a/fs/hostfs/hostfs_ke

Re: drm_mm.c regression: Re: 4.0-rc3 on thinkpad x60: GUI locked up, numlock ok

2015-03-16 Thread Pavel Machek
On Mon 2015-03-16 09:12:54, Daniel Vetter wrote: > On Sat, Mar 14, 2015 at 08:21:04AM +0100, Pavel Machek wrote: > > On Thu 2015-03-12 15:23:20, Pavel Machek wrote: > > > Hi! > > > > > > It happened twice so far: in one case gui locked up, but music > > > continued playing, and I could still ssh i

Re: [PATCH 7/9] writeback: periodically trim the writeback list

2015-03-16 Thread Jan Kara
On Mon 16-03-15 11:16:08, Jan Kara wrote: > On Tue 10-03-15 15:45:22, Josef Bacik wrote: > > From: Dave Chinner > > > > Inodes are removed lazily from the bdi writeback list, so in the > > absence of sync(2) work inodes will build up on the bdi writback > > list even though they are no longer und

Re: kswapd hogging in lowmem_shrink

2015-03-16 Thread Rik van Riel
On 03/16/2015 03:45 AM, Vaibhav Shinde wrote: > > > On Fri, Mar 13, 2015 at 7:52 AM, Rik van Riel > wrote: >> >> On 03/13/2015 10:25 AM, Vaibhav Shinde wrote: >> > >> > On low memory situation, I see various shrinkers being invoked, but in >> > lowmem_shrink() case, kswap

[PATCH 01/15] hostfs: hostfs_file_open: Switch to data locking model

2015-03-16 Thread Richard Weinberger
Instead of serializing hostfs_file_open() we can use a per inode mutex to protect ->mode. Signed-off-by: Richard Weinberger --- fs/hostfs/hostfs_kern.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c index fd62ca

[PATCH 12/15] hostfs: Remove superfluous initializations in hostfs_open()

2015-03-16 Thread Richard Weinberger
Only initialize what we really need. Signed-off-by: Richard Weinberger --- fs/hostfs/hostfs_kern.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c index 80ced3d..cf80a30 100644 --- a/fs/hostfs/hostfs_kern.c +++ b/fs/hostfs

[PATCH 08/15] hostfs: Use __getname() in follow_link

2015-03-16 Thread Richard Weinberger
Be consistent with all other functions in hostfs and just use __getname(). Signed-off-by: Richard Weinberger --- fs/hostfs/hostfs_kern.c | 25 +++-- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c index 7260f16

[PATCH 09/15] hostfs: Report append flag in ->show_options()

2015-03-16 Thread Richard Weinberger
hostfs has an "append" mount option. Report it. Signed-off-by: Richard Weinberger --- fs/hostfs/hostfs_kern.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c index c60d886..06b3e3f 100644 --- a/fs/hostfs/hostfs_kern.c +++ b/fs/hostfs/hostf

[PATCH 10/15] hostfs: Remove superfluous test in hostfs_open()

2015-03-16 Thread Richard Weinberger
Signed-off-by: Richard Weinberger --- fs/hostfs/hostfs_kern.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c index 06b3e3f..8bbceae 100644 --- a/fs/hostfs/hostfs_kern.c +++ b/fs/hostfs/hostfs_kern.c @@ -318,9 +318,7 @@ retr

Re: [PATCH v10 10/21] ARM64 / ACPI: Get PSCI flags in FADT for PSCI init

2015-03-16 Thread Hanjun Guo
On 2015年03月13日 22:51, Lorenzo Pieralisi wrote: On Wed, Mar 11, 2015 at 12:39:36PM +, Hanjun Guo wrote: [...] +static void __init psci_0_2_set_functions(void) +{ + pr_info("Using standard PSCI v0.2 function IDs\n"); + psci_function_id[PSCI_FN_CPU_SUSPEND] = PSCI_0_2_FN64_CPU_SUS

[PATCH 07/15] hostfs: Remove open coded strcpy()

2015-03-16 Thread Richard Weinberger
Signed-off-by: Richard Weinberger --- fs/hostfs/hostfs_kern.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c index 3082a7e..7260f16 100644 --- a/fs/hostfs/hostfs_kern.c +++ b/fs/hostfs/hostfs_kern.c @@ -105,11 +105,10

[PATCH 03/15] hostfs: Allow fsync on directories

2015-03-16 Thread Richard Weinberger
Historically hostfs did not open directories on the host filesystem for performance and memory reasons. But it turned out that this optimization has a drawback. Calling fsync() on a hostfs directory returns immediately with -EINVAL as fsync is not implemented. While this is behavior is strictly spe

[PATCH 05/15] hostfs: Make hostfs_readpage more readable

2015-03-16 Thread Richard Weinberger
...to make life easier for future readers of that code. Signed-off-by: Richard Weinberger --- fs/hostfs/hostfs_kern.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c index 8163aac..67e556c 100644 --- a/fs/hostfs

Hostfs updates

2015-03-16 Thread Richard Weinberger
Host got a visit from the janitor. [PATCH 01/15] hostfs: hostfs_file_open: Switch to data locking model [PATCH 02/15] hostfs: hostfs_file_open: Fix a fd leak in [PATCH 03/15] hostfs: Allow fsync on directories [PATCH 04/15] hostfs: Handle bogus st.mode [PATCH 05/15] hostfs: Make hostfs_readpage mo

[PATCH 06/15] hostfs: Add a BUG_ON to detect behavior changes of dentry_path_raw()

2015-03-16 Thread Richard Weinberger
hostfs' __dentry_name() relies on the fact that dentry_path_raw() will place the path name at the end of the provided buffer. While this is okay, add a BUG_ON() to detect behavior changes as soon as possible. Signed-off-by: Richard Weinberger --- fs/hostfs/hostfs_kern.c | 7 +++ 1 file chang

[PATCH 04/15] hostfs: Handle bogus st.mode

2015-03-16 Thread Richard Weinberger
Make sure that we return EIO if one passes an invalid st.mode into hostfs. Signed-off-by: Richard Weinberger --- fs/hostfs/hostfs_kern.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c index 92b008f..8163aac 100644 --- a

Re: [PATCH v7 1/3] dmaengine: Add support for APM X-Gene SoC DMA engine driver

2015-03-16 Thread Rameshwar Sahu
Hi Vinod, On Mon, Mar 16, 2015 at 4:57 PM, Vinod Koul wrote: > On Mon, Mar 16, 2015 at 04:00:22PM +0530, Rameshwar Sahu wrote: > >> >> +static struct xgene_dma_desc_sw *xgene_dma_alloc_descriptor( >> >> + struct xgene_dma_chan *chan) >> >> +{ >> >> + struct xgene

Re: [PATCH] leds: Add arbitrary pattern trigger

2015-03-16 Thread Pavel Machek
Hi! > Additional testing and comments would be appreciated. git complains about newline at EOF. Nice ascii art ;-). Got this while playing with my hid-sony patches: [ 460.025901] snd_hda_intel :00:1b.0: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj. [ 826.1

Re: [uml-devel] [PATCH 07/15] hostfs: Remove open coded strcpy()

2015-03-16 Thread Geert Uytterhoeven
On Mon, Mar 16, 2015 at 12:41 PM, Richard Weinberger wrote: > --- a/fs/hostfs/hostfs_kern.c > +++ b/fs/hostfs/hostfs_kern.c > @@ -105,11 +105,10 @@ static char *__dentry_name(struct dentry *dentry, char > *name) This code looks fishy to me... First we have: len = strlen(root); strlcpy(

[tip:x86/asm] x86/asm/entry/64: Save R11 into pt_regs-> flags on SYSCALL64 fastpath

2015-03-16 Thread tip-bot for Denys Vlasenko
Commit-ID: 29722cd4ef666705b2eda1c3ba44435488e509eb Gitweb: http://git.kernel.org/tip/29722cd4ef666705b2eda1c3ba44435488e509eb Author: Denys Vlasenko AuthorDate: Mon, 9 Mar 2015 19:39:21 +0100 Committer: Ingo Molnar CommitDate: Tue, 10 Mar 2015 13:56:10 +0100 x86/asm/entry/64: Save R11

[tip:x86/asm] x86/asm/entry/64: Remove stub_iopl

2015-03-16 Thread tip-bot for Denys Vlasenko
Commit-ID: 616ab249f1e42f6135642183529f910fcedc2642 Gitweb: http://git.kernel.org/tip/616ab249f1e42f6135642183529f910fcedc2642 Author: Denys Vlasenko AuthorDate: Tue, 10 Mar 2015 11:45:06 +0100 Committer: Ingo Molnar CommitDate: Tue, 10 Mar 2015 13:56:10 +0100 x86/asm/entry/64: Remove

[tip:x86/asm] x86/asm/entry/64: Remove unused thread_struct:: usersp

2015-03-16 Thread tip-bot for Denys Vlasenko
Commit-ID: 245214a155c711764b3853189441c9f8aeb058b3 Gitweb: http://git.kernel.org/tip/245214a155c711764b3853189441c9f8aeb058b3 Author: Denys Vlasenko AuthorDate: Tue, 10 Mar 2015 11:45:07 +0100 Committer: Ingo Molnar CommitDate: Tue, 10 Mar 2015 13:56:11 +0100 x86/asm/entry/64: Remove

[tip:x86/asm] x86/asm/entry/64: Save user RSP in pt_regs-> sp on SYSCALL64 fastpath

2015-03-16 Thread tip-bot for Denys Vlasenko
Commit-ID: 263042e4630a85e856b4a8cd72f28dab33ef4741 Gitweb: http://git.kernel.org/tip/263042e4630a85e856b4a8cd72f28dab33ef4741 Author: Denys Vlasenko AuthorDate: Mon, 9 Mar 2015 19:39:23 +0100 Committer: Ingo Molnar CommitDate: Tue, 10 Mar 2015 13:56:10 +0100 x86/asm/entry/64: Save use

[tip:x86/urgent] x86/platform, acpi: Bypass legacy PIC and PIT in ACPI hardware reduced mode

2015-03-16 Thread tip-bot for Li, Aubrey
Commit-ID: 7486341a98f26857f383aec88ffa10950087c3a1 Gitweb: http://git.kernel.org/tip/7486341a98f26857f383aec88ffa10950087c3a1 Author: Li, Aubrey AuthorDate: Wed, 11 Mar 2015 16:09:00 +0800 Committer: Ingo Molnar CommitDate: Thu, 12 Mar 2015 12:07:13 +0100 x86/platform, acpi: Bypass le

[tip:x86/urgent] x86/apic/numachip: Fix sibling map with NumaChip

2015-03-16 Thread tip-bot for Daniel J Blueman
Commit-ID: c8a470cab030bae8f9e6e5cfff72b047b7c627a7 Gitweb: http://git.kernel.org/tip/c8a470cab030bae8f9e6e5cfff72b047b7c627a7 Author: Daniel J Blueman AuthorDate: Thu, 12 Mar 2015 16:55:13 +0100 Committer: Ingo Molnar CommitDate: Thu, 12 Mar 2015 16:58:59 +0100 x86/apic/numachip: Fix

[tip:x86/urgent] x86/fpu: Avoid math_state_restore() without used_math() in __restore_xstate_sig()

2015-03-16 Thread tip-bot for Oleg Nesterov
Commit-ID: a7c80ebcac3068b1c3cb27d538d29558c30010c8 Gitweb: http://git.kernel.org/tip/a7c80ebcac3068b1c3cb27d538d29558c30010c8 Author: Oleg Nesterov AuthorDate: Fri, 13 Mar 2015 09:53:09 +0100 Committer: Ingo Molnar CommitDate: Fri, 13 Mar 2015 12:44:28 +0100 x86/fpu: Avoid math_state_

[tip:x86/urgent] x86/fpu: Drop_fpu() should not assume that tsk equals current

2015-03-16 Thread tip-bot for Oleg Nesterov
Commit-ID: f4c3686386393c120710dd34df2a74183ab805fd Gitweb: http://git.kernel.org/tip/f4c3686386393c120710dd34df2a74183ab805fd Author: Oleg Nesterov AuthorDate: Fri, 13 Mar 2015 09:53:10 +0100 Committer: Ingo Molnar CommitDate: Fri, 13 Mar 2015 12:44:29 +0100 x86/fpu: Drop_fpu() should

[tip:perf/urgent] perf: Fix context leak in put_event()

2015-03-16 Thread tip-bot for Leon Yu
Commit-ID: d415a7f1c1a8406b22d95b943c66a5b73a37bc19 Gitweb: http://git.kernel.org/tip/d415a7f1c1a8406b22d95b943c66a5b73a37bc19 Author: Leon Yu AuthorDate: Thu, 26 Feb 2015 20:43:33 +0800 Committer: Ingo Molnar CommitDate: Fri, 13 Mar 2015 10:02:18 +0100 perf: Fix context leak in put_ev

[tip:x86/build] x86/kexec: Cleanup KEXEC_VERIFY_SIG Kconfig help text

2015-03-16 Thread tip-bot for Borislav Petkov
Commit-ID: d8eb8940417559808fdd0180a4d50f8f0281b822 Gitweb: http://git.kernel.org/tip/d8eb8940417559808fdd0180a4d50f8f0281b822 Author: Borislav Petkov AuthorDate: Fri, 13 Mar 2015 14:04:37 +0100 Committer: Ingo Molnar CommitDate: Fri, 13 Mar 2015 14:21:58 +0100 x86/kexec: Cleanup KEXEC

[tip:x86/asm] x86/asm/entry: Unify and fix initial thread_struct: :sp0 values

2015-03-16 Thread tip-bot for Andy Lutomirski
Commit-ID: 6ecb31635fd0d342b04b9a8e58f2e11382b99bee Gitweb: http://git.kernel.org/tip/6ecb31635fd0d342b04b9a8e58f2e11382b99bee Author: Andy Lutomirski AuthorDate: Tue, 10 Mar 2015 11:05:59 -0700 Committer: Ingo Molnar CommitDate: Mon, 16 Mar 2015 11:05:36 +0100 x86/asm/entry: Unify and

[tip:x86/asm] x86/signal/64: Fix SS handling for signals delivered to 64-bit programs

2015-03-16 Thread tip-bot for Andy Lutomirski
Commit-ID: 7a3d41d14d9bf9e1ceff241f22b2e03ab6336377 Gitweb: http://git.kernel.org/tip/7a3d41d14d9bf9e1ceff241f22b2e03ab6336377 Author: Andy Lutomirski AuthorDate: Thu, 12 Mar 2015 13:57:51 -0700 Committer: Ingo Molnar CommitDate: Mon, 16 Mar 2015 09:14:51 +0100 x86/signal/64: Fix SS ha

[tip:x86/asm] x86/asm/entry: Create and use a ' TOP_OF_KERNEL_STACK_PADDING' macro

2015-03-16 Thread tip-bot for Andy Lutomirski
Commit-ID: 3bfef48e27863ebbd47d68a3f4a081d2cb5286aa Gitweb: http://git.kernel.org/tip/3bfef48e27863ebbd47d68a3f4a081d2cb5286aa Author: Andy Lutomirski AuthorDate: Tue, 10 Mar 2015 11:05:58 -0700 Committer: Ingo Molnar CommitDate: Mon, 16 Mar 2015 11:05:30 +0100 x86/asm/entry: Create an

<    1   2   3   4   5   6   7   8   9   10   >