Re: [PATCH v3 0/5] power/reset: at91: cleanups and slow clock

2015-09-22 Thread Alexandre Belloni
On 22/09/2015 at 17:13:35 +0200, Sebastian Reichel wrote : > Thanks, queued for 4.4. You may want to add another patch adding > > MODULE_DEVICE_TABLE(of, xxx_of_match); > Sure, I will do. -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons

Re: [RESEND PATCH] media: vb2: Fix vb2_dc_prepare do not correct sync data to device

2015-09-22 Thread Robin Murphy
Hi Hans, On 21/09/15 14:13, Hans Verkuil wrote: Hi Tiffany! On 21-09-15 14:26, Tiffany Lin wrote: vb2_dc_prepare use the number of SG entries dma_map_sg_attrs return. But in dma_sync_sg_for_device, it use lengths of each SG entries before dma_map_sg_attrs. dma_map_sg_attrs will concatenate SGs

Re: [PATCH] power: bq24261_charger: Add support for TI BQ24261 charger

2015-09-22 Thread Sebastian Reichel
Hi, On Fri, Sep 11, 2015 at 09:58:40AM +0900, Krzysztof Kozlowski wrote: > On 11.09.2015 01:42, Andrew F. Davis wrote: > > On 09/09/2015 06:47 PM, Krzysztof Kozlowski wrote: > > +- ti,enable-user-write: boolean, if present driver will allow the > > user space > > +to control the ch

[PATCH] sound: oss: ad1848: Fix returned errno code in ad1848_init()

2015-09-22 Thread Luis de Bethencourt
The driver is using -1 instead of the -ENOMEM defined macro to specify that a buffer allocation failed. Since the error number is propagated, the caller will get a -EPERM which is the wrong error condition. Smatch tool warning: ad1848_init() warn: returning -1 instead of -ENOMEM is sloppy Signed-

[PATCH 0/4] Add basic support for Allwinner A83T SOC

2015-09-22 Thread Vishnu Patekar
This patch series adds very basic support for Allwinner A83T SOC. Clock, peripherals, smp support will be added later. Allwinner A83T is octa-core cortex-a7 based SoC. It's clock control unit and prcm, pinmux are different from previous sun8i series. Its processor cores are arragned in two cluster

Re: [PATCH 2/3] PCI: Add quirks for devices found on Cavium ThunderX SoCs.

2015-09-22 Thread Lorenzo Pieralisi
On Fri, Sep 18, 2015 at 08:45:50PM +0100, Arnd Bergmann wrote: > On Friday 18 September 2015 10:00:32 David Daney wrote: > > On 09/18/2015 12:19 AM, Arnd Bergmann wrote: > > > On Thursday 17 September 2015 15:41:33 David Daney wrote: > > >> From: David Daney > > >> > > >> The on-chip devices all h

[PATCH v4 0/2] Driver for Microchip digital potentiometers

2015-09-22 Thread Peter Rosin
From: Peter Rosin This is the fourth attempt for a driver for these chips. Thanks for review comments from Greg Kroah-Hartman, Crt Mori, Daniel Baluta, Lars-Peter Clauson, Andreas Dannenberg and Peter Meerwald. I think and hope I got it all sorted. Changes since v3: - Use i2c_smbus_read_word_sw

[PATCH v4 1/2] iio: resistance: Document that resistance can be output

2015-09-22 Thread Peter Rosin
From: Peter Rosin Signed-off-by: Peter Rosin --- Documentation/ABI/testing/sysfs-bus-iio |2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio index 9398484196c4..2eea468f704d 100644 --- a/Documentation/ABI/te

[PATCH v4 2/2] iio: mcp4531: Driver for Microchip digital potentiometers

2015-09-22 Thread Peter Rosin
From: Peter Rosin Add support for Microchip digital potentiometers and rheostats MCP4531, MCP4532, MCP4551, MCP4552 MCP4631, MCP4632, MCP4651, MCP4652 These are either single (45xx) or dual (46xx) wipers with either 129 (4x3x) or 257 (4x5x) steps, and configured either as potenti

[PATCH] MAINTAINERS: Add keystone device tree and defconfig to list

2015-09-22 Thread Nishanth Menon
Keystone2 architecture files also include defconfig and devicetree files which need maintainer to pick up and send for merge. Include the same in the MAINTAINERS file so that we know where what needs to go. Cc: Santosh Shilimkar Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Nishanth Men

[PATCH v11 3/4] add FPGA manager core

2015-09-22 Thread atull
From: Alan Tull API to support programming FPGA's. The following functions are exported as GPL: * fpga_mgr_buf_load Load fpga from image in buffer * fpga_mgr_firmware_load Request firmware and load it to the FPGA. * fpga_mgr_register * fpga_mgr_unregister FPGA device drivers can be ad

[PATCH 3/4] ARM: dts: sun8i: Add Allwinner A83T dtsi

2015-09-22 Thread Vishnu Patekar
Allwinner A83T is new octa-core cortex-a7 SOC. This adds the basic dtsi, the clocks differs from earlier sun8i SOCs. Signed-off-by: Vishnu Patekar --- arch/arm/boot/dts/sun8i-a83t.dtsi | 243 ++ 1 file changed, 243 insertions(+) create mode 100644 arch/arm/bo

[PATCH 2/2] ARM: configs: keystone: Add basic systemd related options

2015-09-22 Thread Nishanth Menon
Add basic options to bootup on systemd based distros such as debian. See http://cgit.freedesktop.org/systemd/systemd/tree/README#n38 for more information. Signed-off-by: Nishanth Menon --- arch/arm/configs/keystone_defconfig | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/c

[PATCH 1/2] ARM: configs: keystone: sync to savedefconfig

