Re: [PATCH v5 07/10] x86/asm/acpi: Fix asmvalidate warnings for wakeup_64.S

2015-06-10 Thread Josh Poimboeuf
On Wed, Jun 10, 2015 at 03:21:35PM +0200, Pavel Machek wrote: > On Wed 2015-06-10 07:06:15, Josh Poimboeuf wrote: > > Fix the following asmvalidate warnings: > > > >asmvalidate: arch/x86/kernel/acpi/wakeup_64.o: wakeup_long64()+0x15: > > unsupported jump to outside of function > >

[PATCH v4 14/19] NTB: Use NUMA memory and DMA chan in transport

2015-06-10 Thread Allen Hubbe
Allocate memory and request the DMA channel for the same NUMA node as the NTB device. Signed-off-by: Allen Hubbe --- drivers/ntb/ntb_transport.c | 46 +++-- 1 file changed, 32 insertions(+), 14 deletions(-) diff --git a/drivers/ntb/ntb_transport.c

[PATCH v4 10/19] NTB: Add parameters for Intel SNB B2B addresses

2015-06-10 Thread Allen Hubbe
Add module parameters for the addresses to be used in B2B topology. Signed-off-by: Allen Hubbe --- Documentation/ntb.txt | 10 + drivers/ntb/hw/intel/ntb_hw_intel.c | 77 - 2 files changed, 68 insertions(+), 19 deletions(-) diff --git

[PATCH v4 00/19] NTB: Add NTB hardware abstraction layer

2015-06-10 Thread Allen Hubbe
The NTB drivers currently support only one hardware driver, and one client type. This patch set adds an abstraction layer, enabling hardware drivers by other vendors, and clients other than ntb_transport. The commits in this set may also be pulled from: github.com/allenbh/linux tagged ntb-abh-v4

[PATCH v4 12/19] NTB: Add tool test client

2015-06-10 Thread Allen Hubbe
This is a simple debugging driver that enables the doorbell and scratch pad registers to be read and written from the debugfs. This tool enables more complicated debugging to be scripted from user space. This driver may be used to test that your ntb hardware and drivers are functioning at a basic

[PATCH v4 11/19] NTB: Add ping pong test client

2015-06-10 Thread Allen Hubbe
This is a simple ping pong driver that exercises the scratch pads and doorbells of the ntb hardware. This driver may be used to test that your ntb hardware and drivers are functioning at a basic level. Signed-off-by: Allen Hubbe --- Documentation/ntb.txt | 27 + MAINTAINERS

[PATCH v4 18/19] NTB: Rename Intel code names to platform names

2015-06-10 Thread Allen Hubbe
From: Dave Jiang Instead of using the platform code names, use the correct platform names to identify the respective Intel NTB hardware. Signed-off-by: Dave Jiang --- Documentation/ntb.txt | 20 +- drivers/ntb/hw/intel/ntb_hw_intel.c | 620 ++--

Re: [PATCH v2 00/10] kdbus: macros fixes

2015-06-10 Thread David Herrmann
Hi On Tue, Jun 9, 2015 at 10:59 PM, Sergei Zviagintsev wrote: > Fix type conversion and style issues in item macros. > > First submission was in 2 separate emails: > https://lkml.kernel.org/g/1433414370-17557-1-git-send-email-ser...@s15v.net >

Re: [PATCH v2 10/10] samples/kdbus: use parentheses uniformly in KDBUS_FOREACH macro

2015-06-10 Thread David Herrmann
Hi On Tue, Jun 9, 2015 at 11:00 PM, Sergei Zviagintsev wrote: > Enclose all arguments into parentheses to stay consistent across the > whole macro. > > Signed-off-by: Sergei Zviagintsev > --- > samples/kdbus/kdbus-api.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Reviewed-by:

[PATCH v4 07/19] NTB: Differentiate transport link down messages

2015-06-10 Thread Allen Hubbe
The same message "qp %d: Link Down\n" was printed at two locations in ntb_transport. Change the messages so they are distinct. Signed-off-by: Allen Hubbe --- drivers/ntb/ntb_transport.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/ntb/ntb_transport.c

[PATCH v4 08/19] NTB: Do not advance transport RX on link down

2015-06-10 Thread Allen Hubbe
On link down, don't advance RX index to the next entry. The next entry should never be valid after receiving the link down flag. Signed-off-by: Allen Hubbe --- drivers/ntb/ntb_transport.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/ntb/ntb_transport.c

[PATCH v1] ARM: zynq: Fix earlyprintk in big endian mode

2015-06-10 Thread Arun Chandran
earlyprintk messages are not appearing on the terminal emulator during a big endian kernel boot. If we byte swap the sending data it comes properly. Signed-off-by: Arun Chandran --- --- This can be tested by adding 'early_print("early print test\n");' to setup_arch() in arch/arm/kernel/setup.c

[PATCH v4 06/19] NTB: Check the device ID to set errata flags

2015-06-10 Thread Allen Hubbe
From: Dave Jiang Set errata flags for the specific device IDs to which they apply, instead of the whole Xeon hardware class. Signed-off-by: Dave Jiang --- drivers/ntb/hw/intel/ntb_hw_intel.c | 49 + 1 file changed, 44 insertions(+), 5 deletions(-) diff

