[PATCH 11/22] mtd: Fix dependencies for !HAS_IOMEM archs

2016-01-25 Thread Richard Weinberger
Not every arch has io memory. So, unbreak the build by fixing the dependencies. Signed-off-by: Richard Weinberger --- drivers/mtd/nand/Kconfig| 2 ++ drivers/mtd/spi-nor/Kconfig | 1 + 2 files changed, 3 insertions(+) diff --git a/drivers/mtd/nand/Kconfig

[PATCH 12/22] nvmem: Fix dependencies for !HAS_IOMEM archs

2016-01-25 Thread Richard Weinberger
Not every arch has io memory. So, unbreak the build by fixing the dependencies. Signed-off-by: Richard Weinberger --- drivers/nvmem/Kconfig | 4 1 file changed, 4 insertions(+) diff --git a/drivers/nvmem/Kconfig b/drivers/nvmem/Kconfig index bc4ea58..c675ee9 100644 ---

[PATCH 05/22] hw_random: Fix dependencies for !HAS_IOMEM archs

2016-01-25 Thread Richard Weinberger
Not every arch has io memory. So, unbreak the build by fixing the dependencies. Signed-off-by: Richard Weinberger --- drivers/char/hw_random/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig index

[PATCH 08/22] hwtracing: Fix dependencies for !HAS_IOMEM archs

2016-01-25 Thread Richard Weinberger
Not every arch has io memory. So, unbreak the build by fixing the dependencies. Signed-off-by: Richard Weinberger --- drivers/hwtracing/intel_th/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hwtracing/intel_th/Kconfig b/drivers/hwtracing/intel_th/Kconfig

[PATCH] Revert "um: Fix get_signal() usage"

2016-01-25 Thread Richard Weinberger
Commit db2f24dc240856fb1d78005307f1523b7b3c121b was plain wrong. I did not realize the we are allowed to loop here. In fact we have to loop and must not return to userspace before all SIGSEGVs have been delivered. Other archs do this directly in their entry code, UML does it here. Reported-by: Al

Re: [PATCH v3 3/3] MIPS: VDSO: Add implementations of gettimeofday() and clock_gettime()

2016-01-25 Thread Hauke Mehrtens
On 10/21/2015 10:57 AM, Markos Chandras wrote: > From: Alex Smith > > Add user-mode implementations of gettimeofday() and clock_gettime() to > the VDSO. This is currently usable with 2 clocksources: the CP0 count > register, which is accessible to user-mode via RDHWR on R2

Re: [PATCH] Revert "regmap-mmio: Use native endianness for read/write"

2016-01-25 Thread Mark Brown
On Mon, Jan 25, 2016 at 11:07:55PM +0100, Johannes Berg wrote: > This reverts commit 29bb45f25ff3051354ed330c0d0f10418a2b8c7c. Sorry, this just turned up now - must've got delayed somewhere along the line. signature.asc Description: PGP signature

Re: [PATCH] autofs: show pipe inode in mount options

