Re: [PATCH 1/5] SCSI: sd: simplify ida usage

2015-10-02 Thread Johannes Thumshirn
Lee Duncan writes: > Simplify ida index allocation and removal by > using the ida_simple_* helper functions. > > Signed-off-by: Lee Duncan > --- > drivers/scsi/sd.c | 22 +- > 1 file changed, 5 insertions(+), 17 deletions(-) > > diff --git a/drivers/scsi/sd.c b/drivers/scsi/

Re: [PATCH 3/5] block: nvme-core: simplify ida usage

2015-10-02 Thread Johannes Thumshirn
Lee Duncan writes: > Simplify ida index allocation and removal by > using the ida_simple_* helper functions. > > Signed-off-by: Lee Duncan > --- > drivers/block/nvme-core.c | 16 > 1 file changed, 4 insertions(+), 12 deletions(-) > > diff --git a/drivers/block/nvme-core.c b/dri

Re: [PATCH 2/5] block: rsxx: core: simplify ida usage

2015-10-02 Thread Johannes Thumshirn
Lee Duncan writes: > Simplify ida index allocation and removal by > using the ida_simple_* helper functions. > > Signed-off-by: Lee Duncan > --- > drivers/block/rsxx/core.c | 20 > 1 file changed, 4 insertions(+), 16 deletions(-) > > diff --git a/drivers/block/rsxx/core.c b

Re: [PATCH] pinctrl: sirf: Fix module autoloading for OF

2015-10-02 Thread Linus Walleij
On Wed, Sep 16, 2015 at 12:51 AM, Javier Martinez Canillas wrote: > On 09/16/2015 09:43 AM, Javier Martinez Canillas wrote: >> Drivers needs to export the OF id table and this be built into >> the module or udev won't have the necessary information to auto >> load the driver module when the device

[RESEND][PATCH] serial: 8250: simplify ralink/alchemy register remap selection

2015-10-02 Thread Mans Rullgard
Some SoCs, including Ralink/Mediatek and Alchemy Au1xxx, have a 16550-like UART with a non-standard register layout. These are supported by a simple mapping table in 8250_port.c Rather than list every SoC type using this access mode in the ifdefs there, allow selecting the SERIAL_8250_RT288X Kcon

Re: [PATCH 1/6] pinctrl: tz1090: Remove unneded semicolons

2015-10-02 Thread Linus Walleij
On Wed, Sep 16, 2015 at 1:28 AM, Javier Martinez Canillas wrote: > They aren't needed and are just creating null statements so remove it. > > Signed-off-by: Javier Martinez Canillas Patch applied. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" i

Re: [PATCH 5/5] base: soc: siplify ida usage

2015-10-02 Thread Johannes Thumshirn
Lee Duncan writes: > Simplify ida index allocation and removal by > using the ida_simple_* helper functions > > Signed-off-by: Lee Duncan > --- > drivers/base/soc.c | 21 + > 1 file changed, 5 insertions(+), 16 deletions(-) > > diff --git a/drivers/base/soc.c b/drivers/base/

Re: [PATCH 4/5] block: mtip32xx: simplify ida usage

2015-10-02 Thread Johannes Thumshirn
Lee Duncan writes: > Simplify ida index allocation and removal by > using the ida_simple_* helper functions > > Signed-off-by: Lee Duncan > --- > drivers/block/mtip32xx/mtip32xx.c | 26 ++ > 1 file changed, 6 insertions(+), 20 deletions(-) > > diff --git a/drivers/block/

Re:You have been selected as recipient/benefactor for $5Million Dollars

2015-10-02 Thread award23
Message from Saudi Arabia Prince Alwaleed bin Talal for his charity donation and You have been selected as recipient/benefactor for $5Million Dollars from Alwaleed Philanthropic Foundation Grant.for more information contact Via email to behzadhami...@yahoo.com Behzad Hamid --- This email has

Re: [PATCH 2/6] pinctrl: tz1090-pdc: Remove unneded semicolons

2015-10-02 Thread Linus Walleij
On Wed, Sep 16, 2015 at 1:28 AM, Javier Martinez Canillas wrote: > They aren't needed and are just creating null statements so remove it. > > Signed-off-by: Javier Martinez Canillas Patch applied. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" i

[PATCH] ovs: do not allocate memory from offline numa node

2015-10-02 Thread Konstantin Khlebnikov
When openvswitch tries allocate memory from offline numa node 0: stats = kmem_cache_alloc_node(flow_stats_cache, GFP_KERNEL | __GFP_ZERO, 0) It catches VM_BUG_ON(nid < 0 || nid >= MAX_NUMNODES || !node_online(nid)) [ replaced with VM_WARN_ON(!node_online(nid)) recently ] in linux/gfp.h This patch d

Re: [PATCH 3/6] pinctrl: mxs: Remove unneded semicolon

2015-10-02 Thread Linus Walleij
On Wed, Sep 16, 2015 at 1:28 AM, Javier Martinez Canillas wrote: > It's not needed an is just creating a null statement, so remove it. > > Signed-off-by: Javier Martinez Canillas Patch applied with Uwe's ACK. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe lin

Re: [Dell XPS 13 9343] Random kernel Oops at boot with "acpi=ht", disappearing with "acpi=off"