[PATCH v4 05/19] NTB: Enable link for Intel root port mode in probe

2015-06-10 Thread Allen Hubbe
From: Dave Jiang Link training should be enabled in the driver probe for root port mode. We should not have to wait for transport to be loaded for this to happen. Otherwise the ntb device will not show up on the transparent bridge side of the link. Signed-off-by: Dave Jiang ---

Re: [PATCH v2 06/10] selftests/kdbus: fix precedence issues in macros

2015-06-10 Thread David Herrmann
Hi On Tue, Jun 9, 2015 at 11:00 PM, Sergei Zviagintsev wrote: > `item' argument in KDBUS_ITEM_NEXT macro is not enclosed into > parentheses when the cast operator is applied, which leads to improper > type conversion if `item' is supplied as a complex expression, e.g. > >

[PATCH v4 04/19] NTB: Read peer info from local SPAD in transport

2015-06-10 Thread Allen Hubbe
From: Dave Jiang The transport was writing and then reading the peer scratch pad, essentially reading what it just wrote instead of exchanging any information with the peer. The transport expects the peer values to be the same as the local values, so this issue was not obvious. Signed-off-by:

[PATCH v4 01/19] NTB: Move files in preparation for NTB abstraction

2015-06-10 Thread Allen Hubbe
This patch only moves files to their new locations, before applying the next two patches adding the NTB Abstraction layer. Splitting this patch from the next is intended make distinct which code is changed only due to moving the files, versus which are substantial code changes in adding the NTB

[PATCH 3/9] ARM: STi: DT: Add STiH407 family tsin2 pinctrl configuration

2015-06-10 Thread Peter Griffin
tsin2 channel can be configured for either serial or parallel data transfer. This patch adds the pinctrl config for both possibilities. Signed-off-by: Peter Griffin --- arch/arm/boot/dts/stih407-pinctrl.dtsi | 28 1 file changed, 28 insertions(+) diff --git

Re: [PATCH v5 07/10] x86/asm/acpi: Fix asmvalidate warnings for wakeup_64.S

2015-06-10 Thread Josh Poimboeuf
On Wed, Jun 10, 2015 at 03:19:14PM +0200, Pavel Machek wrote: > Hi! > > > Fix the following asmvalidate warnings: > > > >asmvalidate: arch/x86/kernel/acpi/wakeup_64.o: wakeup_long64()+0x15: > > unsupported jump to outside of function > >asmvalidate: arch/x86/kernel/acpi/wakeup_64.o:

[PATCH 2/9] ARM: STi: DT: Add STiH407 family tsin1 pinctrl configuration

2015-06-10 Thread Peter Griffin
tsin1 channel can be configured for either serial or parallel data transfer. This patch adds the pinctrl config for both possibilities. Signed-off-by: Peter Griffin --- arch/arm/boot/dts/stih407-pinctrl.dtsi | 28 1 file changed, 28 insertions(+) diff --git

[PATCH v4 15/19] NTB: Use NUMA memory in Intel driver

2015-06-10 Thread Allen Hubbe
Allocate memory for the NUMA node of the NTB device. Signed-off-by: Allen Hubbe --- drivers/ntb/hw/intel/ntb_hw_intel.c | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/drivers/ntb/hw/intel/ntb_hw_intel.c b/drivers/ntb/hw/intel/ntb_hw_intel.c index

Re: [RFC PATCH 09/18] kthread: Make it easier to correctly sleep in iterant kthreads

2015-06-10 Thread Steven Rostedt
On Wed, 10 Jun 2015 11:07:24 +0200 Peter Zijlstra wrote: > > Not to mention, tasks in TASK_UNINTERRUPTIBLE state for too long will > > trigger hung task detection. > > Right, and I had not considered that, but it turns out the hung_task > detector checks p->state == TASK_UNINTERRUPTIBLE, so

Re: [PATCH v2 08/10] samples/kdbus: add whitespace

2015-06-10 Thread David Herrmann
Hi On Tue, Jun 9, 2015 at 11:00 PM, Sergei Zviagintsev wrote: > Signed-off-by: Sergei Zviagintsev > --- > samples/kdbus/kdbus-api.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: David Herrmann Thanks David > diff --git a/samples/kdbus/kdbus-api.h

Re: [PATCH v2 09/10] samples/kdbus: fix operator precedence issue in KDBUS_ITEM_NEXT macro

2015-06-10 Thread David Herrmann
Hi On Tue, Jun 9, 2015 at 11:00 PM, Sergei Zviagintsev wrote: > `item' argument in KDBUS_ITEM_NEXT macro is not enclosed into > parentheses when the cast operator is applied, which leads to improper > type conversion if `item' is supplied as a complex expression, e.g. > >

[PATCH v4 16/19] NTB: Improve performance with write combining

2015-06-10 Thread Allen Hubbe
From: Dave Jiang Changing the memory window BAR mappings to write combining significantly boosts the performance. We will also use memcpy that uses non-temporal store, which showed performance improvement when doing non-cached memcpys. Signed-off-by: Dave Jiang --- Added #ifdef

Re: [PATCH] ARM: Re-enable TRACE_IRQFLAGS_SUPPORT on ARMv7-M