2015-09-22 Thread Nishanth Menon
Sync up the defconfig to savedefconfig output. easier to integrate deltas as a result. Signed-off-by: Nishanth Menon --- arch/arm/configs/keystone_defconfig | 45 +++-- 1 file changed, 18 insertions(+), 27 deletions(-) diff --git a/arch/arm/configs/keystone_defco

[PATCH 1/4] ARM: sunxi: Introduce Allwinner for A83T support

2015-09-22 Thread Vishnu Patekar
Allwinner A83T is octa-core cortex-a7 based SoC. It's clock control unit and prcm, pinmux are different from previous sun8i series. Its processor cores are arragned in two clusters 4 cores each, similar to A80. Signed-off-by: Vishnu Patekar --- Documentation/devicetree/bindings/arm/sunxi.txt | 1

[PATCH 0/2] ARM: configs: keystone: update to support newer distros

2015-09-22 Thread Nishanth Menon
Hi, Basic support for systemd based distros to be supported by default on keystone_defconfig. Series based on v4.3-rc1 Nishanth Menon (2): ARM: configs: keystone: sync to savedefconfig ARM: configs: keystone: Add basic systemd related options arch/arm/configs/keystone_defconfig | 54 ++

[PATCH v11 4/4] fpga manager: add driver for socfpga fpga manager

2015-09-22 Thread atull
From: Alan Tull Add driver to fpga manager framework to allow configuration of FPGA in Altera SoCFPGA parts. Signed-off-by: Alan Tull Acked-by: Michal Simek Acked-by: Moritz Fischer --- v2: fpga_manager struct now contains struct device fpga_manager_register parameters now take device v3

Re: [PATCH v7] pci: quirk to skip msi disable on shutdown

2015-09-22 Thread Bjorn Helgaas
On Tue, Sep 22, 2015 at 05:07:19PM +0300, Michael S. Tsirkin wrote: > On Tue, Sep 22, 2015 at 07:36:40AM -0500, Bjorn Helgaas wrote: > > On Tue, Sep 22, 2015 at 02:29:03PM +0300, Michael S. Tsirkin wrote: > > > On Mon, Sep 21, 2015 at 05:10:43PM -0500, Bjorn Helgaas wrote: > > > > Can you describe

Re: [PATCH 36/38] MIPS: remove invalid check

2015-09-22 Thread Ralf Baechle
On Mon, Sep 21, 2015 at 03:34:08PM +0200, Andrzej Hajda wrote: > Unsigned values cannot be lesser than zero. > > The problem has been detected using proposed semantic patch > scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1]. > > [1]: http://permalink.gmane.org/gmane.linux.kernel/2038

RE: [PATCH] power: bq24261_charger: Add support for TI BQ24261 charger

2015-09-22 Thread Pallala, Ramakrishna
> Hi, > > On Fri, Sep 11, 2015 at 09:58:40AM +0900, Krzysztof Kozlowski wrote: > > On 11.09.2015 01:42, Andrew F. Davis wrote: > > > On 09/09/2015 06:47 PM, Krzysztof Kozlowski wrote: > > > +- ti,enable-user-write: boolean, if present driver will allow > > > +the > > > user space > > >

[PATCH v11 0/4] FPGA Manager Framework

2015-09-22 Thread atull
From: Alan Tull This patch set adds the FPGA manager core which exports API functions that write an image to a FPGA I'm holding off on the DT overlay support a little for now. The core's API is minimal to start with: only 6 functions. This gives a manufacturer-agnostic interface for programmin

Re: crisv32 runtime failure in -next due to 'page-flags: define behavior SL*B-related flags on compound pages'

2015-09-22 Thread Paul E. McKenney
On Tue, Sep 22, 2015 at 06:31:04PM +0300, Kirill A. Shutemov wrote: > On Tue, Sep 22, 2015 at 08:18:35AM -0700, Paul E. McKenney wrote: > > On Tue, Sep 22, 2015 at 03:57:06PM +0200, Hans-Peter Nilsson wrote: > > > I guess you hit the right spot, but I'd think people would be > > > more comfortable

Re: [RFC PATCH] dma/swiotlb: Add helper for device driver to opt-out from swiotlb.

2015-09-22 Thread Jerome Glisse
On Thu, Sep 17, 2015 at 03:31:58PM -0400, Konrad Rzeszutek Wilk wrote: > On Thu, Sep 17, 2015 at 03:07:47PM -0400, Jerome Glisse wrote: > > On Thu, Sep 17, 2015 at 03:02:51PM -0400, Konrad Rzeszutek Wilk wrote: > > > On Thu, Sep 17, 2015 at 02:22:38PM -0400, jgli...@redhat.com wrote: > > > > From:

[PATCH 2/4] pinctrl: sunxi: add allwinner A83T PIO controller support

2015-09-22 Thread Vishnu Patekar
Allwinner A83T soc port controller has 8 ports. It has 3 IRQ banks namely PB, PG, PH. Pinmuxing are different for some pins as compared to sun8i A23 and A33. Signed-off-by: Vishnu Patekar --- .../bindings/pinctrl/allwinner,sunxi-pinctrl.txt | 1 + drivers/pinctrl/sunxi/Kconfig

[PATCH 4/4] ARM: dts: sun8i: Add A83T HomletV2 Board by Allwinner

2015-09-22 Thread Vishnu Patekar
H8Homlet Proto v2.0 Board is A83T Dev Board by Allwinner. It has UART, ethernet, USB, HDMI, etc ports on it. It's name is confusing, Its A83T board however,"H8_HOMLET_PROTO_V2" printed on board. A83T patches are tested on this board. It has UART, ethernet, USB, HDMI, etc ports on it. For FEL mod

[PATCH v13 01/23] tools: Fix formatting of the "make -C tools" help message

