[PATCH v6 14/20] arm64: signal: wrap struct ucontext, fp and lr with struct sigframe

2015-12-15 Thread Yury Norov
It helps to move common code for lp64 and ilp32 to separated header. Signed-off-by: Yury Norov --- arch/arm64/kernel/signal.c | 35 --- 1 file changed, 20 insertions(+), 15 deletions(-) diff --git a/arch/arm64/kernel/signal.c b/arch/arm64/kernel/signal.c index 65

[PATCH v6 13/20] arm64: ilp32: share aarch32 syscall wrappers to ilp32

2015-12-15 Thread Yury Norov
From: Jan Dakinevich statfs64, fstat64 and mmap_pgoff has wrappers that needed both by aarch32 and ilp32 to workaround some issues. Here we create common file to share aarch32 workarounds to with ilp32 code. Reviewed-by: David Daney Signed-off-by: Yury Norov Signed-off-by: Jan Dakinevich ---

[PATCH v6 15/20] arm64: signal: move ilp32 and lp64 common code to separated file

2015-12-15 Thread Yury Norov
After that, it will be possible to reuse it in ILP32. Signed-off-by: Yury Norov --- arch/arm64/include/asm/signal_common.h | 39 arch/arm64/kernel/Makefile | 2 +- arch/arm64/kernel/signal.c | 154 + arch/arm64/kernel/signal_common.

[PATCH v6 17/20] arm64: ilp32: introduce ilp32-specific handlers for sigframe

2015-12-15 Thread Yury Norov
ILP32 uses AARCH32 compat structures and syscall handlers for signals. But ILP32 struct rt_sigframe differs from both LP64 and AARCH32. So some specific mechanism is needed to take care of it. Signed-off-by: Yury Norov --- arch/arm64/include/asm/signal_ilp32.h | 38 ++ arch/arm64/kernel

[PATCH v6 18/20] arm64:ilp32: add vdso-ilp32 and use for signal return

2015-12-15 Thread Yury Norov
From: Philipp Tomsich ILP32 VDSO exports next symbols: __kernel_rt_sigreturn; __kernel_gettimeofday; __kernel_clock_gettime; __kernel_clock_getres; What shared object to use, kernel selects depending on result of is_ilp32_compat_task() in arch/arm64/kernel/vdso.c, so it substitutes correct p

[PATCH v6 16/20] arm64: signal32: move ilp32 and aarch32 common code to separated file

2015-12-15 Thread Yury Norov
Signed-off-by: Yury Norov --- arch/arm64/include/asm/signal32_common.h | 30 arch/arm64/kernel/Makefile | 2 +- arch/arm64/kernel/signal32.c | 85 -- arch/arm64/kernel/signal32_common.c | 116 +++ 4 files

[PATCH v6 20/20] arm64:ilp32: add ARM64_ILP32 to Kconfig

2015-12-15 Thread Yury Norov
From: Andrew Pinski This patch adds the config option for ILP32. Reviewed-by: David Daney Signed-off-by: Philipp Tomsich Signed-off-by: Christoph Muellner Signed-off-by: Yury Norov Signed-off-by: Andrew Pinski --- arch/arm64/Kconfig | 9 - 1 file changed, 8 insertions(+), 1 deletio

[PATCH v6 19/20] arm64:ilp32: change COMPAT_ELF_PLATFORM to report a a subplatform for ILP32

2015-12-15 Thread Yury Norov
From: Philipp Tomsich To make life for tools (such as gdb) easier when dealing with ILP32 processes, we report a proper subarchitecture for ILP32 in the ELF auxiliary vectors. Reviewed-by: David Daney Signed-off-by: Philipp Tomsich Signed-off-by: Christoph Muellner Signed-off-by: Yury Norov

Re: [PATCH v5] serial: support for 16550A serial ports on LP-8x4x

2015-12-15 Thread Arnd Bergmann
On Wednesday 16 December 2015 00:04:45 Sergei Ianovich wrote: > index 000..5f9a4c1 > --- /dev/null > +++ b/Documentation/devicetree/bindings/serial/lp8x4x-serial.txt > @@ -0,0 +1,35 @@ > +UART ports on ICP DAS LP-8x4x > + > +ICP DAS LP-8x4x contains three additional serial ports interfaced via