2015-06-10 Thread Joachim Eastwood
Hi Daniel, On 9 June 2015 at 19:37, Daniel Thompson wrote: > On 09/06/15 16:01, Russell King - ARM Linux wrote: >> >> On Tue, Jun 09, 2015 at 12:41:50PM +0100, Daniel Thompson wrote: >>> >>> Does the following patch, which makes the arch_irqs_disabled() >>> implementation from asm-generic

[PATCH 4/9] ARM: STi: DT: Add STiH407 family tsin3 pinctrl configuration

2015-06-10 Thread Peter Griffin
tsin3 channel can only be configured for serial data transfer. On B2120 reference design tsin3 is brought out as TSB on the NIMB slot of the B2004A daughter board. Signed-off-by: Peter Griffin --- arch/arm/boot/dts/stih407-pinctrl.dtsi | 12 1 file changed, 12 insertions(+) diff

Re: [PATCH v2 07/10] selftests/kdbus: use parentheses in iteration macros uniformly

2015-06-10 Thread David Herrmann
Hi On Tue, Jun 9, 2015 at 11:00 PM, Sergei Zviagintsev wrote: > Enclose all arguments into parentheses in KDBUS_ITEM_FOREACH and > KDBUS_FOREACH macros to stay consistent across the whole macro. > > Signed-off-by: Sergei Zviagintsev > --- > tools/testing/selftests/kdbus/kdbus-util.h | 8

Re: [PATCH 2/2] drivercore: Fix unregistration path of platform devices

2015-06-10 Thread Rob Herring
+Tony On Wed, Jun 10, 2015 at 2:11 AM, Ricardo Ribalda Delgado wrote: > Hi Kevin, Hi Grant, Hi Greg > > Although I do not agree with everything exposed by Grant, I understand > his concerns as a Maintainer with future support of the code. Also > there is no point in wasting more energy in

[PATCH 5/9] ARM: STi: DT: Add STiH407 family tsin4 pinctrl configuration

2015-06-10 Thread Peter Griffin
tsin4 can only be configured for serial data transfer. However depending on board design, two alternate pin configurations are available. One in pin-controller-front0 and the other in pin-controller-front1. pinctrl_tsin4_serial_alt3 is brought out on B2120 reference design as TSC on NIMA slot of

Re: [PATCH v2 05/10] selftests/kdbus: fix trivial style issues

2015-06-10 Thread David Herrmann
Hi On Tue, Jun 9, 2015 at 11:00 PM, Sergei Zviagintsev wrote: > Signed-off-by: Sergei Zviagintsev > --- > tools/testing/selftests/kdbus/kdbus-enum.h | 1 + > tools/testing/selftests/kdbus/kdbus-util.c | 2 +- > tools/testing/selftests/kdbus/kdbus-util.h | 21 + > 3 files

[PATCH 8/9] ARM: STi: DT: Add STiH407 family tsout1 pinctrl configuration

2015-06-10 Thread Peter Griffin
tsout1 channel can only be configured for serial data tranfer. Signed-off-by: Peter Griffin --- arch/arm/boot/dts/stih407-pinctrl.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi index

Re: [PATCH v3 3/8] Driver core: wakeup the parent device before trying probe

2015-06-10 Thread Andy Shevchenko
On Wed, 2015-06-10 at 02:08 +0200, Rafael J. Wysocki wrote: > On Tuesday, June 09, 2015 01:42:00 AM Rafael J. Wysocki wrote: > > On Monday, June 01, 2015 05:47:57 PM Andy Shevchenko wrote: > > > From: Heikki Krogerus > > > > > > If the parent is still suspended when driver probe is > > >

[PATCH 7/9] ARM: STi: DT: Add STiH407 family tsout0 pinctrl configuration

2015-06-10 Thread Peter Griffin
tsout0 channel can be configured for either serial or parallel data transfer. Both pin configurations are provided. Signed-off-by: Peter Griffin --- arch/arm/boot/dts/stih407-pinctrl.dtsi | 28 1 file changed, 28 insertions(+) diff --git

Re: [PATCH] HSI: nokia-modem: use flags argument of devm_gpiod_get to set direction

2015-06-10 Thread Sebastian Reichel
Hi, On Mon, Jun 08, 2015 at 11:53:45AM +0200, Uwe Kleine-König wrote: > Since 39b2bbe3d715 (gpio: add flags argument to gpiod_get*() functions) > which appeared in v3.17-rc1, the gpiod_get* functions take an additional > parameter that allows to specify direction and initial value for output. >

[PATCH 6/9] ARM: STi: DT: Add STiH407 family tsin5 pinctrl configuration

2015-06-10 Thread Peter Griffin
tsin5 can only be configured for serial data transfer. However depending on board design, two alternate tsin5 pin configurations are available, both in pin-controller-front0. pinctrl_tsin5_serial_alt1 is brought out on B2120 reference design as TSD on NIMB slot of the B2004A daughter board.

[PATCH 9/9] ARM: STi: DT: Add STiH407 family mtsin0 pinctrl configuration

2015-06-10 Thread Peter Griffin
mtsin0 channel can only be configured for parallel data transfer. Signed-off-by: Peter Griffin --- arch/arm/boot/dts/stih407-pinctrl.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi

Re: [PATCH] block: Make CFQ default to IOPS mode on SSDs