2015-09-22 Thread Josh Poimboeuf
Align the x86_energy_perf_policy line with the others and restore the original alphabetical sorting. Signed-off-by: Josh Poimboeuf --- tools/Makefile | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/tools/Makefile b/tools/Makefile index d6f30

[PATCH v13 23/23] x86/stacktool: Ignore head_$(BITS) files.

2015-09-22 Thread Josh Poimboeuf
From: Chris J Arges Tell stacktool to skip validation of head_64, head_32 as they don't affect runtime kernel stack traces. Signed-off-by: Chris J Arges Signed-off-by: Josh Poimboeuf --- arch/x86/kernel/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/kernel/Makefile b/ar

[PATCH v13 22/23] x86/uaccess: Add stack frame output operand in get_user inline asm

2015-09-22 Thread Josh Poimboeuf
From: Chris J Arges Numerous 'call without frame pointer save/setup' warnings are introduced by stacktool because of functions using the get_user macro. Bad stack traces could occur due to lack of or misplacement of stack frame setup code. This patch forces a stack frame to be created before the

[PATCH v13 19/23] x86/asm: Create stack frames in rwsem functions

2015-09-22 Thread Josh Poimboeuf
rwsem.S has several callable non-leaf functions which don't honor CONFIG_FRAME_POINTER, which can result in bad stack traces. Create stack frames for them when CONFIG_FRAME_POINTER is enabled. Signed-off-by: Josh Poimboeuf --- arch/x86/lib/rwsem.S | 11 ++- 1 file changed, 10 insertions

Re: [PATCH 0/2] ARM: configs: keystone: update to support newer distros

2015-09-22 Thread santosh.shilim...@oracle.com
On 9/22/15 8:42 AM, Nishanth Menon wrote: Hi, Basic support for systemd based distros to be supported by default on keystone_defconfig. Series based on v4.3-rc1 Nishanth Menon (2): ARM: configs: keystone: sync to savedefconfig ARM: configs: keystone: Add basic systemd related options L

[PATCH v13 20/23] x86/asm/efi: Create a stack frame in efi_call()

2015-09-22 Thread Josh Poimboeuf
efi_call() is a callable non-leaf function which doesn't honor CONFIG_FRAME_POINTER, which can result in bad stack traces. Create a stack frame for it when CONFIG_FRAME_POINTER is enabled. Signed-off-by: Josh Poimboeuf Reviewed-by: Matt Fleming --- arch/x86/platform/efi/efi_stub_64.S | 3 +++

Re: [PATCH] mm: hugetlbfs: Skip shared VMAs when unmapping private pages to satisfy a fault

2015-09-22 Thread Mel Gorman
On Tue, Sep 22, 2015 at 01:31:51PM +0100, Mel Gorman wrote: > SunDong reported the following on > https://bugzilla.kernel.org/show_bug.cgi?id=103841 > Michal Hocko correctly pointed out privately that this should have checked VM_MAYSHARE for the reasons outlined in commit f83a275dbc5c ("mm: acco

Re: [PATCH 2/4] pinctrl: sunxi: add allwinner A83T PIO controller support

2015-09-22 Thread Maxime Ripard
On Tue, Sep 22, 2015 at 11:38:55PM +0800, Vishnu Patekar wrote: > Allwinner A83T soc port controller has 8 ports. > It has 3 IRQ banks namely PB, PG, PH. > Pinmuxing are different for some pins as compared to > sun8i A23 and A33. > > Signed-off-by: Vishnu Patekar Acked-by: Maxime Ripard Thanks

[PATCH v13 21/23] x86/asm/power: Create stack frames in hibernate_asm_64.S

2015-09-22 Thread Josh Poimboeuf
swsusp_arch_suspend() and restore_registers() are callable non-leaf functions which don't honor CONFIG_FRAME_POINTER, which can result in bad stack traces. Also they aren't annotated as ELF callable functions which can confuse tooling. Create a stack frame for them when CONFIG_FRAME_POINTER is en

[PATCH v13 10/23] x86/amd: Set ELF function type for vide()

2015-09-22 Thread Josh Poimboeuf
vide() is a callable function, but is missing the ELF function type, which confuses tools like stacktool. Properly annotate it to be a callable function. The generated code is unchanged. Signed-off-by: Josh Poimboeuf --- arch/x86/kernel/cpu/amd.c | 5 - 1 file changed, 4 insertions(+), 1 d

Re: [PATCH 2/5] cgroup, memcg, cpuset: implement cgroup_taskset_for_each_leader()

2015-09-22 Thread Michal Hocko
On Fri 18-09-15 12:04:17, Tejun Heo wrote: > On Mon, Sep 14, 2015 at 04:49:07PM -0400, Tejun Heo wrote: > > Michal, if you're okay with this patch, I'll apply the patchset in > > cgroup/for-4.4. > > Michal? I am sorry but I wasn't online very much last week. The old and new code are similarly hac

Re: [RFC PATCH 1/2] VFS: Kill use of O_LARGEFILE inside the kernel

2015-09-22 Thread Theodore Ts'o
On Tue, Sep 22, 2015 at 04:24:50PM +0100, David Howells wrote: > > (4) fs/open.c: Length check in ftruncate(). > > (5) fs/open.c: Length check in generic_file_open(). > > All but the first two are just making length checks that are waived > unconditionally on a 64-bit system. Just skip the

Re: [PATCH] generic syscalls: wire up userfaultfd syscall

2015-09-22 Thread Will Deacon
On Tue, Sep 22, 2015 at 11:52:19AM +0100, Andre Przywara wrote: > Enable the new userfaultfd syscall in the generic syscall table. > Briefly tested on arm64 with the selftest from the tools directory. Can you update the selftest too, please? Last time I looked at that it had typo for the powerpc c