2015-10-02 Thread Mika Westerberg
On Fri, Oct 02, 2015 at 11:59:38AM +0200, Niccolò Belli wrote: > Hi, > This laptop suffers of random kernel hangs at boot: I tested kernel 4.1.8, > 4.2.1 and 4.3-rc3 and they are all affected. > Every time I turn on my laptop I have to boot several times to be able to > reach the sddm login because

Re: [PATCH 4/6] pinctrl: sunxi: Remove unneeded semicolon

2015-10-02 Thread Linus Walleij
On Wed, Sep 16, 2015 at 1:28 AM, Javier Martinez Canillas wrote: > It's not needed an is just creating a null statement, so remove it. > > Signed-off-by: Javier Martinez Canillas Patch applied with Maxime's ACK. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH 5/6] pinctrl: mediatek: Remove unneded semicolon

2015-10-02 Thread Linus Walleij
On Wed, Sep 16, 2015 at 1:28 AM, Javier Martinez Canillas wrote: > It's not needed an is just creating a null statement, so remove it. > > Signed-off-by: Javier Martinez Canillas Patch applied with Hongzhou's ACK. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscrib

Re: [PATCH 3/3] tps65912: Cleanup TPS65912 subdevice configuration dependencies

2015-10-02 Thread Linus Walleij
On Tue, Sep 15, 2015 at 10:57 AM, Andrew F. Davis wrote: > The TPS65912 subdevices depend on the mfd core and not any particular > interface. The core is only enabled by enabling an interface so this > is safe. > > Signed-off-by: Andrew F. Davis Acked-by: Linus Walleij I assume Lee will merge

Re: [PATCH 6/6] pinctrl: samsung: Remove unneded semicolon

2015-10-02 Thread Linus Walleij
On Wed, Sep 16, 2015 at 1:28 AM, Javier Martinez Canillas wrote: > It's not needed an is just creating a null statement, so remove it. > > Signed-off-by: Javier Martinez Canillas Patch applied with Krzysztof's Review-tag. Yours, Linus Walleij -- To unsubscribe from this list: send the line "un

[PATCH 0/4] PCI: rcar: Add support for ARM64 and multiple instances

2015-10-02 Thread Phil Edworthy
Fixes and changes to get PCIe working on ARM64 with mulitple instances. I've tested these on ARM (Koelsch board), and it works fine. I've also tested on ARM64 (Salvator-X board), but I currently have an issue with inbound PCI accesses. I am reasonably sure that this problem is hardware related. P

[PATCH 1/4] PCI: rcar-pcie: Make PCI aware of the IO resources

2015-10-02 Thread Phil Edworthy
Signed-off-by: Phil Edworthy --- drivers/pci/host/pcie-rcar.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/pci/host/pcie-rcar.c b/drivers/pci/host/pcie-rcar.c index 7678fe0..27e2c20 100644 --- a/drivers/pci/host/pcie-rcar.c +++ b/drivers/pci/host/pcie-rcar.c @@

[PATCH 2/4] PCI: rcar-pcie: Remove dependency on ARM-specific struct hw_pci

2015-10-02 Thread Phil Edworthy
The R-Car PCIe host controller driver uses pci_common_init_dev(), which is ARM-specific and requires the ARM struct hw_pci. The part of pci_common_init_dev() that is needed is limited and can be done here without using hw_pci. Note that the ARM pcibios functions expect the PCI sysdata to be a poin

[PATCH 3/4] PCI: rcar-pcie: Set root bus nr to that provided in DT

2015-10-02 Thread Phil Edworthy
On ARM64, setting the root bus number to -1 causes probe failure. Moreover, we should use the bus number specified in the DT as we could have multiple PCIe controllers with different bus ranges. Signed-off-by: Phil Edworthy --- drivers/pci/host/pcie-rcar.c | 2 +- 1 file changed, 1 insertion(+),

Re: [PATCH 0/9] drivers:mtd:UBI: add bakvol module for MLC NAND paired page issue

2015-10-02 Thread Richard Weinberger
Bean, Am 30.09.2015 um 08:55 schrieb Richard Weinberger: >> By the way, Do you review my patches series ? I don't backup duplicated data >> in OOB . >> Can you specify which sector codes ? so that I can explain it in detail. > > Okay. Maybe both Boris and I misread your code, can you please expl

[PATCH 4/4] PCI: rcar-pcie: Fix IO offset for multiple instances

2015-10-02 Thread Phil Edworthy
Signed-off-by: Phil Edworthy --- drivers/pci/host/pcie-rcar.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/pci/host/pcie-rcar.c b/drivers/pci/host/pcie-rcar.c index 8e583c2..f4fa6c5 100644 --- a/drivers/pci/host/pcie-rcar.c +++ b/drivers/pci/host/pcie-rcar.

Re: [PATCH v3] tpm, tpm_tis: fix tpm_tis ACPI detection issue with TPM 2.0

2015-10-02 Thread Jarkko Sakkinen
On Wed, Sep 30, 2015 at 06:19:28PM +0300, Jarkko Sakkinen wrote: > Both for FIFO and CRB interface TCG has decided to use the same HID > MSFT0101. They can be differentiated by looking at the start method from > TPM2 ACPI table. This patches makes necessary fixes to tpm_tis and > tpm_crb modules in

[PATCH V1] rtc: GPL copyright inconsistency fix

2015-10-02 Thread Steve Twiss
From: Steve Twiss Fix misleading and inconsistent copyright header wording. Alter the copyright header text and MODULE_LICENSE macro to ensure the GPL v2 licence description is correctly represented. It will remove the incorrectly LGPL worded text. Words such as "Library" from the line "GNU Lib