2015-06-10 Thread Jens Axboe
On 06/10/2015 12:44 AM, Romain Francoise wrote: Hi, On Tue, Jun 09, 2015 at 11:42:29AM -0600, Jens Axboe wrote: There are a few options to handle this. The attached might work, not tested at all. Basically it adds an io sched registration hook, that is called when we are adding the disk on the

[PATCH 0/9] Add STiH407 fanmily pinctrl DT for tsin, tsout and mtsin channels

2015-06-10 Thread Peter Griffin
Hi folks, This set adds in the necessary DT pinctrl configuration for the transport stream input channels, transport stream output channels and merged transport stream input channels for STiH407 family silicon. Some of these channels have alternate pinctrl configurations depending on the board

[PATCH 1/9] ARM: STi: DT: Add STiH407 family tsin0 pinctrl configuration

2015-06-10 Thread Peter Griffin
tsin0 and be configured as either serial or parallel. This patch adds the pinctrl config for both possiblities. On B2120 reference design tsin0 is brought out as TSA on the NIMA slot of the B2004A daughter board. Signed-off-by: Peter Griffin --- arch/arm/boot/dts/stih407-pinctrl.dtsi | 28

Re: [PATCH v2 04/10] Documentation/kdbus: use parentheses uniformly in KDBUS_ITEM_FOREACH macro

2015-06-10 Thread David Herrmann
Hi On Tue, Jun 9, 2015 at 11:00 PM, Sergei Zviagintsev wrote: > Enclose all arguments into parentheses to stay consistent across the > whole macro. > > Signed-off-by: Sergei Zviagintsev > --- > Documentation/kdbus/kdbus.item.xml | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >

Re: [PATCH v2 03/10] Documentation/kdbus: fix operator precedence issue in KDBUS_ITEM_NEXT macro

2015-06-10 Thread David Herrmann
Hi On Tue, Jun 9, 2015 at 11:00 PM, Sergei Zviagintsev wrote: > `item' argument in KDBUS_ITEM_NEXT macro example is not enclosed into > parentheses when the cast operator is applied, which leads to improper > type conversion if `item' is supplied as a complex expression, e.g. > >

Re: clustered MD

2015-06-10 Thread Goldwyn Rodrigues
On 06/10/2015 03:00 AM, Richard Weinberger wrote: On Wed, Jun 10, 2015 at 5:33 AM, Goldwyn Rodrigues wrote: David Lang has already responded: The idea is to use a RAID device (currently only level 1 mirroring is supported) with multiple nodes of the cluster. Here is a description on how to

Re: [PATCH] clk: at91: modify PMC peripheral clock to deal with newer register layout

2015-06-10 Thread Boris Brezillon
Hi Nicolas, On Wed, 10 Jun 2015 15:42:44 +0200 Nicolas Ferre wrote: > As some more information is added to the PCR register, we'd better use > a copy of its content and modify just the peripheral-related bits. > Implement a read-modify-write for the enable() and disable() callbacks. > > Header

[PATCH v5 6/8] ACPI: add GTDT table parse driver into ACPI driver

2015-06-10 Thread fu . wei
From: Fu Wei This driver adds support for parsing SBSA Generic Watchdog Structure in GTDT, and creating a platform device with that information. This allows the operating system to obtain device data from the resource of platform device. The platform device named "sbsa-gwdt" can be used by the

Re: [PATCH v5 00/10] x86/asm: Compile-time asm code validation

2015-06-10 Thread Josh Poimboeuf
On Wed, Jun 10, 2015 at 03:08:14PM +0200, Andi Kleen wrote: > > > 2. Each callable function must never leave its own bounds (i.e. with a > >jump to outside the function) except when returning. > > That prevents a lot of optimizations with out of line code. In most cases there are ways to

[PATCH] f2fs: drop the volatile_write flag only

2015-06-10 Thread Jaegeuk Kim
When aborting volatile_writes, let's drop its flag and give up any further volatile_writes. Signed-off-by: Jaegeuk Kim --- fs/f2fs/file.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c index 096e08c..53c1b74 100644 --- a/fs/f2fs/file.c

Re: [PATCHv6 26/36] mm: rework mapcount accounting to enable 4k mapping of THPs

2015-06-10 Thread Vlastimil Babka
On 06/03/2015 07:05 PM, Kirill A. Shutemov wrote: We're going to allow mapping of individual 4k pages of THP compound. It means we need to track mapcount on per small page basis. Straight-forward approach is to use ->_mapcount in all subpages to track how many time this subpage is mapped with

Re: [PATCH v2 02/10] kdbus: use parentheses uniformly in KDBUS_ITEMS_FOREACH macro

2015-06-10 Thread David Herrmann
Hi On Tue, Jun 9, 2015 at 11:00 PM, Sergei Zviagintsev wrote: > Enclose all arguments into parentheses to stay consistent across the > whole macro. > > Signed-off-by: Sergei Zviagintsev > --- > ipc/kdbus/item.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Reviewed-by: David

Re: [PATCH v2 01/10] kdbus: fix operator precedence issues in item macros