[PATCH v13 15/23] x86/asm/crypto: Move jump_table to .rodata section

2015-09-22 Thread Josh Poimboeuf
stacktool reports the following warning: stacktool: arch/x86/crypto/crc32c-pcl-intel-asm_64.o: crc_pcl()+0x11dd: can't decode instruction It gets confused when trying to decode jump_table data. Move jump_table to the .rodata section which is a more appropriate home for read-only data. Signed

[PATCH v13 16/23] x86/asm/crypto: Create stack frames in clmul_ghash_mul/update()

2015-09-22 Thread Josh Poimboeuf
clmul_ghash_mul() and clmul_ghash_update() are callable non-leaf functions which don't honor CONFIG_FRAME_POINTER, which can result in bad stack traces. Create stack frames for them when CONFIG_FRAME_POINTER is enabled. Signed-off-by: Josh Poimboeuf Cc: Herbert Xu Cc: David S. Miller --- arch

Re: [PATCH] MAINTAINERS: Add keystone device tree and defconfig to list

2015-09-22 Thread santosh.shilim...@oracle.com
On 9/22/15 8:39 AM, Nishanth Menon wrote: Keystone2 architecture files also include defconfig and devicetree files which need maintainer to pick up and send for merge. Include the same in the MAINTAINERS file so that we know where what needs to go. Well this is I guess assumed responsibility an

[PATCH v13 17/23] x86/asm/entry: Create stack frames in thunk functions

2015-09-22 Thread Josh Poimboeuf
Thunk functions are callable non-leaf functions that don't honor CONFIG_FRAME_POINTER, which can result in bad stack traces. Also they aren't annotated as ELF callable functions which can confuse tooling. Create stack frames for them when CONFIG_FRAME_POINTER is enabled and add the ELF function t

Re: [PATCH] kernel/watchdog: is_hardlockup can be boolean

2015-09-22 Thread Don Zickus
On Tue, Sep 22, 2015 at 09:32:43PM +0800, Yaowei Bai wrote: > This patch makes is_hardlockup return bool to improve readability > due to this particular function only using either one or zero as its > return value. > > No functional change. Looks fine. Acked-by: Don Zickus > > Signed-off-by:

[PATCH v6 4/5] clk: fractional-divider: switch to rational best approximation

2015-09-22 Thread Andy Shevchenko
This patch converts the code to use rational best approximation algorithm which is much more precise. Suggested-by: Stephen Boyd Reviewed-by: Heikki Krogerus Signed-off-by: Andy Shevchenko --- drivers/clk/Kconfig | 1 + drivers/clk/clk-fractional-divider.c | 41 ++

[PATCH v6 5/5] serial: 8250_dw: allow lower reference frequencies

2015-09-22 Thread Andy Shevchenko
We have couple of standard but rare used baudrates which are not supported by 1,8432MHz reference frequency. Besides that user can potentially ask for any baudrate (via BOTHER flag) and we currently don't fully support that. Since clk-fractional-divider is moved to use rational best approximation f

Re: [PATCH 1/4] ARM: sunxi: Introduce Allwinner for A83T support

2015-09-22 Thread Maxime Ripard
On Tue, Sep 22, 2015 at 11:47:40PM +0800, Chen-Yu Tsai wrote: > On Tue, Sep 22, 2015 at 11:38 PM, Vishnu Patekar > wrote: > > Allwinner A83T is octa-core cortex-a7 based SoC. > > It's clock control unit and prcm, pinmux are different from previous sun8i > > series. > > Its processor cores are arra

[PATCH v13 14/23] x86/asm/crypto: Move .Lbswap_mask data to .rodata section

2015-09-22 Thread Josh Poimboeuf
stacktool reports the following warning: stacktool: arch/x86/crypto/aesni-intel_asm.o: _aesni_inc_init(): can't find starting instruction stacktool gets confused when it tries to disassemble the following data in the .text section: .Lbswap_mask: .byte 15, 14, 13, 12, 11, 10, 9, 8,

[PATCH v6 0/5] clk: fractional-divider: do a clean up and update

2015-09-22 Thread Andy Shevchenko
The series provides a clean up for clk-fractional-divider together with moving it to use rational best approximation algorithm. I think the patches are self-explanatory. The series was tested with 8250_dw UART driver on Intel Braswell. Patch 5 is an amendment to existing user of the fractional di

Re: [PATCH 3/5] locking/rtmutex: Use acquire/release semantics

2015-09-22 Thread Davidlohr Bueso
On Tue, 22 Sep 2015, Thomas Gleixner wrote: @@ -121,11 +130,14 @@ static inline bool unlock_rt_mutex_safe(struct rt_mutex *lock) * lock(wait_lock); * acquire(lock); */ - return rt_mutex_cm

Re: [PATCH 1/4] ARM: sunxi: Introduce Allwinner for A83T support

2015-09-22 Thread Maxime Ripard
Hi, On Tue, Sep 22, 2015 at 11:38:54PM +0800, Vishnu Patekar wrote: > Allwinner A83T is octa-core cortex-a7 based SoC. > It's clock control unit and prcm, pinmux are different from previous sun8i > series. > Its processor cores are arragned in two clusters 4 cores each, > similar to A80. > > Sign

[PATCH v6 2/5] clk: fractional-divider: keep mwidth and nwidth internally

2015-09-22 Thread Andy Shevchenko
The patch adds mwidth and nwidth fields to the struct clk_fractional_divider for further usage. While here, use GENMASK() instead of open coding this functionality. Reviewed-by: Heikki Krogerus Signed-off-by: Andy Shevchenko --- drivers/clk/clk-fractional-divider.c | 6 -- include/linux/clk