Re: [PATCH] input: gpio_keys: Don't report events on gpio failure

2015-10-02 Thread Linus Walleij
On Mon, Jul 27, 2015 at 6:50 PM, Bjorn Andersson wrote: > In the cases where the gpio chip fails to acquire the current state an > error is reported back to gpio_keys. This is currently interpreted as if > the line went high, which just confuses the developer. > > This patch introduces an error p

Re: [PATCH] soc: mediatek: Fix random hang up issue while kernel init

2015-10-02 Thread James Liao
HI Daniel, On Fri, 2015-10-02 at 17:25 +0800, Daniel Kurtz wrote: > Actually, I should have proposed adding prepare / unprepare callbacks > to mtk_clk_gate_ops in which we prepare_enable/disable_unprepare > venc_sel (& mm_sel). > This should correctly track all of the clk reference counting needed

Re: [PATCH v2 1/6] pinctrl: berlin: regmap as an extra argument of berlin_pinctrl_probe()

2015-10-02 Thread Linus Walleij
On Mon, Sep 21, 2015 at 3:04 AM, Jisheng Zhang wrote: > Let berlin_pinctrl_probe() accepts an extra argument: regmap, this is to > prepare for the next berlin4ct support, where we won't use simple-mfd > any more. > > Signed-off-by: Jisheng Zhang Waiting for Antoine's review of this patch before

Re: [PATCH 01/17] rtc: pl031: remove misuse of IRQF_NO_SUSPEND flag

2015-10-02 Thread Linus Walleij
On Mon, Sep 21, 2015 at 8:46 AM, Sudeep Holla wrote: > The IRQF_NO_SUSPEND flag is used to identify the interrupts that should > be left enabled so as to allow them to work as expected during the > suspend-resume cycle, but doesn't guarantee that it will wake the system > from a suspended state,

Re: [PATCH 02/17] rtc: ab8500: remove misuse of IRQF_NO_SUSPEND flag

2015-10-02 Thread Linus Walleij
On Mon, Sep 21, 2015 at 8:46 AM, Sudeep Holla wrote: > The IRQF_NO_SUSPEND flag is used to identify the interrupts that should > be left enabled so as to allow them to work as expected during the > suspend-resume cycle, but doesn't guarantee that it will wake the system > from a suspended state,

Re: Force mkiss to reset the line discipline when serial device is removed

2015-10-02 Thread Thomas Osterried
Hello, > Am 02.10.2015 um 10:30 schrieb Jean-Christian de Rivaz : > > Le 02. 10. 15 00:57, Peter Hurley a écrit : >> On 10/01/2015 12:56 PM, Jean-Christian de Rivaz wrote: >>> Hi Greg and Jiri, >>> >>> I try to fix a kernel panic bug related to the AX25 (and probably SLIP) >>> line discipline

Re: [PATCH 01/17] rtc: pl031: remove misuse of IRQF_NO_SUSPEND flag

2015-10-02 Thread Sudeep Holla
On 02/10/15 11:40, Linus Walleij wrote: On Mon, Sep 21, 2015 at 8:46 AM, Sudeep Holla wrote: The IRQF_NO_SUSPEND flag is used to identify the interrupts that should be left enabled so as to allow them to work as expected during the suspend-resume cycle, but doesn't guarantee that it will wak

[PATCH 0/3] net: dsa: Complete and fix the dsa unbinding

2015-10-02 Thread Neil Armstrong
In order to cleanly unbind the dsa core, either as a module removal, or a platform device unbind, switch the allocation the their devm_ counterparts and complete the destroy functions. The last patch is an experimental way to exit the probe when no switch is found in the discover process. The pat

[PATCH 2/3] net: dsa: complete dsa_switch_destroy calls

2015-10-02 Thread Neil Armstrong
When unbinding dsa, complete the dsa_switch_destroy to cleanly destroy and unregister the net and mdio devices. Tested-by: Andrew Lunn Tested-by: Florian Fainelli Signed-off-by: Neil Armstrong --- net/dsa/dsa.c | 42 ++ 1 file changed, 42 insertions(+)

[PATCH 3/3] net: dsa: exit probe if no switch were found

2015-10-02 Thread Neil Armstrong
If no switch were found in dsa_setup_dst, return -ENODEV and exit the dsa_probe cleanly. Tested-by: Andrew Lunn Tested-by: Florian Fainelli Signed-off-by: Neil Armstrong --- net/dsa/dsa.c | 19 +++ 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/net/dsa/dsa.c b/n

[PATCH 1/3] net: dsa: Use devm_ prefixed allocations

2015-10-02 Thread Neil Armstrong
To simplify and prevent memory leakage when unbinding, use the devm_ memory allocation calls. Tested-by: Andrew Lunn Tested-by: Florian Fainelli Signed-off-by: Neil Armstrong --- net/dsa/dsa.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/dsa/dsa.c b/net/dsa/dsa

Re: [PATCH 2/2] slab.h: sprinkle __assume_aligned attributes

2015-10-02 Thread Christoph Lameter
On Fri, 2 Oct 2015, Rasmus Villemoes wrote: > The various allocators return aligned memory. Telling the compiler > that allows it to generate better code in many cases, for example when > the return value is immediately passed to memset(). Looks good. Acked-by: Christoph Lameter -- To unsubsc