2015-06-10 Thread David Herrmann
Hi On Tue, Jun 9, 2015 at 10:59 PM, Sergei Zviagintsev wrote: > `_i' argument in KDBUS_ITEM_NEXT and KDBUS_ITEMS_END macros is not > enclosed into parentheses when the cast operator is applied, which > leads to improper type conversion if `_i' is supplied as a complex > expression, e.g. > >

[PATCH v5 8/8] clocksource: simplify ACPI code in arm_arch_timer.c

2015-06-10 Thread fu . wei
From: Fu Wei The patch update arm_arch_timer driver to use the function provided by the new GTDT driver of ACPI. By this way, arm_arch_timer.c can be simplified, and separate all the ACPI GTDT knowledge from this timer driver. Signed-off-by: Fu Wei Signed-off-by: Hanjun Guo ---

[PATCH v5 4/8] Watchdog: introdouce "pretimeout" into framework

2015-06-10 Thread fu . wei
From: Fu Wei Also update Documentation/watchdog/watchdog-kernel-api.txt to introduce: (1)the new elements in the watchdog_device and watchdog_ops struct; (2)the new API "watchdog_init_timeouts" Reasons: (1)kernel already has two watchdog drivers are using "pretimeout":

[PATCH v5 7/8] Watchdog: enable ACPI GTDT support for ARM SBSA watchdog driver

2015-06-10 Thread fu . wei
From: Fu Wei This patch enables ACPI GTDT support for ARM SBSA watchdog driver automatically, if ACPI support is enabled. Signed-off-by: Fu Wei --- drivers/watchdog/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index

[PATCH v5 5/8] Watchdog: introduce ARM SBSA watchdog driver

2015-06-10 Thread fu . wei
From: Fu Wei This driver bases on linux kernel watchdog framework, and use "pretimeout" in the framework. It supports getting timeout and pretimeout from parameter and FDT at the driver init stage. In first timeout, the interrupt routine run panic to save system context. Signed-off-by: Fu Wei

[PATCH v5 3/8] ARM64: add SBSA Generic Watchdog device node in amd-seattle-soc.dtsi

2015-06-10 Thread fu . wei
From: Fu Wei This can be a example of adding SBSA Generic Watchdog device node into some dts files for the Soc which contains SBSA Generic Watchdog. Acked-by: Arnd Bergmann Acked-by: Suravee Suthikulpanit Tested-by: Suravee Suthikulpanit Signed-off-by: Fu Wei ---

[PATCH] clk: at91: modify PMC peripheral clock to deal with newer register layout

2015-06-10 Thread Nicolas Ferre
As some more information is added to the PCR register, we'd better use a copy of its content and modify just the peripheral-related bits. Implement a read-modify-write for the enable() and disable() callbacks. Header file is also modified to have the PCR_DIV mask. Signed-off-by: Nicolas Ferre

Re: [PATCH v5 00/10] x86/asm: Compile-time asm code validation

2015-06-10 Thread Pavel Machek
On Wed 2015-06-10 07:06:08, Josh Poimboeuf wrote: > The previous version of this patch set was named "Compile-time stack > frame pointer validation". I changed the subject from "frame pointer > validation" to "asm code validation" because the focus of the patch set > has changed to be less frame

[PATCH v5 2/8] ARM64: add SBSA Generic Watchdog device node in foundation-v8.dts

2015-06-10 Thread fu . wei
From: Fu Wei This can be a example of adding SBSA Generic Watchdog device node into some dts files for the Soc which contains SBSA Generic Watchdog. Acked-by: Arnd Bergmann Signed-off-by: Fu Wei --- arch/arm64/boot/dts/arm/foundation-v8.dts | 10 ++ 1 file changed, 10 insertions(+)

[PATCH v5 1/8] Documentation: add sbsa-gwdt.txt documentation

2015-06-10 Thread fu . wei
From: Fu Wei The sbsa-gwdt.txt documentation in devicetree/bindings/watchdog is for introducing SBSA(Server Base System Architecture) Generic Watchdog device node info into FDT. Acked-by: Arnd Bergmann Signed-off-by: Fu Wei --- .../devicetree/bindings/watchdog/sbsa-gwdt.txt | 36

[PATCH v5 0/8] Watchdog: introduce ARM SBSA watchdog driver

2015-06-10 Thread fu . wei
From: Fu Wei This patchset: (1)Introduce Documentation/devicetree/bindings/watchdog/sbsa-gwdt.txt for FDT info of SBSA Generic Watchdog, and give two examples of adding SBSA Generic Watchdog device node into the dts files: foundation-v8.dts and amd-seattle-soc.dtsi.

[4.1-rc7] btrfs related VM_BUG_ON in filemap.c