[PATCH v6 3/5] clk: rockchip: save width in struct clk_fractional_divider

2015-09-22 Thread Andy Shevchenko
The ->mwidth and ->nwidth fields will be used by clk-fractional-divider when it will be switched to rational base approximation algorithm. Reviewed-by: Heiko Stuebner Signed-off-by: Andy Shevchenko --- drivers/clk/rockchip/clk.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff

[PATCH v6 1/5] clk: fractional-divider: rename prate -> parent_rate

2015-09-22 Thread Andy Shevchenko
Rename function parameter to be more explicit what it is for. This also makes it in align with struct clk_ops. There is no functional change. Reviewed-by: Heikki Krogerus Signed-off-by: Andy Shevchenko --- drivers/clk/clk-fractional-divider.c | 10 +- 1 file changed, 5 insertions(+), 5

[PATCH v13 05/23] x86/stacktool: Add file and directory ignores

2015-09-22 Thread Josh Poimboeuf
Tell stacktool to skip validation of the following code: - boot image - vdso image - kexec purgatory - realmode - efi libstub - scripts/mod They all run outside the kernel's normal mode of operation and they don't affect runtime kernel stack traces, so they're free to skirt the stacktool rules.

[PATCH v13 07/23] x86/xen: Add stack frame dependency to hypercall inline asm calls

2015-09-22 Thread Josh Poimboeuf
If a hypercall is inlined at the beginning of a function, gcc can insert the call instruction before setting up a stack frame, which breaks frame pointer convention if CONFIG_FRAME_POINTER is enabled and can result in a bad stack trace. Force a stack frame to be created if CONFIG_FRAME_POINTER is

[PATCH v13 06/23] x86/stacktool: Add ignore macros

2015-09-22 Thread Josh Poimboeuf
Add new stacktool ignore macros: STACKTOOL_IGNORE_INSN and STACKTOOL_IGNORE_FUNC. These can be used to tell stacktool to skip validation of an instruction or a function, respectively. Signed-off-by: Josh Poimboeuf --- arch/x86/include/asm/stacktool.h | 45 +++

Re: [PATCH 3/4] ARM: dts: sun8i: Add Allwinner A83T dtsi

2015-09-22 Thread Maxime Ripard
On Tue, Sep 22, 2015 at 11:38:56PM +0800, Vishnu Patekar wrote: > Allwinner A83T is new octa-core cortex-a7 SOC. > This adds the basic dtsi, the clocks differs from > earlier sun8i SOCs. > > Signed-off-by: Vishnu Patekar > --- > arch/arm/boot/dts/sun8i-a83t.dtsi | 243 >

Re: [PATCH v5 3/6] power: Add support for DA9150 Fuel-Gauge

2015-09-22 Thread Sebastian Reichel
Hi, On Fri, Sep 11, 2015 at 11:05:35AM +0100, Adam Thomson wrote: > This adds power supply driver support for the Fuel-Gauge part of > the DA9150 combined Charger and Fuel-Gauge device. Acked-By: Sebastian Reichel -- Sebastian signature.asc Description: Digital signature

Re: [PATCH 1/4] ARM: sunxi: Introduce Allwinner for A83T support

2015-09-22 Thread Chen-Yu Tsai
On Tue, Sep 22, 2015 at 11:53 PM, Maxime Ripard wrote: > On Tue, Sep 22, 2015 at 11:47:40PM +0800, Chen-Yu Tsai wrote: >> On Tue, Sep 22, 2015 at 11:38 PM, Vishnu Patekar >> wrote: >> > Allwinner A83T is octa-core cortex-a7 based SoC. >> > It's clock control unit and prcm, pinmux are different fr

Re: [PATCH] barriers: introduce smp_mb__release_acquire and update documentation

2015-09-22 Thread Will Deacon
Hi Paul, On Tue, Sep 22, 2015 at 04:22:41PM +0100, Paul E. McKenney wrote: > On Mon, Sep 21, 2015 at 11:23:01PM +0100, Will Deacon wrote: > > On Mon, Sep 21, 2015 at 03:10:38PM +0100, Boqun Feng wrote: > > > On Mon, Sep 21, 2015 at 09:45:15PM +0800, Boqun Feng wrote: > > > > > > > > Ah.. that's i

[PATCH v13 13/23] x86/asm/crypto: Create stack frames in aesni-intel_asm.S

2015-09-22 Thread Josh Poimboeuf
aesni-intel_asm.S has several callable non-leaf functions which don't honor CONFIG_FRAME_POINTER, which can result in bad stack traces. Create stack frames for them when CONFIG_FRAME_POINTER is enabled. Signed-off-by: Josh Poimboeuf Cc: Herbert Xu Cc: David S. Miller --- arch/x86/crypto/aesni

[PATCH v11 2/4] fpga manager: add sysfs interface document

2015-09-22 Thread atull
From: Alan Tull Add documentation under drivers/staging for new fpga manager's sysfs interface. Signed-off-by: Alan Tull --- v5 : (actually second version, but keeping version numbers aligned with rest of patch series) Move document to drivers/staging/fpga/Documentation/ABI v6 :

Re: [PATCH] mm: hugetlbfs: Skip shared VMAs when unmapping private pages to satisfy a fault

2015-09-22 Thread Michal Hocko
On Tue 22-09-15 16:49:38, Mel Gorman wrote: [...] > mm: hugetlbfs: Skip shared VMAs when unmapping private pages to satisfy a > fault > > SunDong reported the following on > https://bugzilla.kernel.org/show_bug.cgi?id=103841 > > I think I find a linux bug, I have the test cases is constru

Re: [GIT PULL] extcon fixes for 4.3-rc3