2016-01-25 Thread Stephen Rothwell
Hi Ian, On Sat, 23 Jan 2016 08:30:17 +0800 Ian Kent wrote: > > I haven't had anything significant enough for autofs to warrant > maintaining a tree and sending push requests so I'll need to ask > Stephen what I need to do (perhaps you could offer some advise on that > now

Re: [PATCH] ALSA: bebob: Use a signed return type for get_formation_index

2016-01-25 Thread Takashi Sakamoto
On Jan 26 2016 06:30, Lucas Tanure wrote: > The return type "unsigned int" was used by the get_formation_index function > despite of the aspect that it will eventually return a negative error > code. > So, change to signed int and get index by reference in the parameters. > > Done with the

Re: [PATCH 0/2] sysctl: allow CLONE_NEWUSER to be disabled

2016-01-25 Thread Andy Lutomirski
On Mon, Jan 25, 2016 at 2:34 PM, Kees Cook wrote: > On Mon, Jan 25, 2016 at 11:33 AM, Eric W. Biederman > wrote: >> Kees Cook writes: >>> >>> Well, I don't know about less weird, but it would leave a unneeded >>> hole in the

Re: [kernel-hardening] [RFC][PATCH 3/3] mm/page_poisoning.c: Allow for zero poisoning

2016-01-25 Thread Kees Cook
On Mon, Jan 25, 2016 at 12:16 PM, Dave Hansen wrote: > Thanks for doing this! It all looks pretty straightforward. > > On 01/25/2016 08:55 AM, Laura Abbott wrote: >> By default, page poisoning uses a poison value (0xaa) on free. If this >> is changed to 0, the page is not

Re: [PATCH v3 00/10] usb: host: ehci-sched: cleanup

2016-01-25 Thread Geyslan G. Bem
2016-01-25 17:40 GMT-03:00 Alan Stern : > On Mon, 25 Jan 2016, Geyslan G. Bem wrote: > >> 2016-01-25 17:08 GMT-03:00 Alan Stern : >> > On Mon, 25 Jan 2016, Geyslan G. Bem wrote: >> > >> >> Ok Greg, there was three patchset versions for this

Re: [Xen-devel] [PATCH v1 04/12] xen/hvmlite: Bootstrap HVMlite guest

2016-01-25 Thread Luis R. Rodriguez
On Sat, Jan 23, 2016 at 02:49:36PM +, Andrew Cooper wrote: > On 23/01/2016 00:55, Luis R. Rodriguez wrote: > > On Fri, Jan 22, 2016 at 4:30 PM, Andrew Cooper > > wrote: > >> the DMLite boot > >> protocol is OS agnostic, and will be staying that way. > > What's the

[PATCH 19/22] thermal: Fix dependencies for !HAS_IOMEM archs

2016-01-25 Thread Richard Weinberger
Not every arch has io memory. So, unbreak the build by fixing the dependencies. Signed-off-by: Richard Weinberger --- drivers/thermal/Kconfig| 7 +++ drivers/thermal/ti-soc-thermal/Kconfig | 1 + 2 files changed, 8 insertions(+) diff --git

[PATCH 22/22] um: Export pm_power_off

2016-01-25 Thread Richard Weinberger
...modules are using this symbol. Export it like all other archs to. Signed-off-by: Richard Weinberger --- arch/um/kernel/reboot.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/um/kernel/reboot.c b/arch/um/kernel/reboot.c index 9bdf67a..b60a9f8 100644 ---

[PATCH 18/22] irqchip: Fix dependencies for !HAS_IOMEM archs

2016-01-25 Thread Richard Weinberger
Not every arch has io memory. So, unbreak the build by fixing the dependencies. Signed-off-by: Richard Weinberger --- drivers/irqchip/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index 715923d..fb50911 100644 ---

[PATCH 17/22] media: Fix dependencies for !HAS_IOMEM archs

2016-01-25 Thread Richard Weinberger
Not every arch has io memory. While the driver has correct dependencies the select statement will bypass the HAS_IOMEM dependency. So, unbreak the build by rendering it into a real dependency. Signed-off-by: Richard Weinberger --- drivers/media/Kconfig | 3 +--

Re: [PATCH] Revert "regmap-mmio: Use native endianness for read/write"

2016-01-25 Thread Arnd Bergmann
On Monday 25 January 2016 23:07:55 Johannes Berg wrote: > This reverts commit 29bb45f25ff3051354ed330c0d0f10418a2b8c7c. > > Clearly, using "native" endianness is a terrible idea when > devices are involved, since those devices are different hw > from the CPU, won't change, and the CPU might be

[PATCH 20/22] clocksource: Fix dependencies for !HAS_IOMEM archs

2016-01-25 Thread Richard Weinberger
Not every arch has io memory. So, unbreak the build by fixing the dependencies. [rw: Found these linker issues after resolving a pile of other build issues.] Signed-off-by: Richard Weinberger --- drivers/clocksource/Kconfig | 7 +++ 1 file changed, 7 insertions(+) diff

[PATCH 21/22] mtd: cs553x: Fix dependencies for !HAS_IOMEM archs

2016-01-25 Thread Richard Weinberger
Not every arch has io memory nor can this driver ever work on UML/i386. So, unbreak the build by fixing the dependencies. Signed-off-by: Richard Weinberger --- drivers/mtd/nand/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/nand/Kconfig

Re: [PATCH 14/22] pwm: Fix dependencies for !HAS_IOMEM archs

2016-01-25 Thread Richard Weinberger
Am 25.01.2016 um 23:24 schrieb Richard Weinberger: > Not every arch has io memory. > So, unbreak the build by fixing the dependencies. > > Signed-off-by: Richard Weinberger > --- > drivers/pwm/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/pwm/Kconfig

Re: N900 sleep mode (in 4.5-rc0, if that matters)

2016-01-25 Thread Tony Lindgren
* Pavel Machek [160125 14:24]: > Hi! > > First, thanks for the help! > > > > So far, the LEDs stubbornly stay on :-(. Machine is booted off > > > sd-card, and I'm connected to it over wifi. GSM is active, X is > > > running. > > > > If LEDs stay on, you're not entering deeper

Re: [RESEND][PATCH v2] block: partition: Add partition specific uevent callbacks for partition info

2016-01-25 Thread Kees Cook
On Fri, Dec 18, 2015 at 8:07 PM, John Stultz wrote: > On Thu, Dec 10, 2015 at 12:00 PM, John Stultz wrote: >> From: San Mehat >> >> This patch has been carried in the Android tree for quite some >> time and is one of the few

Re: [Xen-devel] [PATCH v1 04/12] xen/hvmlite: Bootstrap HVMlite guest

2016-01-25 Thread Boris Ostrovsky
On 01/25/2016 05:19 PM, Luis R. Rodriguez wrote: On Sat, Jan 23, 2016 at 02:49:36PM +, Andrew Cooper wrote: it causes inappropriate linkage between the toolstack and the version of Linux wishing to be booted. There are ways to do it in such a way that it does not create dependency issues

[RESEND][RFC][PATCH] vsock: Fix blocking ops call in prepare_to_wait

2016-01-25 Thread Laura Abbott
We receoved a bug report from someone using vmware: WARNING: CPU: 3 PID: 660 at kernel/sched/core.c:7389 __might_sleep+0x7d/0x90() do not call blocking ops when !TASK_RUNNING; state=1 set at [] prepare_to_wait+0x2d/0x90 Modules linked in: vmw_vsock_vmci_transport vsock snd_seq_midi

Re: [PATCH] proc: revert /proc//maps [stack:TID] annotation

2016-01-25 Thread Kirill A. Shutemov
On Mon, Jan 25, 2016 at 01:30:00PM -0800, Colin Cross wrote: > On Tue, Jan 19, 2016 at 3:30 PM, Kirill A. Shutemov > wrote: > > On Tue, Jan 19, 2016 at 02:14:30PM -0800, Andrew Morton wrote: > >> On Tue, 19 Jan 2016 13:02:39 -0500 Johannes Weiner > >>

[PATCH] acpi: fix platform_no_drv_owner.cocci warnings

2016-01-25 Thread kbuild test robot
drivers/acpi/evged.c:152:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: Sinan Kaya Signed-off-by: Fengguang Wu

Re: [PATCH] acpi: implement Generic Event Device

2016-01-25 Thread kbuild test robot
Hi Sinan, [auto build test WARNING on pm/linux-next] [also build test WARNING on v4.5-rc1 next-20160125] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Sinan-Kaya/acpi-implement-Generic-Event

[PATCH 1/4] kernel-doc: add support for asciidoc output

2016-01-25 Thread Jonathan Corbet
From: Jani Nikula Add new -asciidoc option to produce asciidoc output from kernel-doc. The output is formatted internally, with no dependencies on external tools. Any asciidoc formatting present in kernel-doc will naturally be present in the resulting asciidoc as well.

[PATCH 2/4] docproc: handle asciidoc templates

2016-01-25 Thread Jonathan Corbet
There's really nothing different that needs to be done except for invoking kernel-doc with the -asciidoc argument. Look at the input file name to recognize asciidoc templates, so no special command-line flags are needed. Signed-off-by: Jonathan Corbet --- scripts/docproc.c | 25

Re: [PATCH v3] watchdog: Add watchdog timer support for the WinSystems EBC-C384

2016-01-25 Thread William Breathitt Gray
On 01/25/2016 03:42 PM, Guenter Roeck wrote: > On 01/25/2016 11:28 AM, One Thousand Gnomes wrote: >> If ask for 299 seconds surely I should get 300 not 240 ? >> (Whether to round off or round up is an interesting question for the >> middle range - does it go off early or late - I'd have said late

Re: [PATCH] drm/exynos: fix building without CONFIG_PM_SLEEP

2016-01-25 Thread Krzysztof Kozlowski
2015-11-18 0:08 GMT+09:00 Arnd Bergmann : > The runtime PM operations use the suspend/resume functions > even when CONFIG_PM_SLEEP is not set, but this now fails > for the exynos DRM driver: > > exynos_mixer.c:1289:61: error: 'exynos_mixer_resume' undeclared here (not in > a

[PATCH 4/6] f2fs: avoid multiple node page writes due to inline_data

2016-01-25 Thread Jaegeuk Kim
The sceanrio is: 1. create fully node blocks 2. flush node blocks 3. write inline_data for all the node blocks again 4. flush node blocks redundantly So, this patch tries to flush inline_data when flushing node blocks. Signed-off-by: Jaegeuk Kim --- fs/f2fs/data.c | 1 +

[PATCH 5/6] f2fs: don't need to sync node page at every time

2016-01-25 Thread Jaegeuk Kim
In write_end, we don't need to sync inode page at every time. Instead, we can expect f2fs_write_inode will update later. Signed-off-by: Jaegeuk Kim --- fs/f2fs/data.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index 260c0eb..a6a6f08

[PATCH 6/6] f2fs: avoid needless sync_inode_page when reading inline_data

2016-01-25 Thread Jaegeuk Kim
In write_begin, if there is an inline_data, f2fs loads it into 0'th data page. Since it's the read path, we don't need to sync its inode page. Signed-off-by: Jaegeuk Kim --- fs/f2fs/data.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c

[PATCH 13/22] net: Fix dependencies for !HAS_IOMEM archs

2016-01-25 Thread Richard Weinberger
Not every arch has io memory. So, unbreak the build by fixing the dependencies. Signed-off-by: Richard Weinberger --- drivers/net/ethernet/ezchip/Kconfig | 1 + drivers/net/phy/Kconfig | 1 + 2 files changed, 2 insertions(+) diff --git

[PATCH 15/22] watchdog: Fix dependencies for !HAS_IOMEM archs

2016-01-25 Thread Richard Weinberger
Not every arch has io memory. So, unbreak the build by fixing the dependencies. Signed-off-by: Richard Weinberger --- drivers/watchdog/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index 4f0e7be..0bd559a 100644

[PATCH 16/22] iio: imu: Fix dependencies for !HAS_IOMEM archs

2016-01-25 Thread Richard Weinberger
Not every arch has io memory. While the driver has correct dependencies the select statement will bypass the HAS_IOMEM dependency. So, unbreak the build by rendering it into a real dependency. Signed-off-by: Richard Weinberger --- drivers/iio/imu/inv_mpu6050/Kconfig | 2 +- 1

[PATCH 14/22] pwm: Fix dependencies for !HAS_IOMEM archs

2016-01-25 Thread Richard Weinberger
Not every arch has io memory. So, unbreak the build by fixing the dependencies. Signed-off-by: Richard Weinberger --- drivers/pwm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig index 8cf0dae..e83aa94 100644 ---

Re: [PATCH] Revert "regmap-mmio: Use native endianness for read/write"

2016-01-25 Thread Johannes Berg
On Mon, 2016-01-25 at 23:24 +0100, Arnd Bergmann wrote: > On Monday 25 January 2016 23:07:55 Johannes Berg wrote: > > This reverts commit 29bb45f25ff3051354ed330c0d0f10418a2b8c7c. > > > > Clearly, using "native" endianness is a terrible idea when > > devices are involved, since those devices are

Re: [PATCH 0/2] sysctl: allow CLONE_NEWUSER to be disabled

2016-01-25 Thread Kees Cook
On Mon, Jan 25, 2016 at 11:33 AM, Eric W. Biederman wrote: > Kees Cook writes: >> >> Well, I don't know about less weird, but it would leave a unneeded >> hole in the permission checks. > > To be clear the current patch has my: > > Nacked-by: "Eric

Re: [PATCH] numa: fix /proc//numa_maps for hugetlbfs on s390

2016-01-25 Thread Andrew Morton
On Mon, 25 Jan 2016 17:30:42 +0100 Michael Holzheu wrote: > When working with hugetlbfs ptes (which are actually pmds) is not > valid to directly use pte functions like pte_present() because the > hardware bit layout of pmds and ptes can be different. This is the >

Re: [PATCH 0/8] Goldfish: partial resync with Google tree

2016-01-25 Thread Kees Cook
On Wed, Jan 6, 2016 at 6:03 AM, Alan wrote: > The Goldfish virtual platform has been aligning itself a bit more with > convenional interfaces. It now uses things like virtio, it uses ACPI in > preference to a magic goldfish bus interface and slowly gets closer to >

Re: [PATCH] locking/mutex: Allow next waiter lockless wakeup

2016-01-25 Thread Waiman Long
On 01/24/2016 09:23 PM, Davidlohr Bueso wrote: Make use of wake_q and enable the wakeup to occur after releasing the wait_lock. This is similar to what we do with rtmutex top waiter, slightly shortening the critical region and allow other waiters to acquire the wait_lock sooner. In low

Re: [PATCH] Revert "regmap-mmio: Use native endianness for read/write"

2016-01-25 Thread Arnd Bergmann
On Monday 25 January 2016 22:47:10 Mark Brown wrote: > On Mon, Jan 25, 2016 at 11:24:44PM +0100, Arnd Bergmann wrote: > > On Monday 25 January 2016 23:07:55 Johannes Berg wrote: > > > Consequently, this commit broke my HummingBoard i.MX6 in big > > > endian mode since it would now try to talk to

Re: [BUG REPORT] Soft Lockup in smp_call_function_single+0xD8

2016-01-25 Thread Jeff Merkey
On 1/24/16, Jeff Merkey wrote: > On 1/24/16, Jeff Merkey wrote: >> If I single step with either kgdb, kgdb, or mdb kernel debuggers over >> a sysret instruction anywhere in the OS, the system hard hangs in >> smp_call_function_single after the debugger

Re: [PATCH 3/3] tty: hvc_xen: hide xen_console_remove when unused

2016-01-25 Thread Boris Ostrovsky
On 01/25/2016 04:54 PM, Arnd Bergmann wrote: xencons_disconnect_backend() is only called from xen_console_remove(), and also from xencons_probe()/xencons_resume(). But those two are also under the same ifdef. -boris which is conditionally compiled, so we get a harmless warning when

Re: [PATCH 07/22] fpga: Fix dependencies for !HAS_IOMEM archs

2016-01-25 Thread Moritz Fischer
On Mon, Jan 25, 2016 at 11:24 PM, Richard Weinberger wrote: > Not every arch has io memory. > So, unbreak the build by fixing the dependencies. > > Signed-off-by: Richard Weinberger Acked-by: Moritz Fischer

Re: module: Fix regression introduced by commit: b0d7290e85a5 "module: clean up RO/NX handling."

2016-01-25 Thread Brian Norris
On Mon, Jan 25, 2016 at 12:11:51PM +0100, Lothar Wassmann wrote: > commit b0d7290e85a5 ("module: clean up RO/NX handling.") > threw away the size checks which were in place before calling the > set_memory_*() functions. > This produces a kernel bug upon module load with >

Re: [PATCH] kernel-doc: add support for asciidoc output

2016-01-25 Thread Jonathan Corbet
On Mon, 18 Jan 2016 10:41:17 +0200 Jani Nikula wrote: > Add new -asciidoc option to produce asciidoc output from kernel-doc. The > output is formatted internally, with no dependencies on external > tools. Any asciidoc formatting present in kernel-doc will naturally be >

[PATCH 1/6] f2fs: speed up shrinking extent_node cache

2016-01-25 Thread Jaegeuk Kim
This patch speeds up extent_node shrinker by introducing linked list. Signed-off-by: Jaegeuk Kim --- fs/f2fs/extent_cache.c | 74 ++ fs/f2fs/f2fs.h | 2 ++ 2 files changed, 35 insertions(+), 41 deletions(-) diff --git

Re: linux-4.4 bisected: kwin5 stuck on kde5 loading screen with radeon

2016-01-25 Thread Daniel Vetter
On Mon, Jan 25, 2016 at 10:42 PM, Mario Kleiner wrote: >> >>> Now the patch i want to try next to fix the drm_vblank_pre/post_modeset >>> regression in Linux 4.4/4.5 is to add a ... >>> >>> if ((diff > 1) && vblank->inmodeset) diff = 1; >>> >>> ... to the bottom of

Re: [RFC PATCH] codingstyle: improve elisp for a better experience

2016-01-25 Thread Geyslan G. Bem
2016-01-25 17:01 GMT-03:00 Jonathan Corbet : > On Thu, 21 Jan 2016 22:18:30 -0300 > "Geyslan G. Bem" wrote: > >> This patch does use of more emacs functionalities which deliver to the >> user indentation, commenting and white space highlighting. > > So perhaps

Re: N900 sleep mode (in 4.5-rc0, if that matters)

2016-01-25 Thread Pavel Machek
Hi! First, thanks for the help! > > So far, the LEDs stubbornly stay on :-(. Machine is booted off > > sd-card, and I'm connected to it over wifi. GSM is active, X is > > running. > > If LEDs stay on, you're not entering deeper idle states. Yes... Strange thing is, I'm not entering deeper idle

[PATCH 09/22] leds: Fix dependencies for !HAS_IOMEM archs

2016-01-25 Thread Richard Weinberger
Not every arch has io memory. So, unbreak the build by fixing the dependencies. Signed-off-by: Richard Weinberger --- drivers/leds/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig index 7f940c2..e76a45c 100644 ---

[PATCH 06/22] iio: adc: Fix dependencies for !HAS_IOMEM archs

2016-01-25 Thread Richard Weinberger
Not every arch has io memory. So, unbreak the build by fixing the dependencies. Signed-off-by: Richard Weinberger --- drivers/iio/adc/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig index 605ff42..283ded7 100644

[PATCH 10/22] mailbox: Fix dependencies for !HAS_IOMEM archs

2016-01-25 Thread Richard Weinberger
Not every arch has io memory. So, unbreak the build by fixing the dependencies. Signed-off-by: Richard Weinberger --- drivers/mailbox/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mailbox/Kconfig b/drivers/mailbox/Kconfig index 546d05f..b2bbe86 100644 ---

[PATCH 03/22] scsi: Fix dependencies for !HAS_IOMEM and !HAS_DMA archs

2016-01-25 Thread Richard Weinberger
Not every arch has io or DMA memory. So, unbreak the build by fixing the dependencies. Signed-off-by: Richard Weinberger --- drivers/scsi/hisi_sas/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/scsi/hisi_sas/Kconfig b/drivers/scsi/hisi_sas/Kconfig index

[PATCH 04/22] staging: iio: Fix dependencies for !HAS_IOMEM archs

2016-01-25 Thread Richard Weinberger
Not every arch has io memory. So, unbreak the build by fixing the dependencies. Signed-off-by: Richard Weinberger --- drivers/staging/iio/adc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/iio/adc/Kconfig b/drivers/staging/iio/adc/Kconfig index

[PATCH 01/22] power: reset: Fix dependencies for !HAS_IOMEM archs

2016-01-25 Thread Richard Weinberger
Not every arch has io memory. So, unbreak the build by fixing the dependencies. Signed-off-by: Richard Weinberger --- drivers/power/reset/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig index

[no subject]

2016-01-25 Thread Richard Weinberger
Last few months I was very busy and now I have the mess, UML allmod/yesconfig does not build at all. This large and boring patch series fixes a lot of drivers which cannot work/build on UML. Fixes are grouped by subsystem such that maintainers can review/pickup them. Thanks, //richard [PATCH

[PATCH 07/22] fpga: Fix dependencies for !HAS_IOMEM archs

2016-01-25 Thread Richard Weinberger
Not every arch has io memory. So, unbreak the build by fixing the dependencies. Signed-off-by: Richard Weinberger --- drivers/fpga/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/fpga/Kconfig b/drivers/fpga/Kconfig index c9b9fdf..36c54af 100644 ---

Re: [PATCH 09/22] leds: Fix dependencies for !HAS_IOMEM archs

2016-01-25 Thread Richard Weinberger
Am 25.01.2016 um 23:24 schrieb Richard Weinberger: > Not every arch has io memory. > So, unbreak the build by fixing the dependencies. > > Signed-off-by: Richard Weinberger > --- > drivers/leds/Kconfig | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git

Re: [PATCH] Revert "regmap-mmio: Use native endianness for read/write"

2016-01-25 Thread Mark Brown
On Mon, Jan 25, 2016 at 11:24:44PM +0100, Arnd Bergmann wrote: > On Monday 25 January 2016 23:07:55 Johannes Berg wrote: > > This reverts commit 29bb45f25ff3051354ed330c0d0f10418a2b8c7c. > > > > Clearly, using "native" endianness is a terrible idea when > > devices are involved, since those

[PATCH 1/1] [V2] irqchip: gicv3-its: Introduce indirect device-ITT table support

2016-01-25 Thread Shanker Donthineni
Current ITS driver implementation limits the device ID to a few number of bits depending on memory that has been allocated to a flat DEV-ITT table. Some of the devices are not usable when device ID is spread out across a large range of 32 bit values. This patch covers more DEVID bits by

[PATCH 3/4] Docs: Makefile tweaks for asciidoc templates

2016-01-25 Thread Jonathan Corbet
This is a hatchet job, but it's something to start with. Generalize some of the string manipulation to not assume that templates have a ".tmpl" suffix, and add rules to translate asciidoc templates to HTML. Nothing for any other output formats at this point. Signed-off-by: Jonathan Corbet

[PATCH 4/4] Docs: add a sample asciidoc template

2016-01-25 Thread Jonathan Corbet
This is just a copy of tracepoints.tmpl (because it was short!) converted into asciidoc. Signed-off-by: Jonathan Corbet --- Documentation/DocBook/Makefile | 2 +- Documentation/DocBook/tpoint.adt | 64 2 files changed, 65

[RFC] A first shot at asciidoc-based formatted docs

2016-01-25 Thread Jonathan Corbet
So here is a proof-of-concept series showing how a fully asciidoc-based toolchain might work. Lots of hackery here, this isn't meant to be applied to anything at this point, but it's a good start. What this series has is: - Jani Nikula's patch adding asciidoc output to kernel-doc. Thanks for

Re: [PATCH] brcmfmac: sdio: Increase the default timeouts a bit

2016-01-25 Thread Julian Calaby
Hi Arend, On Tue, Jan 26, 2016 at 2:39 AM, Arend van Spriel wrote: > On 25-01-16 12:06, Julian Calaby wrote: >> Hi Sjoerd, >> >> On Mon, Jan 25, 2016 at 9:47 PM, Sjoerd Simons >> wrote: >>> On a Radxa Rock2 board with a Ampak AP6335 (Broadcom

Re: [PATCH v2 0/3] x86/mm: INVPCID support

2016-01-25 Thread Ingo Molnar
* Andy Lutomirski wrote: > Ingo, before applying this, please apply these two KASAN fixes: > > http://lkml.kernel.org/g/1452516679-32040-2-git-send-email-aryabi...@virtuozzo.com > http://lkml.kernel.org/g/1452516679-32040-3-git-send-email-aryabi...@virtuozzo.com > > Without

Re: [PATCH v4 07/22] kthread: Detect when a kthread work is used by more workers

2016-01-25 Thread Tejun Heo
On Mon, Jan 25, 2016 at 04:44:56PM +0100, Petr Mladek wrote: > +static void insert_kthread_work_sanity_check(struct kthread_worker *worker, > +struct kthread_work *work) > +{ > + lockdep_assert_held(>lock); > + WARN_ON_ONCE(!irqs_disabled());

[PATCH 2/2] reset: add a SYSCON based reset driver

2016-01-25 Thread Andrew F. Davis
Add a reset-controller driver for performing reset management of various devices present on the SoC, with the reset registers shared between devices in a common register memory space. This driver uses the syscon/regmap frameworks to actually implement the various reset functionalities needed by

[PATCH 0/2] Add support for SYSCON reset

2016-01-25 Thread Andrew F. Davis
Some SoCs contain reset controls for modules that are memory-mapped to areas shared with other module configuration settings. This requires synchronization across all drivers accessing this memory area. This series adds a generic SYSCON reset driver to allow resets toggled by bits in memory-mapped

[PATCH v3] watchdog: Add watchdog timer support for the WinSystems EBC-C384

2016-01-25 Thread William Breathitt Gray
The WinSystems EBC-C384 has an onboard watchdog timer. The timeout range supported by the watchdog timer is 1 second to 255 minutes. Timeouts under 256 seconds have a 1 second resolution, while the rest have a 1 minute resolution. This driver adds watchdog timer support for this onboard watchdog

Re: [PATCH] signals: work around random wakeups in sigsuspend()

2016-01-25 Thread Oleg Nesterov
On 01/25, Sasha Levin wrote: > > A random wakeup can get us out of sigsuspend() without TIF_SIGPENDING > being set. and TIF_RESTORE_SIGMASK is just wrong in this case. I'd say this is the bugfix, not work-around ;) > Avoid that by making sure we were signaled, like sys_pause() does. > >

Re: [PATCH v3 00/17] Enhance iomem search interfaces and support EINJ to NVDIMM

2016-01-25 Thread Borislav Petkov
On Tue, Jan 05, 2016 at 11:54:28AM -0700, Toshi Kani wrote: > This patch-set enhances the iomem table and its search interfacs, and > then changes EINJ to support NVDIMM. > > - Patches 1-2 add a new System RAM type, IORESOURCE_SYSTEM_RAM, and >make the iomem search interfaces work with

Re: [f2fs-dev] [PATCH 1/2] f2fs: avoid multiple node page writes due to inline_data

2016-01-25 Thread Jaegeuk Kim
Hi Chao, On Mon, Jan 25, 2016 at 05:42:40PM +0800, Chao Yu wrote: > Hi Jaegeuk, > > > -Original Message- > > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > > Sent: Sunday, January 24, 2016 4:16 AM > > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > >

Re: [PATCH/RFC] mm/debug_pagealloc: enable it by default

2016-01-25 Thread Dave Jones
On Mon, Jan 25, 2016 at 09:21:53AM +0100, Christian Borntraeger wrote: > >> Let's go back to the original default and reverse the command > >> line parameter to allow disabling the feature. > > > > Default disable is requested by Andrew and I agreed that. > > > >

Re: [PATCH] signals: work around random wakeups in sigsuspend()

2016-01-25 Thread Peter Zijlstra
On Mon, Jan 25, 2016 at 08:09:15PM +0100, Oleg Nesterov wrote: > On 01/25, Sasha Levin wrote: > > > > A random wakeup can get us out of sigsuspend() without TIF_SIGPENDING > > being set. > > and TIF_RESTORE_SIGMASK is just wrong in this case. I'd say this is the > bugfix, not work-around ;)

Re: [PATCH v2 1/2] dt-bindings: GPIO: Add generic serializer binding

2016-01-25 Thread Rob Herring
On Mon, Jan 25, 2016 at 10:37:30AM -0600, Andrew F. Davis wrote: > Add binding for generic parallel-in/serial-out shift register devices > used as GPIO. > > Signed-off-by: Andrew F. Davis > --- > .../devicetree/bindings/gpio/gpio-pisosr.txt | 34 > ++ > 1

[PATCH 1/8] x86/traps.c: Refactor preemption and interrupt flag handling

2016-01-25 Thread Borislav Petkov
From: Alexander Kuleshov Make the preemption and interrupt flag handling more readable by removing preempt_conditional_sti() and preempt_conditional_cli() helpers and using preempt_disable() and preempt_enable_no_resched() instead. Rename contitional_sti() and

[PATCH 4/8] x86/mce/AMD: Do not perform shared bank check for future processors

2016-01-25 Thread Borislav Petkov
From: Aravind Gopalakrishnan Fam17h and above should not require a check to see if a bank is shared or not. For shared banks, there will always be only one core that has visibility over the MSRs and only that particular core will be allowed to write to the MSRs.

[PATCH 7/8] x86/mce/AMD: Carve out threshold block preparation

2016-01-25 Thread Borislav Petkov
From: Borislav Petkov mce_amd_feature_init() was getting pretty fat, carve out the threshold_block setup into a separate function in order to simplify flow and make it more understandable. No functionality change. Signed-off-by: Borislav Petkov Cc: Aravind

Re: 'perf stat --repeat N' oddity/regression

2016-01-25 Thread Arnaldo Carvalho de Melo
Em Mon, Jan 25, 2016 at 07:35:11PM +0100, Ingo Molnar escreveu: > > So it appears it broke somewhere between v4.0 and v4.1, as the v4.0 install > displays: > > 16,244,802,268 instructions ( +- 23.01% ) > >2.108676769 seconds time elapsed

[PATCH 2/8] x86/cpufeature: Use enum cpuid_leafs instead of magic numbers

2016-01-25 Thread Borislav Petkov
From: Huaitong Han Most of magic numbers of x86_capability have been converted to enum cpuid_leafs, and this patch does update the remaining part. Signed-off-by: Huaitong Han Cc: Alexander Kuleshov Cc: Andrew Morton

[PATCH 0/8] tip-queue 2016-01-25

2016-01-25 Thread Borislav Petkov
From: Borislav Petkov Hi, here's the first pile. It contains mainly the RAS pile for 4.6 and a couple of small cleanups. Please apply, thanks. Alexander Kuleshov (1): x86/traps.c: Refactor preemption and interrupt flag handling Aravind Gopalakrishnan (5): x86/mce: Fix

[PATCH 5/8] x86/mce/AMD: Reduce number of blocks scanned per bank

2016-01-25 Thread Borislav Petkov
From: Aravind Gopalakrishnan >From Fam17h onwards, the number of extended MCx_MISC register blocks is reduced to 4. It is an architectural change from what we had on earlier processors. Although theoritically the total number of extended MCx_MISC registers was 8

Re: 'perf stat --repeat N' oddity/regression

2016-01-25 Thread Arnaldo Carvalho de Melo
Em Mon, Jan 25, 2016 at 04:43:33PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Mon, Jan 25, 2016 at 07:35:11PM +0100, Ingo Molnar escreveu: > > > > So it appears it broke somewhere between v4.0 and v4.1, as the v4.0 install > > displays: > > > > 16,244,802,268 instructions

[PATCH] ASoC: wm2000: Use a signed return type for regmap_read

2016-01-25 Thread Lucas Tanure
The return type "unsigned int" was used by the regmap_read() function despite of the aspect that it will eventually return a negative error code. So, change to signed int and get reg by reference in the parameters Signed-off-by: Lucas Tanure --- sound/soc/codecs/wm2000.c | 25

Re: [PATCH RESEND v2 00/19] Support fuse mounts in user namespaces

2016-01-25 Thread Seth Forshee
On Mon, Jan 04, 2016 at 12:03:39PM -0600, Seth Forshee wrote: > These patches implement support for mounting filesystems in user > namespaces using fuse. They are based on the patches in the for-testing > branch of > git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git, > but

Re: [RFC PATCH] codingstyle: improve elisp for a better experience

2016-01-25 Thread Jonathan Corbet
On Thu, 21 Jan 2016 22:18:30 -0300 "Geyslan G. Bem" wrote: > This patch does use of more emacs functionalities which deliver to the > user indentation, commenting and white space highlighting. So perhaps it's just me, but that's an awful lot of elisp code for readers to wade

sound: use-after-free in _snd_timer_stop

2016-01-25 Thread Dmitry Vyukov
Hello, The following program causes use-after-free in _snd_timer_stop (if run in a parallel loop): // autogenerated by syzkaller (http://github.com/google/syzkaller) #include #include #include #include #include #include #include #include #include long r[53]; void* thr(void* arg) {

[PATCH] coresight: removing bind/unbind options from sysfs

2016-01-25 Thread Mathieu Poirier
The coresight drivers have absolutely no control over bind and unbind operations triggered from sysfs. The operations simply can't be cancelled or denied event when one or several tracing sessions are under way. Since the memory associated to individual device is invariably freed, the end result

Re: [PATCH v4 4/4] iio: health: Add driver for the TI AFE4403 heart monitor

2016-01-25 Thread Peter Meerwald-Stadler
> Add driver for the TI AFE4403 heart rate monitor and pulse oximeter. > This device detects reflected LED light fluctuations and presents an ADC > value to the user space for further signal processing. some comments below > Data sheet located here: >

Re: [PATCH v3] watchdog: Add watchdog timer support for the WinSystems EBC-C384

2016-01-25 Thread Guenter Roeck
On 01/25/2016 03:36 PM, William Breathitt Gray wrote: On 01/25/2016 03:42 PM, Guenter Roeck wrote: On 01/25/2016 11:28 AM, One Thousand Gnomes wrote: If ask for 299 seconds surely I should get 300 not 240 ? (Whether to round off or round up is an interesting question for the middle range -

[PATCH] video: fbdev: mxsfb: fix pixelclock polarity

2016-01-25 Thread Stefan Agner
The PIXDATA flags of the display_flags enum are controller centric, e.g. NEGEDGE means the controller shall drive the data signals on pixelclocks negative edge. However, the drivers flag is display centric: Sample the data on negative (falling) edge. Therefore, change the if statement to check

Re: [kernel-hardening] [RFC][PATCH 3/3] mm/page_poisoning.c: Allow for zero poisoning

2016-01-25 Thread Laura Abbott
On 01/25/2016 02:05 PM, Kees Cook wrote: On Mon, Jan 25, 2016 at 12:16 PM, Dave Hansen wrote: Thanks for doing this! It all looks pretty straightforward. On 01/25/2016 08:55 AM, Laura Abbott wrote: By default, page poisoning uses a poison value (0xaa) on free. If this

Re: [PATCH v7 04/10] mfd: axp20x: Add missing copyright notice

2016-01-25 Thread Chen-Yu Tsai
On Mon, Jan 25, 2016 at 10:39 PM, Lee Jones wrote: > On Wed, 13 Jan 2016, Chen-Yu Tsai wrote: > >> When the driver was merged, the original author did not include a proper >> copyright notice. This patch adds the notice, backdated to when the >> driver was merged. > > This

Re: [PATCH] Revert "Staging: panel: usleep_range is preferred over udelay"

2016-01-25 Thread Dan Carpenter
On Tue, Jan 26, 2016 at 08:32:48AM +0800, Huang, Ying wrote: > Dan Carpenter writes: > > > On Mon, Jan 25, 2016 at 03:13:21PM +0530, Sudip Mukherjee wrote: > >> Apart from the mail which Ying Huang sent to me last week for another error > >> (which actually turned out

[RESEND][PATCH 2/2] devicetree: Add DTS file to support the Nexus7 2013 (flo) device.

2016-01-25 Thread John Stultz
This patch adds a dts file to support the Nexus7 2013 device. Its based off of the qcom-apq8064-ifc6410.dts which is similar hardware. Also includes some comments and context folded in from Vinay Simha BN Cc: Rob Herring Cc: Arnd Bergmann

<    4   5   6   7   8   9   10   11   12   13   >