Re: [PATCH v1 5/8] gpio: pca953x: store driver_data for future use

2015-10-02 Thread Linus Walleij
On Tue, Sep 22, 2015 at 3:10 AM, Andy Shevchenko wrote: > Instead of using id->driver_data directly we copied it to the internal > structure. This will help to adapt driver for ACPI use. > > Signed-off-by: Andy Shevchenko Gregory, Grygorii, Graeme: can I get some help in reviewing these PCA pat

Re: [PATCH v1 6/8] gpio: pca953x: support ACPI devices found on Galileo Gen2

2015-10-02 Thread Linus Walleij
On Tue, Sep 22, 2015 at 3:10 AM, Andy Shevchenko wrote: > This patch adds a support of the expandes found on Intel Galileo Gen2 board. > The platform information comes from ACPI. > > Signed-off-by: Andy Shevchenko Paging Gregory, Grygorii, Graeme on this patch too. Yours, Linus Walleij -- To u

KDBUS and freezing of DBUS-querying applications

2015-10-02 Thread Мисбах-Соловьёв Вадим
Hello! I'm experiencing a strange issue, when using KDBUS, but I don't know how to properly report it and which info I should proide in addition to th one below. In short, some userspace applications I'm using are freezing for about a minute or so, when thy trying to query system bus. Mostly i

Re: [PATCH RESEND] gpio: Fix error checking in the function device_pca957x_init

2015-10-02 Thread Linus Walleij
On Thu, Sep 24, 2015 at 2:09 AM, Nicholas Krause wrote: > This fixes error checking in the function device_pca957x_init > to properly check and return error code values from the calls > to the function pca953x_write_regs if they fail as to properly > signal callers when a error occurs due a failu

Re: [PATCH v3 0/2] pinctrl: uniphier: one fix, one addition