2015-06-10 Thread Dave Jones
Found this on serial console this morning. The machine had rebooted itself shortly afterwards (surprising, given I don't have panic-on-oops or similar set). Dave page:ea0002b0a040 count:4 mapcount:0 mapping:8800abf76ad0 index:0x0 flags:

Re: [PATCH 1/1] irqchip: exynos-combiner: Save IRQ enable set on suspend

2015-06-10 Thread Chanho Park
Hi, On Wed, Jun 10, 2015 at 10:10 PM, Javier Martinez Canillas wrote: > The Exynos interrupt combiner IP looses its state when the SoC enters > into a low power state during a Suspend-to-RAM. This means that if a > IRQ is used as a source, the interrupts for the devices are disabled > when the

Re: [PATCH] GPIO / ACPI: export acpi_gpiochip_request(free)_interrupts for module use

2015-06-10 Thread Linus Walleij
On Wed, Jun 10, 2015 at 11:12 AM, Hanjun Guo wrote: > acpi_gpiochip_request(free)_interrupts can be used for modules, > so export them. This also fixs a compile error when xgene-sb > configured as kernel module. > > Fixes: 733cf014f020 "gpio: xgene: add ACPI support for APM X-Gene GPIO >

Re: [PATCH 1/1] irqchip: exynos-combiner: Save IRQ enable set on suspend

2015-06-10 Thread Shuah Khan
On Wed, Jun 10, 2015 at 7:10 AM, Javier Martinez Canillas wrote: > The Exynos interrupt combiner IP looses its state when the SoC enters > into a low power state during a Suspend-to-RAM. This means that if a > IRQ is used as a source, the interrupts for the devices are disabled > when the system

[PATCH] crypto/drbg: report backend_cra_name when allocation fails

2015-06-10 Thread Sergey Senozhatsky
Be more verbose and also report ->backend_cra_name when crypto_alloc_shash() or crypto_alloc_cipher() fail in drbg_init_hash_kernel() or drbg_init_sym_kernel() correspondingly. Example DRBG: could not allocate digest TFM handle: hmac(sha256) Signed-off-by: Sergey Senozhatsky --- crypto/drbg.c

[RESEND PATCH V2 0/3] Allow user to request memory to be locked on page fault

2015-06-10 Thread Eric B Munson
mlock() allows a user to control page out of program memory, but this comes at the cost of faulting in the entire mapping when it is allocated. For large mappings where the entire area is not necessary this is not ideal. This series introduces new flags for mmap() and mlockall() that allow a

[PATCH] trivial: report backend_cra_name when allocation fails

2015-06-10 Thread Sergey Senozhatsky
Hello, A trivial patch. My wifi stopped working recently, and the error message was not too informative (at least to me): kernel: wlp2s0: authenticate with 64:e5:99:74:dc:44 kernel: wlp2s0: send auth to 64:e5:99:74:dc:44 (try 1/3) kernel: wlp2s0: authenticated kernel: wlp2s0: associate with

[RESEND PATCH V2 1/3] Add mmap flag to request pages are locked after page fault

2015-06-10 Thread Eric B Munson
The cost of faulting in all memory to be locked can be very high when working with large mappings. If only portions of the mapping will be used this can incur a high penalty for locking. For the example of a large file, this is the usage pattern for a large statical language model (probably

[RESEND PATCH V2 2/3] Add mlockall flag for locking pages on fault

2015-06-10 Thread Eric B Munson
Building on the previous patch, extend mlockall() to give a process a way to specify that pages should be locked when they are faulted in, but that pre-faulting is not needed. MCL_ONFAULT is preferrable to MCL_FUTURE for the use cases enumerated in the previous patch becuase MCL_FUTURE will

[RESEND PATCH V2 3/3] Add tests for lock on fault

2015-06-10 Thread Eric B Munson
Test the mmap() flag, the mlockall() flag, and ensure that mlock limits are respected. Note that the limit test needs to be run a normal user. Signed-off-by: Eric B Munson Cc: Shuah Khan Cc: Michal Hocko Cc: linux...@kvack.org Cc: linux-kernel@vger.kernel.org Cc: linux-...@vger.kernel.org ---

[patch added to the 3.12 stable tree] MIPS: KVM: Do not sign extend on unsigned MMIO load

2015-06-10 Thread Jiri Slaby
From: Nicholas Mc Guire This patch has been added to the 3.12 stable tree. If you have any objections, please let us know. === commit ed9244e6c534612d2b5ae47feab2f55a0d4b4ced upstream. Fix possible unintended sign extension in unsigned MMIO loads by casting to uint16_t in the case

Re: [PATCH] overlayfs: Warn on copy up if a process has a R/O fd open to the lower file

2015-06-10 Thread David Howells
Hi Miklós, Al, Any thoughts on taking this upstream? David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

Re: [PATCH v5 07/10] x86/asm/acpi: Fix asmvalidate warnings for wakeup_64.S

2015-06-10 Thread Pavel Machek
On Wed 2015-06-10 07:06:15, Josh Poimboeuf wrote: > Fix the following asmvalidate warnings: > >asmvalidate: arch/x86/kernel/acpi/wakeup_64.o: wakeup_long64()+0x15: > unsupported jump to outside of function >asmvalidate: arch/x86/kernel/acpi/wakeup_64.o: wakeup_long64()+0x55: >

Re: [PATCH v5 07/10] x86/asm/acpi: Fix asmvalidate warnings for wakeup_64.S

2015-06-10 Thread Pavel Machek
Hi! > Fix the following asmvalidate warnings: > >asmvalidate: arch/x86/kernel/acpi/wakeup_64.o: wakeup_long64()+0x15: > unsupported jump to outside of function >asmvalidate: arch/x86/kernel/acpi/wakeup_64.o: wakeup_long64()+0x55: > unsupported jump to outside of function >

[PATCH] cpufreq, Fix overflow in busy_scaled due to long delay

2015-06-10 Thread Prarit Bhargava
I looked into switching to div64_s64() instead of the 32-bit version in div_fp(), however, this would result in sample_ratio and core_busy returning 0 which is something we don't want. P. ---8<--- The kernel may delay interrupts for a long time which can result in timers being delayed. If this

Re: [RFT v2 34/48] pinctrl: Prepare for killing the first parameter 'irq' of irq_flow_handler_t

2015-06-10 Thread Linus Walleij
On Thu, Jun 4, 2015 at 6:13 AM, Jiang Liu wrote: > Change irq flow handler to prepare for killing the first parameter 'irq' > of irq_flow_handler_t. > > Signed-off-by: Jiang Liu Acked-by: Linus Walleij Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH 0/3] TLB flush multiple pages per IPI v5

2015-06-10 Thread Andi Kleen
On Tue, Jun 09, 2015 at 02:54:01PM -0700, Linus Torvalds wrote: > On Tue, Jun 9, 2015 at 2:14 PM, Dave Hansen wrote: > > > > The 0 cycle TLB miss was also interesting. It goes back up to something > > reasonable if I put the mb()/mfence's back. > > So I've said it before, and I'll say it again:

[PATCH 1/1] irqchip: exynos-combiner: Save IRQ enable set on suspend

2015-06-10 Thread Javier Martinez Canillas
The Exynos interrupt combiner IP looses its state when the SoC enters into a low power state during a Suspend-to-RAM. This means that if a IRQ is used as a source, the interrupts for the devices are disabled when the system is resumed from a sleep state so are not triggered. Save the interrupt

Re: [PATCH v6 0/6] i2c: at91: add support to FIFOs and alternative command

2015-06-10 Thread Wolfram Sang
> After fixing the version string in patch 5 as mentioned there, and added > the acks from Ludovic for the previous version. > > Applied to for-next, thanks! And unrelated to your series, just in case you feel like it, my code checkers say: drivers/i2c/busses/i2c-at91.c:213: style: Checking if

Re: [PATCHv3 00/16] vme DMA and user space driver improvements

2015-06-10 Thread Dmitry Kalinkin
On Sun, May 31, 2015 at 6:06 AM, Greg Kroah-Hartman wrote: > On Thu, May 28, 2015 at 03:06:57PM +0300, Dmitry Kalinkin wrote: >> The first item in this submission documents previously introduced >> vme_master_mmap() call. Following, there are three fixes for the tsi148 >> driver's DMA. There was

[PATCH] x86/mm/fault: Put pgd_lock in its own cacheline

2015-06-10 Thread Waiman Long
On a large system with many cores, massive creation or destruction of processes/threads can sometime cause a fair amount of spinlock contention in the pgd_lock used by the pgd_alloc() and pgd_free() functions. This patch tries to reduce false cacheline sharing by putting the pgd_lock in its own

Re: [PATCH v5 00/10] x86/asm: Compile-time asm code validation

2015-06-10 Thread Andi Kleen
> 2. Each callable function must never leave its own bounds (i.e. with a >jump to outside the function) except when returning. That prevents a lot of optimizations with out of line code. In fact even gcc with the right options can generate code that violates this. Standard Linux

[PATCH RFC] drm/i2c: tda998x: dead-code or unhandled error condition ?

2015-06-10 Thread Nicholas Mc Guire
ire --- Can't really determine what the right fix for this would be - someone that knows this driver would need to check - in any case the current code seems broken. Patch was compile tested with x86_64_defconfig + CONFIG_DRM_I2C_SIL164=m Patch is against 4.1-rc7 (localversion-next is -next-20150

[PATCH] gpio / ACPI: Return -EPROBE_DEFER if the gpiochip was not found

2015-06-10 Thread Mika Westerberg
If a driver requests a GPIO described in its _CRS but the GPIO host controller (gpiochip) driver providing the GPIO has not been loaded yet acpi_get_gpiod() returns -ENODEV which causes the calling driver to fail. If the gpiochip driver is loaded afterwards the driver requesting the GPIO will not

Re: [PATCH 20/28] ARCv2: barriers

2015-06-10 Thread Will Deacon
On Wed, Jun 10, 2015 at 11:58:40AM +0100, Peter Zijlstra wrote: > On Wed, Jun 10, 2015 at 09:34:18AM +, Vineet Gupta wrote: > > On Tuesday 09 June 2015 06:10 PM, Peter Zijlstra wrote: > I think the most interesting part is the device side. > > > >> +/* > > >> + * DSYNC: > > >> + * - Waits

Re: [PATCH] HSI: nokia-modem: use flags argument of devm_gpiod_get to set direction

2015-06-10 Thread Linus Walleij
On Mon, Jun 8, 2015 at 11:53 AM, Uwe Kleine-König wrote: > Since 39b2bbe3d715 (gpio: add flags argument to gpiod_get*() functions) > which appeared in v3.17-rc1, the gpiod_get* functions take an additional > parameter that allows to specify direction and initial value for output. > > Use this to

Re: [PATCH] MIPS: KVM: do not sign extend on unsigned MMIO load

2015-06-10 Thread Jiri Slaby
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 06/08/2015, 10:33 AM, James Hogan wrote: > Hi stable folk, > > On 08/05/15 15:16, James Hogan wrote: >> On 07/05/15 13:47, Nicholas Mc Guire wrote: >>> Fix possible unintended sign extension in unsigned MMIO loads >>> by casting to uint16_t in

Re: [PATCH v6 0/6] i2c: at91: add support to FIFOs and alternative command

2015-06-10 Thread Wolfram Sang
On Tue, Jun 09, 2015 at 06:22:13PM +0200, Cyrille Pitchen wrote: > ChangeLog > > v6: > - replace "at91sama5d2" by "sama5d2". > > v5: > - print I2C controller version in an already existing dev_info() instead of > adding a new one. > > v4: > - replace 0x%x by %#x when printing I2C controller

[RFC][PATCH] printk: Fixup the nmi printk mess

2015-06-10 Thread Peter Zijlstra
Hi, I just stumbled upon: a9edc8809328 ("x86/nmi: Perform a safe NMI stack trace on all CPUs") Which is not dissimilar to what I've proposed in the past. Except its squirreled away in some far and dark corner of one arch. Lets fix that. --- arch/Kconfig | 4 ++

[PATCH 2/2] perf tools: Fix Intel PT getting stuck in a loop

2015-06-10 Thread Adrian Hunter
Check for being stuck in a loop. That can happen if a decoder error results in the decoder erroneously setting the ip to an address that is itself in an infinite loop that consumes no packets. The only way to be in a loop that consumes no packets is if it consists of unconditional branches. So

[PATCH 1/2] perf tools: Improve Intel PT sync to sideband events

2015-06-10 Thread Adrian Hunter
To help synchronize trace data with sideband events the timestamp when returning to userspace is estimated. That was not always being done if switch information was not available, but it is still useful for sync'ing to mmap changes, so simplify by doing it always when TSC is available. Also add

[PATCH 0/2] perf tools: A couple more Intel PT patches

2015-06-10 Thread Adrian Hunter
Hi Here are a couple more patches for Intel PT. They apply on top of the patches already sent. The whole lot can be found here: http://git.infradead.org/users/ahunter/linux-perf.git Adrian Hunter (2): perf tools: Improve Intel PT sync to sideband events perf tools: Fix

Re: Audio crackles with 4.1-rc1

2015-06-10 Thread Takashi Iwai
At Wed, 10 Jun 2015 14:33:42 +0200, Takashi Iwai wrote: > > At Wed, 10 Jun 2015 14:45:51 +0300, > Mihai Donțu wrote: > > > > On Wed, 10 Jun 2015 12:50:22 +0200 Takashi Iwai wrote: > > > At Wed, 10 Jun 2015 13:41:35 +0300, Mihai Donțu wrote: > > > > On Wed, 10 Jun 2015 12:22:53 +0200 Takashi Iwai

RFC: futex_wait() can DoS the tick

2015-06-10 Thread Mike Galbraith
Greetings, Like so... #include #include #include #include int sys_futex(void *addr1, int op, int val1, struct timespec *timeout, void *addr2, int val3) { return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); } int main() { struct timespec t; int f =

Re: [PATCH 09/15] mfd: kill off set_irq_flags usage

2015-06-10 Thread Linus Walleij
On Tue, Jun 9, 2015 at 8:26 PM, Rob Herring wrote: > set_irq_flags is ARM specific with custom flags which have genirq > equivalents. Convert drivers to use the genirq interfaces directly, so we > can kill off set_irq_flags. The translation of flags is as follows: > > IRQF_VALID ->

Re: [PATCH 05/15] gpio: kill off set_irq_flags usage

2015-06-10 Thread Linus Walleij
On Tue, Jun 9, 2015 at 8:26 PM, Rob Herring wrote: > set_irq_flags is ARM specific with custom flags which have genirq > equivalents. Convert drivers to use the genirq interfaces directly, so we > can kill off set_irq_flags. The translation of flags is as follows: > > IRQF_VALID ->

Re: [PATCH 11/15] pinctrl: kill off set_irq_flags usage

2015-06-10 Thread Linus Walleij
On Tue, Jun 9, 2015 at 8:26 PM, Rob Herring wrote: > set_irq_flags is ARM specific with custom flags which have genirq > equivalents. Convert drivers to use the genirq interfaces directly, so we > can kill off set_irq_flags. The translation of flags is as follows: > > IRQF_VALID ->

United Nations Secretary General for Humanitarian Affairs

2015-06-10 Thread U / N
Please read the attached letter and immediately contact the bank for your draft/cheque claim. --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus United Nations Compensation Unit.pdf Description: Adobe PDF document

[PATCH] ipmi: Convert the IPMI SI ACPI handling to a platform device

2015-06-10 Thread minyard
From: Corey Minyard The IPMI SI driver was using direct PNP, but that was not really ideal because the IPMI device is a platform device. There was some special handling in the acpi_pnp.c code for making this work, but that was breaking ACPI handling for the IPMI SSIF driver. So use a platform

Re: [PATCH] ARM: module: Add ".ref.text" to arm unwind tables

2015-06-10 Thread Russell King - ARM Linux
On Wed, Jun 10, 2015 at 12:25:54PM -, vigne...@codeaurora.org wrote: > Gentle reminder for review comments. I don't see anything wrong with the patch... but it needs to find its way into the patch system to be applied, so it doesn't get forgotten. Please add it there along with Laura's

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