Re: [PATCH] net: emac: emac gigabit ethernet controller driver

2015-12-15 Thread Arnd Bergmann
On Tuesday 15 December 2015 15:09:23 Timur Tabi wrote: > Arnd Bergmann wrote: > > If that's in the probe() called from it function, just use writel() > > everywhere, > > a few extra microseconds won't kill the boot time. In general, if a user > > would > > notice the difference, use the relaxed v

[PATCH] i2c: designware: Add support for AMD Seattle I2C

2015-12-15 Thread Suravee Suthikulpanit
Add device HID AMDI0510 to match the I2C controlers on AMD Seattle platform Signed-off-by: Suravee Suthikulpanit --- drivers/i2c/busses/i2c-designware-platdrv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/i2c/busses/i2c-designware-platdrv.c b/drivers/i2c/busses/i2c-designware-pl

Re: [PATCH] sched/fair: fix mul overflow on 32-bit systems

2015-12-15 Thread Steve Muckle
On 12/14/2015 06:22 PM, Yuyang Du wrote: > what if we just init the util_avg to 0? With scheduler-guided frequency [1] we will rely on the initial util_avg value to determine the CPU frequency response when new tasks are created. There is sure to be a lot of debate on what sort of default policy

Re: [PATCH 5/8] f2fs: support data flush in checkpoint

2015-12-15 Thread Jaegeuk Kim
Hi Chao, On Tue, Dec 15, 2015 at 01:33:18PM +0800, Chao Yu wrote: > Previously, when finishing a checkpoint, we only keep consistency of all fs > meta info including meta inode, node inode, dentry page of directory inode, > so, after a sudden power cut, f2fs can recover from last checkpoint with >

Re: [PATCH trivial] include: asm-generic: Notice about 80 columns in pgtable-no*.h

2015-12-15 Thread Chen Gang
On 12/15/15 23:50, Arnd Bergmann wrote: > On Tuesday 15 December 2015 23:47:28 kbuild test robot wrote: >> from include/linux/mm.h:55, >> from arch/arm/mm/fault.c:13: >>arch/arm/mm/fault.c: In function 'do_translation_fault': arch/arm/include/asm/pgt

Re: [PATCH 8/8] f2fs: fix to avoid deadlock between checkpoint and writepages

2015-12-15 Thread Jaegeuk Kim
Hi Chao, On Tue, Dec 15, 2015 at 01:36:08PM +0800, Chao Yu wrote: > This patch fixes to move f2fs_balance_fs out of sbi->writepages' > coverage to avoid potential ABBA deadlock which was found by lockdep: > > Possible unsafe locking scenario: > > CPU0CPU1 >

[PATCH] gpio: sx150x: Add support for sx1502

2015-12-15 Thread Peter Rosin
From: Peter Rosin Signed-off-by: Peter Rosin --- .../devicetree/bindings/gpio/gpio-sx150x.txt | 3 +- drivers/gpio/gpio-sx150x.c | 53 -- 2 files changed, 51 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/gpio/gpi

Re: [PATCH 7/8] f2fs: introduce new option for controlling data flush

2015-12-15 Thread Jaegeuk Kim
Hi, On Tue, Dec 15, 2015 at 01:35:21PM +0800, Chao Yu wrote: > Add a new option 'data_flush' to enable/disable data flush functionality > in checkpoint. > > Signed-off-by: Chao Yu > --- > Documentation/filesystems/f2fs.txt | 2 ++ > fs/f2fs/checkpoint.c | 2 +- > fs/f2fs/f2fs.h

Re: [PATCH trivial] include: asm-generic: Notice about 80 columns in pgtable-no*.h