2015-10-02 Thread Linus Walleij
On Thu, Sep 24, 2015 at 5:26 AM, Masahiro Yamada wrote: > 1/2 is a bug fix, but it is not very critical. > I can wait until 4.4-rc1 if it is a hassle. > > 2/2 provides some more pin-mux settings. > > > Changes in v3: > - Sort pin groups alphabetically > - Add missing UNIPHIER_PINMUX_FUNCTION(

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

2015-10-02 Thread Linus Walleij
On Tue, Sep 22, 2015 at 8:38 AM, 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 Patch applied with Maxime's ACK. Yours,

Re: [PATCH v3 1/5] Documentation: tps65912: Add DT bindings for the TPS65912 PMIC

2015-10-02 Thread Linus Walleij
On Thu, Sep 24, 2015 at 7:52 AM, Andrew F. Davis wrote: > The TPS65912 PMIC contains several regulators and a GPIO controller. > Add bindings for the TPS65912 PMIC. > > Signed-off-by: Andrew F. Davis Reviewed-by: Linus Walleij For GPIO bindings. Yours, Linus Walleij -- To unsubscribe from th

Re: [PATCH] Documentation: gpio: mention that -gpio has been deprecated

2015-10-02 Thread Linus Walleij
On Mon, Sep 21, 2015 at 6:14 AM, Javier Martinez Canillas wrote: > The gpiolib supports parsing DT properties of the form -gpio > but it was only added for compatibility with older DT bindings that got > it wrong and should not be used in newer bindings. > > The commit that added support for this

Re: [PATCH] GPIO: Add GPIO support for the ACCES 104-IDIO-16

2015-10-02 Thread kbuild test robot
Hi William, [auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore] config: microblaze-allmodconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x

Re: [PATCH] fuse: break infinite loop in fuse_fill_write_pages()

2015-10-02 Thread Konstantin Khlebnikov
Bump. Add more peopple in CC. On Mon, Sep 21, 2015 at 1:02 PM, Roman Gushchin wrote: > I got a report about unkillable task eating CPU. Thge further > investigation shows, that the problem is in the fuse_fill_write_pages() > function. If iov's first segment has zero length, we get an infinite > l

Re: [PATCH 01/11 RESEND] ARM: OMAP: DRA7: hwmod: Add data for McASP3

2015-10-02 Thread Peter Ujfalusi
Paul, On 10/02/2015 12:07 PM, Paul Walmsley wrote: > Hello Péter, > > On Wed, 30 Sep 2015, Peter Ujfalusi wrote: > >> On 09/27/2015 10:02 AM, Paul Walmsley wrote: /* + * 'mcasp' class + * + */ +static struct omap_hwmod_class_sysconfig dra7xx_mcasp_sysc = { + .sysc

[PATCH] staging: media: bcm2048: Fixed line over 80 characters long

2015-10-02 Thread Anjali Menon
This is a patch that fixes line over 80 characters coding style warning detected by checkpatch.pl. WARNING: line over 80 characters Signed-off-by: Anjali Menon --- drivers/staging/media/bcm2048/radio-bcm2048.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging

Re: [PATCH] x86: guest: rely on leaf 0x40000001 to detect Hyper-V

2015-10-02 Thread Vitaly Kuznetsov
Paolo Bonzini writes: > The specification says that "Microsoft Hv" is actually a vendor ID field > that is only used for reporting and diagnostic purposes. The actual > field that you need to check is the interface ID that you get in eax > when querying the HYPERV_CPUID_INTERFACE. > > Change ms_

[PATCH 1/3] Input: db9 - store object at correct index

2015-10-02 Thread Sudip Mukherjee
The variable i is used to check the port to attach to and we are supposed to save the reference of struct db9 in the location given by db9_base[i]. But after finding out the index i is getting modified again so we saved in a wrong index. Fixes: 2260c419b52b ("Input: db9 - use parallel port device

[PATCH 2/3] Input: gamecon - store object at correct index

2015-10-02 Thread Sudip Mukherjee
The variable i is used to check the port to attach to and we are supposed to save the reference of struct gc in the location given by gc_base[i]. But after finding out the index i is getting modified again so we saved in a wrong index. Reported-by: Dan Carpenter Fixes: a517e87c3dfc ("Input: gamec

[PATCH 3/3] Input: turbografx - store object in correct index

2015-10-02 Thread Sudip Mukherjee
The variable i is used to check the port to attach to and we are supposed to save the reference of struct tgfx in the location given by tgfx_base[i]. But after finding out the index i is getting modified again so we saved in a wrong index. Fixes: 4de27a638a99 ("Input: turbografx - use parallel por

Re: [PATCH -mm v2 1/3] mm/oom_kill: remove the wrong fatal_signal_pending() check in oom_kill_process()

2015-10-02 Thread Tetsuo Handa
Oleg Nesterov wrote: > On 10/01, Michal Hocko wrote: > > > > zap_process will add SIGKILL to all threads but the > > current which will go on without being killed and if this is not a > > thread group leader then we would miss it. > > Yes. And note that de_thread() does the same. Speaking of oom-k

[PATCH] staging: octeon: Removed trailing whitespaces

2015-10-02 Thread Anjali Menon
Removed trailing whitespace in the blank line to fix the coding style error detected by checkpatch.pl ERROR: trailing whitespace Signed-off-by: Anjali Menon --- drivers/staging/octeon/ethernet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/octeon/ethernet.

[PATCH v2 1/2] selftests/pstore: add pstore test script for pre-reboot

2015-10-02 Thread Hiraku Toyooka
The pstore_tests script includes test cases which check pstore's behavior before crash (and reboot). The test cases are currently following. - Check pstore backend is registered - Check pstore console is registered - Check /dev/pmsg0 exists - Write unique string to /dev/pmsg0 The unique string w

[PATCH v2 0/2] selftests/pstore: add pstore test script

2015-10-02 Thread Hiraku Toyooka
These scripts include test cases which check pstore behavior. This is useful to avoid regressions of pstore. Changes since v1: * Exit with 1 in pstore/Makefile when pstore_crash_test failed. * Create helper functions to make the tests much more readable. * Use /sys/module/pstore/parameters/back

[PATCH v2 2/2] selftests/pstore: add pstore test scripts going with reboot

2015-10-02 Thread Hiraku Toyooka
To test pstore in earnest, we have to cause kernel crash and check pstore filesystem after reboot. We add two scripts: - pstore_crash_test This script causes kernel crash and reboot. It is executed by 'make run_pstore_crash' in selftests. It can also be used with kdump. - pstore_post_r

Re: [PATCH 3/6] pinctrl: mxs: Remove unneded semicolon

2015-10-02 Thread Uwe Kleine-König
Hallo Linus, On Fri, Oct 02, 2015 at 03:18:41AM -0700, Linus Walleij wrote: > Patch applied with Uwe's ACK. if it's not too late already: $Subject ~= s/ned/need/ Uwe -- Pengutronix e.K. | Uwe Kleine-König| Industrial Linux Solutions | http:/

Re: [PATCH 26/26] x86, pkeys: Documentation

2015-10-02 Thread Paolo Bonzini
On 02/10/2015 00:48, Linus Torvalds wrote: > It's quite likely that you will find that compilers put read-only > constants in the text section, knowing that executable means readable. Not on x86 (because it has large immediates; RISC machines and s390 do put large constants in the text section).

Re: [PATCH 01/11 RESEND] ARM: OMAP: DRA7: hwmod: Add data for McASP3

2015-10-02 Thread Peter Ujfalusi
On 10/02/2015 02:22 PM, Peter Ujfalusi wrote: > Paul, > > On 10/02/2015 12:07 PM, Paul Walmsley wrote: >> Hello Péter, >> >> On Wed, 30 Sep 2015, Peter Ujfalusi wrote: >> >>> On 09/27/2015 10:02 AM, Paul Walmsley wrote: > /* > + * 'mcasp' class > + * > + */ > +static struct om

[PATCH v3 5/7] virtio-gpu: add basic prime support

2015-10-02 Thread Gerd Hoffmann
From: Dave Airlie This is enough to enable DRI3. Signed-off-by: Dave Airlie Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/virtio/Makefile| 2 +- drivers/gpu/drm/virtio/virtgpu_drv.c | 13 ++- drivers/gpu/drm/virtio/virtgpu_drv.h | 12 ++ drivers/gpu/drm/virtio/virtgpu_

Re: [PATCH 26/26] x86, pkeys: Documentation

2015-10-02 Thread Linus Torvalds
On Fri, Oct 2, 2015 at 7:49 AM, Paolo Bonzini wrote: > On 02/10/2015 00:48, Linus Torvalds wrote: >> It's quite likely that you will find that compilers put read-only >> constants in the text section, knowing that executable means readable. > > Not on x86 (because it has large immediates; RISC mac

[PATCH v3 2/7] virtio-gpu: add & use virtio_gpu_queue_fenced_ctrl_buffer

2015-10-02 Thread Gerd Hoffmann
Add helper function to handle the submission of fenced control requests. Make sure we initialize the fence while holding the virtqueue lock, so requests can't be reordered. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/virtio/virtgpu_fence.c | 2 +- drivers/gpu/drm/virtio/virtgpu_vq.c| 4

[PATCH v3 6/7] virtio-gpu: mark as a render gpu

2015-10-02 Thread Gerd Hoffmann
From: Dave Airlie Also add DRM_RENDER_ALLOW to the ioctls. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/virtio/virtgpu_drv.c | 2 +- drivers/gpu/drm/virtio/virtgpu_ioctl.c | 18 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/gpu/drm/virtio/vi

[PATCH v3 7/7] [wip] virtio-gpu: add page flip support

2015-10-02 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/virtio/virtgpu_display.c | 49 ++-- 1 file changed, 46 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/virtio/virtgpu_display.c b/drivers/gpu/drm/virtio/virtgpu_display.c index c9c1427..f545913 100644 --- a/

[PATCH v3 4/7] virtio-gpu: add 3d/virgl support

2015-10-02 Thread Gerd Hoffmann
Add the bits needed for opengl rendering support: query capabilities, new virtio commands, drm ioctls. Signed-off-by: Dave Airlie Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/virtio/Makefile| 3 +- drivers/gpu/drm/virtio/virtgpu_drv.c | 15 + drivers/gpu/drm/virtio/virtgpu_drv.

[PATCH v3 1/7] virtio-gpu: add virtio_gpu_queue_ctrl_buffer_locked

2015-10-02 Thread Gerd Hoffmann
Add virtio_gpu_queue_ctrl_buffer_locked function, which does the same as virtio_gpu_queue_ctrl_buffer but does not take the virtqueue lock. The caller must hold the lock instead. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/virtio/virtgpu_vq.c | 17 + 1 file changed, 13 inse

Re: [RFC v2 00/18] kthread: Use kthread worker API more widely

2015-10-02 Thread Petr Mladek
On Thu 2015-10-01 10:00:53, Paul E. McKenney wrote: > On Thu, Oct 01, 2015 at 05:59:43PM +0200, Petr Mladek wrote: > > On Tue 2015-09-29 22:08:33, Paul E. McKenney wrote: > > > On Mon, Sep 21, 2015 at 03:03:41PM +0200, Petr Mladek wrote: > > > > My intention is to make it easier to manipulate kthre

[PATCH v3 3/7] virtio-gpu: wait for cursor updates finish

2015-10-02 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/virtio/virtgpu_display.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/gpu/drm/virtio/virtgpu_display.c b/drivers/gpu/drm/virtio/virtgpu_display.c index 4e160ef..c9c1427 100644 --- a/drivers/gpu/drm/virtio/virtgpu_display.c +

Re: [PATCH] pinctrl: at91-pio4: add PM stuff

2015-10-02 Thread Linus Walleij
On Fri, Sep 25, 2015 at 2:14 AM, Ludovic Desroches wrote: > Allow GPIOs to be configured as wakeup sources. When going to suspend, > disable all GPIO irqs excepting the one configured as wakeup sources. > > Signed-off-by: Ludovic Desroches Patch applied. Yours, Linus Walleij -- To unsubscribe

Re: [RFC PATCH 3/3] net: dsa: exit probe if no switch were found

2015-10-02 Thread Neil Armstrong
On 10/01/2015 06:32 PM, Andrew Lunn wrote: > On Thu, Oct 01, 2015 at 05:27:32PM +0200, Neil Armstrong wrote: >> On 09/30/2015 10:21 AM, Neil Armstrong wrote: >>> If no switch were found in dsa_setup_dst, return -ENODEV and >>> exit the dsa_probe cleanly. > > ... > >> Couldn't we use the probe de

Re: [PATCH v2 3/8] mfd: intel_quark_i2c_gpio: load gpio driver first

2015-10-02 Thread Andy Shevchenko
On Thu, 2015-10-01 at 15:54 +0100, Lee Jones wrote: > On Thu, 01 Oct 2015, Andy Shevchenko wrote: > > > On Intel Galileo boards the GPIO expander is connected to i2c bus. > > Moreover it > > is able to generate interrupt, but interrupt line is connected to > > GPIO. That's > > why we have to hav

Re: [PATCH 0/3] net: dsa: Complete and fix the dsa unbinding

2015-10-02 Thread Neil Armstrong
On 10/02/2015 12:47 PM, Neil Armstrong wrote: > In order to cleanly unbind the dsa core, either as a module removal, > or a platform device unbind, switch the allocation the their devm_ > counterparts and complete the destroy functions. > > The last patch is an experimental way to exit the probe w

Re: [PATCH -mm v2 1/3] mm/oom_kill: remove the wrong fatal_signal_pending() check in oom_kill_process()

2015-10-02 Thread Michal Hocko
On Fri 02-10-15 20:32:41, Tetsuo Handa wrote: > Oleg Nesterov wrote: > > On 10/01, Michal Hocko wrote: > > > > > > zap_process will add SIGKILL to all threads but the > > > current which will go on without being killed and if this is not a > > > thread group leader then we would miss it. > > > > Y

[PATCH] ARM: debug: add support for alternate 8250 register layout

2015-10-02 Thread Mans Rullgard
Some SoCs have a UART with a non-standard register layout. This allows the debug console to work with these. Signed-off-by: Mans Rullgard --- I would have preferred a more accurate description of the UART, but I've not managed to figure out who the vendor is. --- arch/arm/Kconfig.debug|

[PATCH] crypto: atmel: Check for clk_prepare_enable() return value

2015-10-02 Thread LABBE Corentin
clk_prepare_enable() can fail so add a check for this and return the error code if it fails. Signed-off-by: LABBE Corentin --- drivers/crypto/atmel-aes.c | 6 +- drivers/crypto/atmel-sha.c | 6 +- drivers/crypto/atmel-tdes.c | 6 +- 3 files changed, 15 insertions(+), 3 deletions(-)

Re: [PATCH 26/26] x86, pkeys: Documentation

2015-10-02 Thread Paolo Bonzini
On 02/10/2015 13:58, Linus Torvalds wrote: > On Fri, Oct 2, 2015 at 7:49 AM, Paolo Bonzini wrote: >> On 02/10/2015 00:48, Linus Torvalds wrote: >>> It's quite likely that you will find that compilers put read-only >>> constants in the text section, knowing that executable means readable. >> >> N

Re: [PATCH v1 5/8] gpio: pca953x: store driver_data for future use

2015-10-02 Thread Andy Shevchenko
On Fri, 2015-10-02 at 03:53 -0700, Linus Walleij wrote: > On Tue, Sep 22, 2015 at 3:10 AM, Andy Shevchenko > wrote: > > > Instead of using id->driver_data directly we copied it to the > > internal > > structure. This will help to adapt driver for ACPI use. > > > > Signed-off-by: Andy Shevchenko

Re: [PATCH v3 2/5] mfd: tps65912: Remove old driver in preparation for new driver

2015-10-02 Thread Linus Walleij
On Thu, Sep 24, 2015 at 7:52 AM, Andrew F. Davis wrote: > The old tps65912 driver is being replaced, delete old driver. > > Signed-off-by: Andrew F. Davis Acked-by: Linus Walleij The merge collisions are unpredictable. Will this be merged through the MFD tree? Yours, Linus Walleij -- To unsu

Re: [PATCH 1/2] gpio: omap: move pm runtime in irq_chip.irq_bus_lock/sync_unlock

2015-10-02 Thread Linus Walleij
On Fri, Sep 25, 2015 at 12:28 PM, Grygorii Strashko wrote: > The PM runtime API can't be used in atomic contex on -RT even if > it's configured as irqsafe. As result, below error report can > be seen when PM runtime API called from IRQ chip's callbacks > irq_startup/irq_shutdown/irq_set_type, bec

Re: [PATCH 1/1] mfd: intel-lpss: fix build error when !CONFIG_PM_SLEEP

2015-10-02 Thread Andy Shevchenko
On Thu, 2015-10-01 at 15:45 +0100, Lee Jones wrote: > On Thu, 01 Oct 2015, Andy Shevchenko wrote: > > > Jim Davis reported the compilation error with a random > > configuration which > > apparently has CONFIG_PM=y and CONFIG_PM_SLEEP=n. With that > > conditions we have > > missed definition of I

[PATCH] lib/vsprintf.c: update documentation

2015-10-02 Thread Rasmus Villemoes
%n is no longer just ignored; it results in early return from vsnprintf. Also add a request to add test cases for future %p extensions. Signed-off-by: Rasmus Villemoes --- applies on top of lib-documentation-synchronize-%p-formatting-documentation.patch and its -fix. Documentation/printk-format

Re: [PATCH 05/10] mm, page_alloc: Distinguish between being unable to sleep, unwilling to sleep and avoiding waking kswapd

2015-10-02 Thread Mel Gorman
On Thu, Oct 01, 2015 at 03:04:37AM +, Drokin, Oleg wrote: > Hello! Thanks Oleg for taking a look! Can you review the following please? ---8<--- mm: page_alloc: Remove GFP_IOFS GFP_IOFS was intended to be shorthand for clearing two flags, not a set of allocation flags. There is only one user

Re: [PATCH -mm v2 1/3] mm/oom_kill: remove the wrong fatal_signal_pending() check in oom_kill_process()

2015-10-02 Thread Tetsuo Handa
Michal Hocko wrote: > > Since T sends SIGKILL to all clone(CLONE_VM) tasks upon coredump, P needs > > to do > > It does that only to all threads in the _same_ thread group AFAIU. I'm confused. What the _same_ thread group? I can observe that SIGKILL is sent to all clone(CLONE_THREAD | CLONE_S

Re: can't oom-kill zap the victim's memory?

2015-10-02 Thread Michal Hocko
On Tue 29-09-15 01:18:00, Tetsuo Handa wrote: > Michal Hocko wrote: > > The point I've tried to made is that oom unmapper running in a detached > > context (e.g. kernel thread) vs. directly in the oom context doesn't > > make any difference wrt. lock because the holders of the lock would loop > > i

Re: [PATCH] arm64: ftrace: fix function_graph tracer panic

2015-10-02 Thread Catalin Marinas
On Fri, Oct 02, 2015 at 04:56:48PM +0900, AKASHI Takahiro wrote: > >>On 09/30/2015 11:49 AM, Li Bin wrote: > >>>This is because when using function graph tracer, if the traced > >>>function return value is in multi regs ([0x-07]), return_to_handler > > typo: 0x-07 => x0-x7 I fixed this up. > and

Re: [PATCH 08/12] nfnetlink: use y2038 safe timestamp

2015-10-02 Thread Pablo Neira Ayuso
On Wed, Sep 30, 2015 at 01:26:38PM +0200, Arnd Bergmann wrote: > The __build_packet_message function fills a nfulnl_msg_packet_timestamp > structure that uses 64-bit seconds and is therefore y2038 safe, but > it uses an intermediate 'struct timespec' which is not. > > This trivially changes the co

Re: [PATCH] lib/vsprintf.c: update documentation

2015-10-02 Thread Andy Shevchenko
On Fri, 2015-10-02 at 14:28 +0200, Rasmus Villemoes wrote: > %n is no longer just ignored; it results in early return from > vsnprintf. Also add a request to add test cases for future %p > extensions. Nice! Reviewed-by: Andy Shevchenko > > Signed-off-by: Rasmus Villemoes > --- > applies on to

Re: [PATCH] SCSI: Fix hard lockup in scsi_remove_target()

2015-10-02 Thread Christoph Hellwig
> - list_for_each_entry(starget, &shost->__targets, siblings) { > + list_for_each_entry_safe(starget, tmp, &shost->__targets, siblings) { > if (starget->state == STARGET_DEL) > continue; > if (starget->dev.parent == dev || &starget->dev == d

Re: [PATCH 01/11 RESEND] ARM: OMAP: DRA7: hwmod: Add data for McASP3

2015-10-02 Thread Peter Ujfalusi
On 10/02/2015 02:55 PM, Peter Ujfalusi wrote: > On 10/02/2015 02:22 PM, Peter Ujfalusi wrote: >> Paul, >> >> On 10/02/2015 12:07 PM, Paul Walmsley wrote: >>> Hello Péter, >>> >>> On Wed, 30 Sep 2015, Peter Ujfalusi wrote: >>> On 09/27/2015 10:02 AM, Paul Walmsley wrote: >> /* >> + * '

[PATCH v2 5/6] mfd: arizona: Remove use of codec build config #ifdefs

2015-10-02 Thread Charles Keepax
From: Richard Fitzgerald Remove the use of #ifdefs around each case statement of the chip ID and type validation switches. We must ensure that the contained code still compiles to nothing if support for that codec was not built into the kernel, to prevent creation of link references to missing f

[PATCH v2 4/6] mfd: arizona: Simplify adding subdevices

2015-10-02 Thread Charles Keepax
From: Richard Fitzgerald The code was using a switch on the code type to execute one of several mfd_add_devices() calls. We're already switching on the code type earlier in the function to select the correct patch function so we can roll selection of the mfd device table into the same switch. Si

[PATCH v2 1/6] mfd: arizona: factor out DCVDD isolation control

2015-10-02 Thread Charles Keepax
From: Richard Fitzgerald Currently DCVDD isolation is enabled and disabled for runtime_suspend and runtime_resume. Future codecs will not have the isolation control so to prepare for these codecs this patch factors out the isolation control allowing it to be called as needed in the existing codec

[PATCH v2 3/6] mfd: arizona: Downgrade type mismatch messages to dev_warn

2015-10-02 Thread Charles Keepax
From: Richard Fitzgerald If the declared codec type doesn't match the detected type we issue a log message but carry on registering the device, so a dev_warn() is appropriate rather than a dev_err() Signed-off-by: Richard Fitzgerald Acked-by: Lee Jones Signed-off-by: Charles Keepax --- drive

[PATCH v2 2/6] mfd: arizona: factor out checking of jack detection state

2015-10-02 Thread Charles Keepax
From: Richard Fitzgerald Currently runtime_suspend will fully power off the codec if the jack detection is not enabled. Not all future codecs will have jack detection so to prepare for these codecs this patch factors out the check so that it be called as needed in the existing codec-specific swit

[PATCH v2 6/6] mfd: arizona: use correct type ID for device tree config

2015-10-02 Thread Charles Keepax
From: Richard Fitzgerald In the case of a device tree config the code uses the device ID from the DT entry to check which codec is required but when storing the ID into struct arizona it was always using the non-DT SPI device table to get an ID. This patch changes the code to store the correct I

Re: [PATCH] dax: fix deadlock in __dax_fault

2015-10-02 Thread Jan Kara
On Tue 29-09-15 20:04:21, Ross Zwisler wrote: > On Tue, Sep 29, 2015 at 12:44:58PM +1000, Dave Chinner wrote: > <> > > Already testing a kernel with those reverted. My current DAX patch > > stack is (bottom is first commit in stack): > > > > f672ae4 xfs: add ->pfn_mkwrite support for DAX > > 6855c

[PATCH 3/3] iio: ad5064: Always use external vref if there is no internal vref

2015-10-02 Thread Paul Cercueil
If the device does not have an internal reference, there is no other choice but to use the external reference. In that case, it does not make much sense to have to specify it. This patch ensures that the external reference is used if the device does not feature an internal reference. Signed-off-b

[PATCH 1/3] Documentation: ad5064: Added devicetree bindings documentation

2015-10-02 Thread Paul Cercueil
Signed-off-by: Paul Cercueil --- .../devicetree/bindings/iio/dac/ad5064.txt | 48 ++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/dac/ad5064.txt diff --git a/Documentation/devicetree/bindings/iio/dac/ad5064.txt b/Document

<    1   2   3   4   5   6   7   8   >