2015-09-22 Thread Greg KH
On Tue, Sep 22, 2015 at 05:20:53PM +0900, Chanwoo Choi wrote: > Dear Greg, > > This is extcon-fixes pull request for v4.3-rc3. I add detailed description of > this > pull request on below. Please pull extcon with following updates. > > Best Regards, > Chanwoo Choi > > The following changes sinc

Re: [PATCH] powercap / RAPL : remove dependency on iosf_mbi

2015-09-22 Thread Jacob Pan
On Tue, 22 Sep 2015 09:41:52 -0400 Austin S Hemmelgarn wrote: > On 2015-09-21 17:36, Jacob Pan wrote: > > On Mon, 21 Sep 2015 11:48:14 +0800 > > Pengyu Ma wrote: > > > >> > >> > >> On 09/18/2015 11:43 PM, Jacob Pan wrote: > >>> On Fri, 18 Sep 2015 02:09:55 +0200 > >>> "Rafael J. Wysocki" wrote:

[PATCH v2] power: reset: at91-shdwc: add new shutdown controller driver

2015-09-22 Thread Nicolas Ferre
Sama5d2 SoC has a completely new shutdown controller with new features and register layout. It thus makes sense to add a new driver for this new peripheral. This driver is Device Tree only and handles events from the wake-up pin and the RTC. As the register layout may change in the future, so some

[PATCH v13 18/23] x86/asm/acpi: Create a stack frame in do_suspend_lowlevel()

2015-09-22 Thread Josh Poimboeuf
do_suspend_lowlevel() is a callable non-leaf function which doesn't honor CONFIG_FRAME_POINTER, which can result in bad stack traces. Create a stack frame for it when CONFIG_FRAME_POINTER is enabled. Signed-off-by: Josh Poimboeuf Acked-by: Pavel Machek Cc: Rafael J. Wysocki Cc: Len Brown ---

[PATCH v13 08/23] x86/paravirt: Add stack frame dependency to PVOP inline asm calls

2015-09-22 Thread Josh Poimboeuf
If a PVOP call macro is inlined at the beginning of a function, gcc can insert the call instruction before setting up a stack frame, which breaks frame pointer convention if CONFIG_FRAME_POINTER is enabled and can result in a bad stack trace. Force a stack frame to be created if CONFIG_FRAME_POINT

[PATCH v13 09/23] x86/paravirt: Create a stack frame in PV_CALLEE_SAVE_REGS_THUNK

2015-09-22 Thread Josh Poimboeuf
A function created with the PV_CALLEE_SAVE_REGS_THUNK macro doesn't set up a new stack frame before the call instruction, which breaks frame pointer convention if CONFIG_FRAME_POINTER is enabled and can result in a bad stack trace. Also, the thunk functions aren't annotated as ELF callable functio

[PATCH v13 11/23] x86/reboot: Add ljmp instructions to stacktool whitelist

2015-09-22 Thread Josh Poimboeuf
stacktool reports a false positive warning for the ljmp instruction in machine_real_restart(). Normally, ljmp isn't allowed in a function, but this is a special case where it's jumping into real mode. Add the jumps to a whitelist which tells stacktool to ignore them. Signed-off-by: Josh Poimboeu

Re: [PATCH 1/4] ARM: sunxi: Introduce Allwinner for A83T support

2015-09-22 Thread Chen-Yu Tsai
On Tue, Sep 22, 2015 at 11:38 PM, Vishnu Patekar wrote: > Allwinner A83T is octa-core cortex-a7 based SoC. > It's clock control unit and prcm, pinmux are different from previous sun8i > series. > Its processor cores are arragned in two clusters 4 cores each, > similar to A80. > > Signed-off-by: Vi

[PATCH v13 12/23] x86/xen: Add xen_cpuid() and xen_setup_gdt() to stacktool whitelists

2015-09-22 Thread Josh Poimboeuf
stacktool reports the following false positive warnings: stacktool: arch/x86/xen/enlighten.o: xen_cpuid()+0x41: can't find jump dest instruction at .text+0x108 stacktool: arch/x86/xen/enlighten.o: xen_setup_gdt.constprop.23()+0x2e: kernel entry/exit from callable instruction The first warni

[PATCH 1/2] btrfs: check-integrity: Fix returned errno codes

2015-09-22 Thread Luis de Bethencourt
check-integrity is using -1 instead of the -ENOMEM defined macro to specify that a buffer allocation failed. Since the error number is propagated, the caller will get a -EPERM which is the wrong error condition. Also, the smatch tool complains with the following warnings: btrfsic_process_superbloc

Re: [PATCH v2 02/12] usb: gadget: amd5536udc: fix error path

2015-09-22 Thread Sudip Mukherjee
doesn't apply. Where did you rebase this series ? Please rebase on > > > > my > > > > testing/next > > > This was done on next-20150922. I will rebase on your tree. > > Looks like today is a day of confusion for me. > > I asked you to discard my v1 as I

[PATCH V2] PM / OPP: of_property_count_u32_elems() can return errors

2015-09-22 Thread Viresh Kumar
of_property_count_u32_elems() will never return 0, but a -ve error value of a positive count. And so the current !count check is wrong. Also, a missing "opp-microvolt" property isn't a problem and so we need to do of_find_property() separately to confirm that. Fixes: 274659029c9d ("PM / OPP: Add

[PATCH 1/2] usb: gadget: loopback: fix: Don't share qlen and buflen between instances

2015-09-22 Thread Krzysztof Opasiak
Each instance of loopback function may have different qlen and buflen attributes values. When linking function to configuration those values had been assigned to global variables. Linking other instance to config overwrites those values. This commit moves those values to f_loopback structure to av

Re: [PATCH v2 1/5] regulator: smd: Add floor and corner operations