2015-12-15 Thread Chen Gang
On 12/16/15 04:26, Joe Perches wrote: > On Tue, 2015-12-15 at 22:15 +0800, Chen Gang wrote: >> It is a trivial patch. > [] >> diff --git a/include/asm-generic/pgtable-nopmd.h >> b/include/asm-generic/pgtable-nopmd.h > [] >> @@ -38,7 +38,8 @@ static inline void pud_clear(pud_t *pud) { } >> * (

Re: [PATCH 1/3] f2fs: backup raw_super in sbi

2015-12-15 Thread Jaegeuk Kim
On Tue, Dec 15, 2015 at 05:40:51PM +0800, Chao Yu wrote: > Hi Jaegeuk, Yunlei, > > I help do some edits and send it out as my patch's base. :) > > But if you want to send patch by yourself, please ignore this patch. No problem to merge this patch. Thanks Chao. > > Thanks, > > > -Original

Re: 4.4-rc5: ugly warn on: 5 W+X pages found

2015-12-15 Thread Pavel Machek
On Tue 2015-12-15 22:33:59, Borislav Petkov wrote: > On Tue, Dec 15, 2015 at 09:58:35PM +0100, Pavel Machek wrote: > > [0.00] Base memory trampoline at [c009b000] 9b000 size 16384 > > [0.00] [ cut here ] > > [0.00] WARNING: CPU: 0 PID: 0 at > > ./arch

[PATCH v2 trivial] include: asm-generic: Notice about 80 columns in pgtable-no*.h

2015-12-15 Thread Chen Gang
It is a trivial patch. Signed-off-by: Chen Gang --- include/asm-generic/pgtable-nopmd.h | 3 ++- include/asm-generic/pgtable-nopud.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/include/asm-generic/pgtable-nopmd.h b/include/asm-generic/pgtable-nopmd.h index 725612b..

Re: 4.4-rc5: ugly warn on: 5 W+X pages found

2015-12-15 Thread Borislav Petkov
On Tue, Dec 15, 2015 at 11:07:09PM +0100, Pavel Machek wrote: > Mystery solved, and prize goes to the lguest. But that splat has nowhere lguest in it. Are you saying, you don't see any more splats if you disable lguest? -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply.

[RFC v1 7/8] x86/init: user linker table for ce4100 early setup

2015-12-15 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" Using the linker table removes the need for the #ifdef'ery and clutter on head32.c. Signed-off-by: Luis R. Rodriguez --- arch/x86/include/asm/setup.h | 6 -- arch/x86/kernel/head32.c | 3 --- arch/x86/platform/ce4100/ce4100.c | 4 +++- 3 files change

[RFC v1 6/8] x86/init: use linker table for i386 early setup

2015-12-15 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" This also annotates this is only used for PC and lguest hardware subarchitectures. Signed-off-by: Luis R. Rodriguez --- arch/x86/kernel/head32.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/x86/kernel/head32.c b/arch/x86/kernel/head

[RFC v1 3/8] x86/boot: add BIT() to boot/bitops.h

2015-12-15 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" The boot/bitops.h guards against included the regular bitops, it only implements what we need at early boot. We'll be making use of BIT() later so add it. Users of boot/boot.h must include it prior to asm/setup.h otherwise the guard protection devise against the regular

[RFC v1 8/8] x86/init: use linker table for mid early setup

2015-12-15 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" Using the linker table removes the need for the #ifdef'ery and clutter on head32.c. Signed-off-by: Luis R. Rodriguez --- arch/x86/include/asm/setup.h| 6 -- arch/x86/kernel/head32.c| 7 --- arch/x86/platform/intel-mid/intel-mid.c |

[RFC v1 0/8] x86/init: Linux linker tables

2015-12-15 Thread Luis R. Rodriguez
merging sooner rather than later might be "paravirt: rename paravirt_enabled to paravirt_legacy" and "x86/boot: add BIT() to boot/bitops.h". After review I can send those separately in patch form if agreeable. Since these are all just RFCs I've based these patches on top of Linus&#x

[RFC v1 1/8] paravirt: rename paravirt_enabled to paravirt_legacy

2015-12-15 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" paravirt_enabled conveys the idea that if this is set or if paravirt_enabled() returns true you are in a paravirtualized environment. This is not true, this is really only useful to determine if you have a paravirtualization hypervisor that uses supports legacy paravirtu

[RFC v1 4/8] x86/init: add linker table support

2015-12-15 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" Any failure on the x86 init path can be catastrophic. A simple shift of a call from one place to another can easily break things. Likewise adding a new call to one path without considering all x86 requirements can make certain x86 run time environments crash. We currentl

[RFC v1 2/8] tables.h: add linker table support

2015-12-15 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" This adds Linux table support to Linux, based on Michael Brown's gPXE's linker table solution. Linker tables enable an extremely light weight linker build time solution for feature ordering and selection, this can help to both simplify init sequences in a generic fashion

[RFC v1 5/8] x86/init: move ebda reservations into linker table

2015-12-15 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" This lets us annotate its requirements specifically for PC and lguest subarchitectures. While at it since head.c just has ebda data rename it. Since we're using linker tables and both x86 32-bit and 64-bit have them we don't need to declare a call for this separately. Th

Re: [PATCH v4 3/3] ARM: dts: qcom: add charger otg regulator

2015-12-15 Thread Bjorn Andersson
On Tue 15 Dec 11:52 PST 2015, Tim Bird wrote: > Add the otg regulator provided by the charger block. > > Signed-off-by: Tim Bird > --- > Changes since V3: > - change name of charger regulator to "otg-vbus" > --- > arch/arm/boot/dts/qcom-pm8941.dtsi | 4 > 1 file changed, 4 insertions(+) >

Re: [PATCH 3/3] f2fs: introduce __f2fs_commit_super

2015-12-15 Thread Jaegeuk Kim
Hi Chao, On Tue, Dec 15, 2015 at 05:20:50PM +0800, Chao Yu wrote: > Introduce __f2fs_commit_super to include duplicated codes in > f2fs_commit_super for cleanup. > > Signed-off-by: Chao Yu > --- > fs/f2fs/super.c | 28 +--- > 1 file changed, 13 insertions(+), 15 deletion

Re: [PATCH v4 2/3] power: qcom_smbb: Add otg regulator for control of vbus

2015-12-15 Thread Bjorn Andersson
On Tue 15 Dec 11:52 PST 2015, Tim Bird wrote: > Add a regulator to control the OTG chargepath switch. This > is used by USB code to control VBUS direction - out for host mode > on the OTG port, and in for charging mode. > > Signed-off-by: Tim Bird > --- > Changes since v3: > - changed DT node

Re: [PATCH 05/10] Input: synaptics-rmi4: Add device tree support for 2d sensors and F11

2015-12-15 Thread Andrew Duggan
Hi Rob, I'm taking a look at this patchset again and I had a couple follow up questions. On 11/27/2015 01:10 PM, Rob Herring wrote: On Wed, Nov 25, 2015 at 04:09:13PM -0800, Andrew Duggan wrote: 2D sensors have several parameter which can be set in the platform data. This patch adds support

Re: [PATCH v4 1/3] dt-binding: power: Add otg regulator binding

2015-12-15 Thread Bjorn Andersson
On Tue 15 Dec 11:52 PST 2015, Tim Bird wrote: > Add a binding for the regulator which controls the OTG chargepath switch. > The OTG switch gets its power from pm8941_5vs1, and that should be > expressed as a usb_otg_in-supply property in the DT node for the > charger driver. The regulator name is

[PATCH v2] drm/i915: Send a hotplug event on resume instead of an IRQ event

2015-12-15 Thread Lyude
We currently call drm_helper_hpd_irq_event() to handle reprobing displays on resume, however drm_helper_hpd_irq_event() only checks the status of hpd. HPD doesn't update if the displays connected changed before resuming the system, and as such causes us not to detect any connection changes after re

Re: [PATCH v3 2/4] ARM: bcm2835: add rpi power domain driver

2015-12-15 Thread Florian Fainelli
On 15/12/15 13:40, Eric Anholt wrote: > From: Alexander Aring > > This patch adds support for several power domains on Raspberry Pi, > including USB (so it can be enabled even if the bootloader didn't do > it), and graphics. > > This patch is the combined work of Eric Anholt (who wrote USB suppo

Re: [PATCH 0/5] drivers/tty: make more bool drivers explicitly non-modular

2015-12-15 Thread Paul Gortmaker
[[PATCH 0/5] drivers/tty: make more bool drivers explicitly non-modular] On 18/10/2015 (Sun 18:21) Paul Gortmaker wrote: > This next set of patches to drivers/tty fixes up more drivers that would > perhaps appear modular when looking at the code, but are controlled by > a bool Kconfig. We make s

<    5   6   7   8   9   10