2015-09-22 Thread Stephen Boyd
On 09/19, Mark Brown wrote: > On Fri, Sep 18, 2015 at 05:52:05PM -0700, Stephen Boyd wrote: > > > +EXPORT_SYMBOL(qcom_rpm_set_floor); > > The entire regulator API is EXPORT_SYMBOL_GPL(), adding plain > EXPORT_SYMBOL() exports is not good. That's fine. I can make it GPL. -- Qualcomm Innovation

Re: [PATCH v10 5/5] QE: Move QE from arch/powerpc to drivers/soc

2015-09-22 Thread Scott Wood
On Tue, 2015-09-22 at 03:24 -0500, Zhao Qiang-B45475 wrote: > On Tue, Sep 22, 2015 at 06:56 AM +0800, Wood Scott-B07421 wrote: > > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Tuesday, September 22, 2015 6:56 AM > > To: Zhao Qiang-B45475 > > Cc: linux-kernel@vger.kernel.org;

Re: crisv32 runtime failure in -next due to 'page-flags: define behavior SL*B-related flags on compound pages'

2015-09-22 Thread Paul E. McKenney
On Tue, Sep 22, 2015 at 06:16:18PM +0200, Hans-Peter Nilsson wrote: > > From: "Kirill A. Shutemov" > > Date: Tue, 22 Sep 2015 17:31:04 +0200 > > > On Tue, Sep 22, 2015 at 08:18:35AM -0700, Paul E. McKenney wrote: > > > On Tue, Sep 22, 2015 at 03:57:06PM +0200, Hans-Peter Nilsson wrote: > > > > I

Re: [PATCH v5 0/6] Add support for DA9150 Fuel-Gauge

2015-09-22 Thread Sebastian Reichel
Hi Lee, On Fri, Sep 11, 2015 at 11:05:21AM +0100, Adam Thomson wrote: > This patch set adds support for the Dialog DA9150 Fuel-Gauge. > > [...] > > Adam Thomson (6): > mfd: da9150: Add support for Fuel-Gauge > mfd: da9150: Update DT bindings for Fuel-Gauge support > power: Add support for D

Re: [PATCH 3/3] PCI: generic: Add support for Cavium ThunderX PCIe root complexes.

2015-09-22 Thread Lorenzo Pieralisi
On Thu, Sep 17, 2015 at 11:41:34PM +0100, David Daney wrote: > From: David Daney > > The config space for external PCIe root complexes on some Cavium > ThunderX SoCs is very similar to CAM and ECAM, but differs in the > shift values that have to be applied to the bus and devfn numbers to > compos

Re: [PATCH] MAINTAINERS: Add keystone device tree and defconfig to list

2015-09-22 Thread Nishanth Menon
On 09/22/2015 10:51 AM, santosh.shilim...@oracle.com wrote: > On 9/22/15 8:39 AM, Nishanth Menon wrote: >> Keystone2 architecture files also include defconfig and devicetree >> files which need maintainer to pick up and send for merge. Include the >> same in the MAINTAINERS file so that we know whe

Re: [PATCH] platform/x86: Toshiba WMI Hotkey Driver

2015-09-22 Thread Azael Avalos
Hi there 2015-09-19 10:48 GMT-06:00 Dmitry Torokhov : > On Fri, Sep 18, 2015 at 2:59 PM, Darren Hart wrote: >> On Wed, Sep 09, 2015 at 11:30:10AM -0600, Azael Avalos wrote: >>> Toshiba laptops that feature WMI events for hotkeys were left unsupported >>> by the toshiba_acpi driver, however, commi

[PATCH v13 02/23] x86/asm: Frame pointer macro cleanup

2015-09-22 Thread Josh Poimboeuf
The asm macros for setting up and restoring the frame pointer aren't currently being used. However, they will be needed soon to help asm functions to comply with stacktool. Rename FRAME/ENDFRAME to FRAME_BEGIN/FRAME_END for more symmetry. Also make the code more readable and improve the comments

[PATCH v13 00/23] Compile-time stack metadata validation

2015-09-22 Thread Josh Poimboeuf
This is v13 of the compile-time stack metadata validation patch set, along with proposed fixes for many of the warnings it found. It's based on the tip/master branch. v12 can be found here: https://lkml.kernel.org/r/cover.1441749989.git.jpoim...@redhat.com For more information about the motiv

Re: [PATCH 2/4] pinctrl: sunxi: add allwinner A83T PIO controller support

2015-09-22 Thread Chen-Yu Tsai
On Tue, Sep 22, 2015 at 11:38 PM, Vishnu Patekar wrote: > Allwinner A83T soc port controller has 8 ports. > It has 3 IRQ banks namely PB, PG, PH. > Pinmuxing are different for some pins as compared to > sun8i A23 and A33. > > Signed-off-by: Vishnu Patekar > --- > .../bindings/pinctrl/allwinner,s

Second email notice to you (€950,000.00 Euro)

2015-09-22 Thread Qatar Foundation
Dear Recipient, You have been chosen to receive (€950,000.00 Euro) as charity donation from the Qatar Foundation. Therefore, you are required to reply back to the below contact e-mail address for more information. Yours sincerely, Mr Rashid Al-Naimi. Contact e-mail: qatarfoundationinternatio...

[PATCH v13 03/23] x86/asm: Add C versions of frame pointer macros

2015-09-22 Thread Josh Poimboeuf
Add C versions of the frame pointer macros which can be used to create a stack frame in inline assembly. Signed-off-by: Josh Poimboeuf --- arch/x86/include/asm/frame.h | 20 ++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/arch/x86/include/asm/frame.h b/arch/x8

Re: [PATCH 4/4] ARM: dts: sun8i: Add A83T HomletV2 Board by Allwinner

2015-09-22 Thread Maxime Ripard
On Tue, Sep 22, 2015 at 11:38:57PM +0800, Vishnu Patekar wrote: > H8Homlet Proto v2.0 Board is A83T Dev Board by Allwinner. > It has UART, ethernet, USB, HDMI, etc ports on it. > > It's name is confusing, Its A83T board however,"H8_HOMLET_PROTO_V2" > printed on board. > > A83T patches are tested

[PATCH 2/2] usb: gadget: loopback: Fix looping back logic implementation

2015-09-22 Thread Krzysztof Opasiak
Since: commit e0857ce58e8658657f5f12fe25272b93cfeb16aa ("usb: gadget: loopback: don't queue requests to bogus endpoints") Loopback function is not realy working as that commit removed all looping back logic. After that commit ep-out works like /dev/null and ep-in works like /dev/zero. This commi

[PATCH 3/3] ARM: dts: keystone: Update SoC specific compatible flags

2015-09-22 Thread Nishanth Menon
Update the compatible flags to allow specific SoC identification. Signed-off-by: Nishanth Menon --- arch/arm/boot/dts/k2e-evm.dts | 2 +- arch/arm/boot/dts/k2e.dtsi | 3 +++ arch/arm/boot/dts/k2hk-evm.dts | 2 +- arch/arm/boot/dts/k2hk.dtsi | 3 +++ arch/arm/boot/dts/k2l-evm.dts |

Re: [PATCH] kexec: Add prefix "kexec" to output message

2015-09-22 Thread Minfei Huang
On 09/15/15 at 11:08am, Minfei Huang wrote: > On 09/14/15 at 04:44pm, Dave Young wrote: > > On 09/14/15 at 03:50pm, Minfei Huang wrote: > > > On 09/13/15 at 11:52am, Eric W. Biederman wrote: > > > > Minfei Huang writes: > > > > > > > > > kexec output message misses the prefix "kexec", when Dave Y

Re: [PATCH 3/3] PCI: generic: Add support for Cavium ThunderX PCIe root complexes.

2015-09-22 Thread Lorenzo Pieralisi
On Tue, Sep 22, 2015 at 05:13:45PM +0100, David Daney wrote: > On 09/22/2015 09:05 AM, Lorenzo Pieralisi wrote: > > On Thu, Sep 17, 2015 at 11:41:34PM +0100, David Daney wrote: [...] > >> Properties of the host controller node: > >> > >> -- compatible : Must be "pci-host-cam-generic" or >

[PATCH 0/3] ARM: dts/keystone: Introduce SoC specific compatible matches

2015-09-22 Thread Nishanth Menon
Hi, Here is a series that introduces keystone SoC specific compatible flags Series based on v4.3-rc1. Test log(merge on master): http://paste.ubuntu.org.cn/3462285 (note netcp seems to freezeup after a while into boot. debug not complete on that yet - boots fine with a minimal system..) Nishanth

Re: [PATCH 3/3] PCI: generic: Add support for Cavium ThunderX PCIe root complexes.

2015-09-22 Thread David Daney
On 09/22/2015 09:05 AM, Lorenzo Pieralisi wrote: On Thu, Sep 17, 2015 at 11:41:34PM +0100, David Daney wrote: From: David Daney The config space for external PCIe root complexes on some Cavium ThunderX SoCs is very similar to CAM and ECAM, but differs in the shift values that have to be applie

Re: [PATCH v2 5/6] virtio-gpu: add basic prime support

2015-09-22 Thread Daniel Vetter
On Tue, Sep 22, 2015 at 05:24:29PM +0200, Gerd Hoffmann wrote: > > > +int virtgpu_gem_prime_mmap(struct drm_gem_object *obj, > > > +struct vm_area_struct *area) > > > +{ > > > + WARN_ONCE(1, "not implemented"); > > > + return ENOSYS; > > > > This can get called by userspace, so ple

Re: [PATCH] net: axinet: Use of_property_read_u32 instead of open-coding it

2015-09-22 Thread Sören Brinkmann
On Tue, 2015-09-22 at 01:45PM +0200, Tobias Klauser wrote: > Use of_property_read_u32 instead of of_get_property with return value > checks and endianness conversion. > > Signed-off-by: Tobias Klauser Reviewed-by: Sören Brinkmann Sören -- To unsubscribe from this list: send the line "un

Re: [RFC v7 25/41] richacl: Isolate the owner and group classes

2015-09-22 Thread J. Bruce Fields
On Sat, Sep 05, 2015 at 12:27:20PM +0200, Andreas Gruenbacher wrote: > When applying the file masks to an acl, we need to ensure that no > process gets more permissions than allowed by its file mask. > > This may require inserting an owner@ deny ace to ensure this if the > owner mask contains fewe

Re: [PATCH 3/4] ARM: dts: sun8i: Add Allwinner A83T dtsi

2015-09-22 Thread Chen-Yu Tsai
On Tue, Sep 22, 2015 at 11:54 PM, Maxime Ripard wrote: > On Tue, Sep 22, 2015 at 11:38:56PM +0800, Vishnu Patekar wrote: >> Allwinner A83T is new octa-core cortex-a7 SOC. >> This adds the basic dtsi, the clocks differs from >> earlier sun8i SOCs. >> >> Signed-off-by: Vishnu Patekar >> --- >> arc

Re: [regression] [git pull] drm for 4.3

2015-09-22 Thread Matt Roper
On Tue, Sep 22, 2015 at 05:13:55PM +0200, Daniel Vetter wrote: > On Tue, Sep 22, 2015 at 08:00:17AM -0700, Jesse Barnes wrote: > > Cc'ing Maarten and Matt; I'm guessing this may be related to one of > > their recent patches. Sounds like this showed up before my recent work, but I think I might hav

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