Re: [PATCH] md: don't use flush_signals in userspace processes

2017-06-07 Thread NeilBrown
On Wed, Jun 07 2017, Mikulas Patocka wrote: > The function flush_signals clears all pending signals for the process. It > may be used by kernel threads when we need to prepare a kernel thread for > responding to signals. However using this function for an userspaces > processes is incorrect - clea

Re: [PATCH 7/8] blk-mq: create hctx for each present CPU

2017-06-07 Thread Christoph Hellwig
On Wed, Jun 07, 2017 at 03:04:11PM -0700, Omar Sandoval wrote: > On Sat, Jun 03, 2017 at 04:04:02PM +0200, Christoph Hellwig wrote: > > Currently we only create hctx for online CPUs, which can lead to a lot > > of churn due to frequent soft offline / online operations. Instead > > allocate one for

Re: [PATCH v2] refcount: Create unchecked atomic_t implementation

2017-06-07 Thread Christoph Hellwig
On Wed, Jun 07, 2017 at 07:58:31PM -0700, Kees Cook wrote: > Many subsystems will not use refcount_t unless there is a way to build the > kernel so that there is no regression in speed compared to atomic_t. This > adds CONFIG_REFCOUNT_FULL to enable the full refcount_t implementation > which has th

Re: [PATCH] Fix loop device flush before configure

2017-06-07 Thread Christoph Hellwig
On Thu, Jun 08, 2017 at 08:45:31AM +0800, James Wang wrote: > Ok I got it blktests is a suite. I'd like to contribute something. If you > need, we adapt you,;-)! > But I have to learn some how to do that, need time. I haven't added test myself to blktests yet either, so I'd have to learn it as we

Re: [RFC][PATCH 5/5] powerpc: Remove SYNC from _switch

2017-06-07 Thread Peter Zijlstra
On Thu, Jun 08, 2017 at 10:32:44AM +1000, Nicholas Piggin wrote: > On Wed, 07 Jun 2017 18:15:06 +0200 > Peter Zijlstra wrote: > > > Now that the scheduler's rq->lock is RCsc and thus provides full > > transitivity between scheduling actions. And since we cannot migrate > > current, a task needs a

[PATCH] Fix loop device flush before configure v3

2017-06-07 Thread James Wang
While installing SLES-12 (based on v4.4), I found that the installer will stall for 60+ seconds during LVM disk scan. The root cause was determined to be the removal of a bound device check in loop_flush() by commit b5dd2f6047ca ("block: loop: improve performance via blk-mq"). Restoring this chec

Re: [PATCH 2/4] KVM: VMX: avoid double list add with VT-d posted interrupts

2017-06-07 Thread Peter Xu
On Thu, Jun 08, 2017 at 02:50:57PM +0800, Peter Xu wrote: > On Tue, Jun 06, 2017 at 12:57:05PM +0200, Paolo Bonzini wrote: > > In some cases, for example involving hot-unplug of assigned > > devices, pi_post_block can forget to remove the vCPU from the > > blocked_vcpu_list. When this happens, the

Re: [PATCH 46/58] clocksource/drivers: Add a new driver for the Atmel ARM TC blocks

2017-06-07 Thread Boris Brezillon
Le Wed, 7 Jun 2017 23:38:10 +0200, Daniel Lezcano a écrit : > On Wed, Jun 07, 2017 at 05:09:08PM +0200, Alexandre Belloni wrote: > > On 07/06/2017 at 16:17:35 +0200, Daniel Lezcano wrote: > > > > > > This driver uses regmap and syscon to be able to probe early in the > > > > > > boot > > > > >

Re: [PATCH] external references for device tree overlays

2017-06-07 Thread Stefani Seibold
On Wed, 2017-06-07 at 17:19 -0500, Rob Herring wrote: > On Wed, Jun 7, 2017 at 3:11 AM, Pantelis Antoniou > wrote: > > Hi Stefani, > > > > On Tue, 2017-06-06 at 21:17 +0200, Stefani Seibold wrote: > > > Hi Pantelis, > > > > > > thanks for the suggestion. This feature is not very well > > > docum

Re: [PATCH 2/3] fs/locks: Remove fl_nspid

2017-06-07 Thread kbuild test robot
Hi Benjamin, [auto build test WARNING on jlayton/linux-next] [also build test WARNING on next-20170607] [cannot apply to linus/master linux/master v4.12-rc4] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci

Re: [PATCH 2/4] KVM: VMX: avoid double list add with VT-d posted interrupts

2017-06-07 Thread Peter Xu
On Tue, Jun 06, 2017 at 12:57:05PM +0200, Paolo Bonzini wrote: > In some cases, for example involving hot-unplug of assigned > devices, pi_post_block can forget to remove the vCPU from the > blocked_vcpu_list. When this happens, the next call to > pi_pre_block corrupts the list. > > Fix this in t

Re: [PATCH] external references for device tree overlays

2017-06-07 Thread Stefani Seibold
Hi Pantelis, On Wed, 2017-06-07 at 11:11 +0300, Pantelis Antoniou wrote: > Hi Stefani, > > On Tue, 2017-06-06 at 21:17 +0200, Stefani Seibold wrote: > > Hi Pantelis, > > > > thanks for the suggestion. This feature is not very well > > documented. I > > tried this on my rasp1 running 4.12.0-rc3 a

Re: [PATCH] mm: correct the comment when reclaimed pages exceed the scanned pages

2017-06-07 Thread Minchan Kim
On Wed, Jun 07, 2017 at 04:31:06PM +0800, zhongjiang wrote: > The commit e1587a494540 ("mm: vmpressure: fix sending wrong events on > underflow") declare that reclaimed pages exceed the scanned pages due > to the thp reclaim. it is incorrect because THP will be spilt to normal > page and loop again

Re: [PATCH 2/2] xen/input: add multi-touch support

2017-06-07 Thread Oleksandr Andrushchenko
Hi, Dmitry! On 06/07/2017 07:56 PM, Dmitry Torokhov wrote: On Wed, May 31, 2017 at 12:06:56PM +0300, Oleksandr Andrushchenko wrote: Hi, Dmitry! On 05/30/2017 07:37 PM, Dmitry Torokhov wrote: On Tue, May 30, 2017 at 03:50:20PM +0300, Oleksandr Andrushchenko wrote: Hi, Dmitry! On 05/30/2017 0

Re: [PATCH] ARM: samsung: Save defconfig for Exynos, S3C and S5P configs

2017-06-07 Thread Krzysztof Kozlowski
On Wed, Jun 07, 2017 at 09:49:58PM +0200, Arnd Bergmann wrote: > On Wed, Jun 7, 2017 at 8:18 PM, Krzysztof Kozlowski wrote: > > Some configs for Samsung ARM SoCs were not updated for some time and > > they still contain obsolete Kconfig entries. Generate new defconfig for > > all Samsung ARM arch

Re: [PATCH v3] f2fs: dax: implement direct access

2017-06-07 Thread kbuild test robot
Hi Qiuyang, [auto build test ERROR on f2fs/dev] [also build test ERROR on v4.12-rc4 next-20170607] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/sunqiuyang/f2fs-dax-implement-direct-access

[PATCH v2] tick/broadcast: tick_broadcast_setup_oneshot() isn't exported

2017-06-07 Thread Stephen Boyd
This function isn't used outside of tick-broadcast.c, so let's mark it static. Signed-off-by: Stephen Boyd --- Changes from v1: * Fixed the kbuild issue by moving into ifdef CONFIG_TICK_ONESHOT kernel/time/tick-broadcast.c | 4 +++- kernel/time/tick-internal.h | 2 -- 2 files changed, 3 inse

Re: [PATCH 1/3] nvmem: core: remove member users from struct nvmem_device

2017-06-07 Thread Srinivas Kandagatla
On 07/06/17 22:51, Heiner Kallweit wrote: Am 07.06.2017 um 17:30 schrieb Srinivas Kandagatla: On 04/06/17 12:01, Heiner Kallweit wrote: Member users is used only to check whether we're allowed to remove the module. So in case of built-in it's not used at all and in case nvmem providers do

RE: [linuxwifi] [PATCH] net: wireless: intel: iwlwifi: dvm: fix tid mask

2017-06-07 Thread Grumbach, Emmanuel
Hi, > Subject: [linuxwifi] [PATCH] net: wireless: intel: iwlwifi: dvm: fix tid mask > > Currently the tid mask covers the first 4 bits of iwlagn_tx_resp::ra_tid, > which gives 16 possible values for tid. > This is problematic because IWL_MAX_TID_COUNT is 8, so indexing > iwl_priv::tid_data can go

linux-next: manual merge of the akpm-current tree with the random tree

2017-06-07 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the akpm-current tree got a conflict in: include/linux/random.h between commit: 60473a13020f ("random: add get_random_{bytes,u32,u64,int,long,once}_wait family") from the random tree and commit: d7802aa82f66 ("random,stackprotect: introduce get_rando

Re: [PATCH v3] hwmon: Add support for MAX31785 intelligent fan controller

2017-06-07 Thread Andrew Jeffery
On Wed, 2017-06-07 at 10:37 -0700, Guenter Roeck wrote: > On Wed, Jun 07, 2017 at 04:15:06PM +0930, Andrew Jeffery wrote: > > On Wed, 2017-06-07 at 12:18 +0930, Joel Stanley wrote: > > > On Wed, Jun 7, 2017 at 1:50 AM, Matthew Barth > > > > > > > > wrote: > > > > > > > > On 06/06/17 8:33 AM, Guen

Re: [PATCH RFC 0/2] KVM: s390: avoid having to enable vm.alloc_pgste

2017-06-07 Thread Heiko Carstens
On Thu, Jun 08, 2017 at 07:35:28AM +0200, Martin Schwidefsky wrote: > On Wed, 7 Jun 2017 22:47:56 +0200 > Heiko Carstens wrote: > > On Wed, Jun 07, 2017 at 02:34:40PM +0200, Martin Schwidefsky wrote: > > > +#define arch_elf_pt_proc(ehdr, phdr, elf, interp, state) \ > > > +({

Re: [PATCH] nvmem: core: add managed version of nvmem_register

2017-06-07 Thread Srinivas Kandagatla
On 07/06/17 22:55, Heiner Kallweit wrote: Am 07.06.2017 um 18:19 schrieb Srinivas Kandagatla: On 04/06/17 12:06, Heiner Kallweit wrote: Add a device-managed version of nvmem_register. Signed-off-by: Heiner Kallweit --- Documentation/nvmem/nvmem.txt | 1 + drivers/nvmem/core.c

RE: [PATCH V2 1/3] devicetree: add UniPhier WDT devicetree bindings documentation

2017-06-07 Thread Keiji Hayashibara
Hello Yamada-san Thank you for your comment. > > Add uniphier-wdt bindings documentation. > > > > Signed-off-by: Keiji Hayashibara > > > Maybe "dt-bindings: watchdog: ..." for the subject. > > This seems what Rob prefers. > > For example, > https://patchwork.kernel.org/patch/9606365/ OK. I

Re: [PATCH 46/58] clocksource/drivers: Add a new driver for the Atmel ARM TC blocks

2017-06-07 Thread Boris Brezillon
Le Wed, 7 Jun 2017 23:08:48 +0200, Daniel Lezcano a écrit : > On Wed, Jun 07, 2017 at 05:27:50PM +0200, Alexandre Belloni wrote: > > On 07/06/2017 at 16:17:35 +0200, Daniel Lezcano wrote: > > > > You mean you don't like how it is used? Or you don't think having the > > > > timer full name is us

Re: [PATCH v5 00/23] mtd: nand: denali: Denali NAND IP patch bomb

2017-06-07 Thread Masahiro Yamada
Hi Boris, 2017-06-07 20:52 GMT+09:00 Masahiro Yamada : > This patch series intends to solve various problems. > > [1] The driver just retrieves the OOB area as-is > whereas the controller uses syndrome page layout. > [2] Many NAND chip specific parameters are hard-coded in the driver. > [3] ON

[PATCH] ARM/Kconfig: make VMSPLIT_3G_OPT depends on !ARM_LPAE

2017-06-07 Thread Yisheng Xie
When both enable CONFIG_ARM_LPAE=y and CONFIG_VMSPLIT_3G_OPT=y, which means use PAGE_OFFSET=0xB000 with ARM_LPAE, the kernel will boot fail and stop after uncompressed: Starting kernel ... Uart base = 0x20001000 watchdog reg = 0x20013000 dtb addr = 0x80840308 Uncompressing Linu

Re: [PATCH v5 07/23] mtd: nand: denali: do not propagate NAND_STATUS_FAIL to waitfunc()

2017-06-07 Thread Masahiro Yamada
Hi Boris, 2017-06-07 22:33 GMT+09:00 Boris Brezillon : > On Wed, 7 Jun 2017 20:52:16 +0900 > Masahiro Yamada wrote: > >> Currently, the error handling of denali_write_page(_raw) is a bit >> complicated. If the program command fails, NAND_STATUS_FAIL is set >> to the driver internal denali->sta

Re: [PATCH v5 10/23] mtd: nand: denali: rework interrupt handling

2017-06-07 Thread Masahiro Yamada
Hi Boris, 2017-06-07 22:57 GMT+09:00 Boris Brezillon : > On Wed, 7 Jun 2017 20:52:19 +0900 > Masahiro Yamada wrote: > > >> -/* >> - * This is the interrupt service routine. It handles all interrupts >> - * sent to this device. Note that on CE4100, this is a shared interrupt. >> - */ >> -static

Re: linux-next: bad base for the dmi quilt series

2017-06-07 Thread Jean Delvare
On Wed, 7 Jun 2017 09:29:08 +1000, Stephen Rothwell wrote: > Hi Jean, > > The current version of the dmi quilt series > (http://jdelvare.nerim.net/devel/linux/jdelvare-dmi/) has a base of > 4.11.3 ... it must be base on somewhere in Linus' tree. I have used > v4.11 as a base for today (the patch

[PATCH] Fix loop device flush before configure

2017-06-07 Thread James Wang
While installing SLES-12 (based on v4.4), I found that the installer will stall for 60+ seconds during LVM disk scan. The root cause was determined to be the removal of a bound device check in loop_flush() by commit b5dd2f6047ca ("block: loop: improve performance via blk-mq"). Restoring this chec

Re: [PATCH v6 10/34] x86, x86/mm, x86/xen, olpc: Use __va() against just the physical address in cr3

2017-06-07 Thread Andy Lutomirski
On Wed, Jun 7, 2017 at 12:14 PM, Tom Lendacky wrote: > The cr3 register entry can contain the SME encryption bit that indicates > the PGD is encrypted. The encryption bit should not be used when creating > a virtual address for the PGD table. > > Create a new function, read_cr3_pa(), that will ex

linux-next: build failure after merge of the uuid tree

2017-06-07 Thread Stephen Rothwell
aused by commit 94116f8126de ("ACPI: Switch to use generic guid_t in acpi_evaluate_dsm()") linux/uuid.h is only include for the CONFIG_ACPI case (in commit 41c8bdb3ab10 "acpi, nfit: Switch to use new generic UUID API"). This build does not have CONFIG_ACPI set. I have used the uui

[PATCH 1/2] drivers/net/sungem: add const to mii_phy_ops structures

2017-06-07 Thread Bhumika Goyal
The object references of mii_phy_ops structures are only stored in the ops field of a mii_phy_def structure. This ops field is of type const. So, mii_phy_ops structures having similar properties can be declared as const. Signed-off-by: Bhumika Goyal --- drivers/net/sungem_phy.c | 26

[PATCH 2/2] drivers: net: emac: add const to mii_phy_ops structures

2017-06-07 Thread Bhumika Goyal
The object references of mii_phy_ops structures are only stored in the ops field of a mii_phy_def structure. This ops field is of type const. So, mii_phy_ops structures having similar properties can be declared as const. Signed-off-by: Bhumika Goyal --- drivers/net/ethernet/ibm/emac/phy.c | 12 +

[PATCH 0/2] drivers: net: add const to mii_phy_ops structures

2017-06-07 Thread Bhumika Goyal
The object references of mii_phy_ops structures are only stored in the ops field of a mii_phy_def structure. This ops field is of type const. So, mii_phy_ops structures having similar properties can be declared as const. Bhumika Goyal (2): drivers/net/sungem: add const to mii_phy_ops structures

[PATCH] perf report: Fix broken arrow at row 0 in annotate view

2017-06-07 Thread Jin Yao
When the jump instruction is displayed at the row 0 in annotate view, the arrow is broken. An example: 16.86 │ ┌──je 82 0.01 │ movsd (%rsp),%xmm0 │ movsd 0x8(%rsp),%xmm4 │ movsd 0x8(%rsp),%xmm1 │ movsd (%rsp),%xmm3 │ divsd %xmm4,%x

Re: [PATCH v2] refcount: Create unchecked atomic_t implementation

2017-06-07 Thread Greg KH
On Wed, Jun 07, 2017 at 07:58:31PM -0700, Kees Cook wrote: > Many subsystems will not use refcount_t unless there is a way to build the > kernel so that there is no regression in speed compared to atomic_t. This > adds CONFIG_REFCOUNT_FULL to enable the full refcount_t implementation > which has th

Re: [PATCH] Fix loop device flush before configure v2

2017-06-07 Thread James Wang
On 06/08/2017 01:06 PM, Mike Galbraith wrote: > On Thu, 2017-06-08 at 10:17 +0800, James Wang wrote: >> This condition check was exist at before commit b5dd2f6047ca ("block: loop: >> improve performance via blk-mq") When add MQ support to loop device, it be >> removed because the member of '->lo_

Re: [PATCH v6 25/34] swiotlb: Add warnings for use of bounce buffers with SME

2017-06-07 Thread kbuild test robot
Hi Tom, [auto build test ERROR on linus/master] [also build test ERROR on v4.12-rc4 next-20170607] [cannot apply to tip/x86/core] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Tom-Lendacky/x86

RE: [PATCH V2 2/3] watchdog: uniphier: add UniPhier watchdog driver

2017-06-07 Thread Keiji Hayashibara
Hello Yamada-san, > > + > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > I think you should have added on the top > to keep the includes alphabetically sorted. Sorry, I will fix in v3 patch. -- Best Regards, Keiji Hayashibara

[PATCH v5 2/6] dt-bindings: qcom: Add ipq8074 bindings

2017-06-07 Thread Varadarajan Narayanan
Acked-by: Rob Herring Signed-off-by: Varadarajan Narayanan --- Documentation/devicetree/bindings/arm/qcom.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/qcom.txt b/Documentation/devicetree/bindings/arm/qcom.txt index 028d16e..0ed4d39 100644 --- a

[PATCH v5 5/6] arm64: dts: Add ipq8074 SoC and HK01 board support

2017-06-07 Thread Varadarajan Narayanan
Add initial device tree support for the Qualcomm IPQ8074 SoC and HK01 evaluation board. Signed-off-by: Manoharan Vijaya Raghavan Signed-off-by: Abhishek Sahu Signed-off-by: Varadarajan Narayanan --- arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/ipq8074-hk01.dts |

[PATCH v5 6/6] arm64: defconfig: Enable qcom ipq8074 clock and pinctrl

2017-06-07 Thread Varadarajan Narayanan
From: Abhishek Sahu These configs are required for booting kernel in qcom ipq8074 boards. Signed-off-by: Abhishek Sahu Signed-off-by: Varadarajan Narayanan --- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/

[PATCH v5 4/6] clk: qcom: Add ipq8074 Global Clock Controller support

2017-06-07 Thread Varadarajan Narayanan
From: Abhishek Sahu This patch adds support for the global clock controller found on the ipq8074 based devices. This includes UART, I2C, SPI etc. Signed-off-by: Abhishek Sahu Signed-off-by: Varadarajan Narayanan --- drivers/clk/qcom/Kconfig |9 + drivers/clk/qcom/Makefile |

[PATCH v5 3/6] clk: qcom: Add DT bindings for ipq8074 gcc clock controller

2017-06-07 Thread Varadarajan Narayanan
From: Abhishek Sahu Add the compatible strings and the include file for ipq8074 gcc clock controller. Acked-by: Rob Herring (bindings) Signed-off-by: Varadarajan Narayanan Signed-off-by: Abhishek Sahu --- .../devicetree/bindings/clock/qcom,gcc.txt | 1 + include/dt-bindings/clock/q

[PATCH v5 0/6] Add minimal boot support for IPQ8074

2017-06-07 Thread Varadarajan Narayanan
v5: * Removed the 'NA' binding from documentation v4: * Split the clock patch and addressed a minor comment in the clock driver as per stephen's feedback. v3: * Addressed review feedback from Bjorn for pinctrl - Unified the names for qpic pads. - Corrected the names for pwm p

[PATCH v5 1/6] pinctrl: qcom: Add ipq8074 pinctrl driver

2017-06-07 Thread Varadarajan Narayanan
Add initial pinctrl driver to support pin configuration with pinctrl framework for ipq8074. Signed-off-by: Manoharan Vijaya Raghavan Signed-off-by: Varadarajan Narayanan --- .../bindings/pinctrl/qcom,ipq8074-pinctrl.txt | 172 drivers/pinctrl/qcom/Kconfig | 10

Re: [PATCH 46/58] clocksource/drivers: Add a new driver for the Atmel ARM TC blocks

2017-06-07 Thread Boris Brezillon
Le Thu, 8 Jun 2017 01:17:15 +0200, Alexandre Belloni a écrit : > On 07/06/2017 at 23:08:48 +0200, Daniel Lezcano wrote: > > > I was going to agree but this is not flexible enough because the > > > quadrature decoder always uses the first two channels. So on some > > > products, we may have: > > >

Re: [PATCH] x86/efi: fix boot panic because of invalid bgrt image address

2017-06-07 Thread Dave Young
The subject tag should be efi instead of x86/efi since the code is in general driver code now. Matt/Ard, if need resend please let me know. Please help review the patch. Maniaxx, can you verify it on your machine? It passed my test with an emulation of your wrong address. On 06/08/17 at 01:32pm,

Re: [PATCH RFC 0/2] KVM: s390: avoid having to enable vm.alloc_pgste

2017-06-07 Thread Martin Schwidefsky
On Wed, 7 Jun 2017 22:47:56 +0200 Heiko Carstens wrote: > On Wed, Jun 07, 2017 at 02:34:40PM +0200, Martin Schwidefsky wrote: > > +#define arch_elf_pt_proc(ehdr, phdr, elf, interp, state) \ > > +({ \ > > + struct elf64_hdr *_ehdr = (void

Re: [PATCH] include/linux/vfio.h: Guard powerpc-specific functions with CONFIG_VFIO_SPAPR_EEH

2017-06-07 Thread Alexey Kardashevskiy
e error below, what am I missing here? > > > > On 08/06/17 02:31, kbuild test robot wrote: >> Hi Murilo, >> >> [auto build test ERROR on linus/master] >> [also build test ERROR on v4.12-rc4 next-20170607] >> [if your patch is applied to the wrong

[PATCH] staging/lustre: echo_client.c - fix sparse warning: cast removes address space of expression

2017-06-07 Thread Guillermo O. Freschi
The function only cares about the value of the pointer, not the contents of the pointed-to data. Adding a `__force` annotation to the cast removes this warning. Signed-off-by: Guillermo O. Freschi --- drivers/staging/lustre/lustre/obdecho/echo_client.c | 2 +- 1 file changed, 1 insertion(+), 1 d

Re: [PATCH] include/linux/vfio.h: Guard powerpc-specific functions with CONFIG_VFIO_SPAPR_EEH

2017-06-07 Thread Alexey Kardashevskiy
Hi, How did you manage to have CONFIG_EEH=y and CONFIG_VFIO_SPAPR_EEH=n? "make oldconfig" fixes this to CONFIG_VFIO_SPAPR_EEH=y. On 08/06/17 02:31, kbuild test robot wrote: > Hi Murilo, > > [auto build test ERROR on linus/master] > [also build test ERROR on v4.12-rc4 nex

Re: [PATCH v2] [media] vb2: core: Lower the log level of debug outputs

2017-06-07 Thread Joe Perches
On Thu, 2017-06-08 at 14:24 +0900, Tomasz Figa wrote: > On Thu, Jun 8, 2017 at 2:16 PM, Joe Perches wrote: [] > > If there automated systems that rely on specific levels, then > > changing the levels of individual messages could also cause > > those automated systems to fail. > > Well, that might

[PATCH] x86/efi: fix boot panic because of invalid bgrt image address

2017-06-07 Thread Dave Young
Maniaxx reported kernel boot panic similar to below: (emulated the panic with using same invalid phys addr in a uefi vm) There are also a bug in bugzilla.kernel.org: https://bugzilla.kernel.org/show_bug.cgi?id=195633 This happens after below commit: 7b0a911 efi/x86: Move the EFI BGRT init code to

Re: [PATCH v2] [media] vb2: core: Lower the log level of debug outputs

2017-06-07 Thread Tomasz Figa
On Thu, Jun 8, 2017 at 2:16 PM, Joe Perches wrote: > On Thu, 2017-06-08 at 13:39 +0900, Tomasz Figa wrote: >> On Thu, Jun 8, 2017 at 12:24 PM, Hirokazu Honda wrote: >> > Hi, >> > >> > I completely understand bitmask method now. >> > I agree to the idea, but it is necessary to change the specifica

[PATCH linux-next v4 0/4] i.MX ECSPI controller slave mode support

2017-06-07 Thread Jiada Wang
Changes in v4: * rebased to head of linux-next to resolve conflict * optimized mx53_ecspi_rx_slave() Changes in v3: * renamed several variables for for better readability * created spi_imx_pio_transfer_slave() for slave pio transfer * added fifo_size, has_dmamode and has_slavemode in spi_imx_devty

[PATCH linux-next v4 3/4] ARM: dts: imx: change compatibility for SPI controllers on imx53 later soc

2017-06-07 Thread Jiada Wang
for SPI controllers on imx53 and later SoCs, there is HW issue when work in slave mode, as new device type 'IMX53_ECSPI' has been added for these SPI controllers which is compatible with 'fsl,imx53-ecspi'. This patch updates DTS to make imx53 later SPI controller only be compatibile with 'fsl,imx5

[PATCH linux-next v4 1/4] spi: imx: introduce fifo_size and has_dmamode in spi_imx_devtype_data

2017-06-07 Thread Jiada Wang
Different ECSPI controller has different fifosize and DMA capability, instead of calling functions to identify these information by check devtype. add fifo_size and has_dmamode to spi_imx_devtype_data. so that these information can be directly accessed. Signed-off-by: Jiada Wang --- drivers/spi/

[PATCH linux-next v4 4/4] spi: imx: Add support for SPI Slave mode

2017-06-07 Thread Jiada Wang
Previously i.MX SPI controller only works in Master mode. This patch adds support to i.MX51, i.MX53 and i.MX6 ECSPI controller to work also in Slave mode. Currently SPI Slave mode support patch has the following limitations: 1. The stale data in RXFIFO will be dropped when the Slave does any new

Re: [PATCH v2] [media] vb2: core: Lower the log level of debug outputs

2017-06-07 Thread Joe Perches
On Thu, 2017-06-08 at 13:39 +0900, Tomasz Figa wrote: > On Thu, Jun 8, 2017 at 12:24 PM, Hirokazu Honda wrote: > > Hi, > > > > I completely understand bitmask method now. > > I agree to the idea, but it is necessary to change the specification of > > a debug parameter. > > (We probably need to c

[PATCH linux-next v4 2/4] spi: imx: add selection for iMX53 and iMX6 controller

2017-06-07 Thread Jiada Wang
ECSPI contorller for iMX53 and iMX6 has few hardware issues comparing to iMX51. The change add possibility to detect which controller is used to apply possible workaround and limitations. Signed-off-by: Jiada Wang --- .../devicetree/bindings/spi/fsl-imx-cspi.txt | 1 + drivers/spi/spi-imx

Re: [PATCH] Fix loop device flush before configure v2

2017-06-07 Thread Mike Galbraith
On Thu, 2017-06-08 at 10:17 +0800, James Wang wrote: > This condition check was exist at before commit b5dd2f6047ca ("block: loop: > improve performance via blk-mq") When add MQ support to loop device, it be > removed because the member of '->lo_thread' be removed. And then upstream > add '->worker

Re: [PATCH v4 12/13] bluetooth/smp: ensure RNG is properly seeded before ECDH use

2017-06-07 Thread Marcel Holtmann
Hi Ted, >> This protocol uses lots of complex cryptography that relies on securely >> generated random numbers. Thus, it's important that the RNG is actually >> seeded before use. Fortuantely, it appears we're always operating in >> process context (there are many GFP_KERNEL allocations and other

Re: [PATCH v2 03/11] drm: sun4i: ignore swapped mixer<->tcon connection for DE2

2017-06-07 Thread icenowy
在 2017-06-07 22:38,Maxime Ripard 写道: On Wed, Jun 07, 2017 at 06:01:02PM +0800, Icenowy Zheng wrote: >I have no idea what this is supposed to be doing either. > >I might be wrong, but I really feel like there's a big mismatch >between your commit log, and what you actually implement. > >In your c

Re: [PATCH v3 1/2] ip_tunnel: fix potential issue in ip_tunnel_rcv

2017-06-07 Thread Eric Dumazet
On Thu, 2017-06-08 at 12:32 +0800, Haishuang Yan wrote: > When ip_tunnel_rcv fails, the tun_dst won't be freed, so call > dst_release to free it in error code path. > > CC: Pravin B Shelar > Fixes: 2e15ea390e6f ("ip_gre: Add support to collect tunnel metadata.") > Signed-off-by: Haishuang Yan >

Re: [PATCH] mm: correct the comment when reclaimed pages exceed the scanned pages

2017-06-07 Thread zhong jiang
On 2017/6/7 16:31, zhongjiang wrote: > The commit e1587a494540 ("mm: vmpressure: fix sending wrong events on > underflow") declare that reclaimed pages exceed the scanned pages due > to the thp reclaim. it is incorrect because THP will be spilt to normal > page and loop again. which will result in

[PATCH] configfs: Fix race between create_link and configfs_rmdir

2017-06-07 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch closes a long standing race in configfs between the creation of a new symlink in create_link(), while the symlink target's config_item is being concurrently removed via configfs_rmdir(). This can happen because the symlink target's reference is obtained by con

[PATCH v3 2/2] acpi/iort: numa: Add numa node mapping for smmuv3 devices

2017-06-07 Thread Ganapatrao Kulkarni
Add code to parse proximity domain in SMMUv3 IORT table to set numa node mapping for smmuv3 devices. Signed-off-by: Ganapatrao Kulkarni --- drivers/acpi/arm64/iort.c | 28 ++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/drivers/acpi/arm64/iort.c b/driv

[PATCH v3 1/2] acpica: iort: Update SMMUv3 header for proximity domain mapping

2017-06-07 Thread Ganapatrao Kulkarni
ARM IORT specification (rev. C) has added two new fields to define proximity domain for the SMMUv3 node in the IORT table. Proximity Domain Valid: Set to 1 if the value provided in the Proximity Domain field is valid. Set to 0 otherwise. Proximity domain: If the Proximity

[PATCH v3 0/2] acpi/iort, numa: Add numa node mapping for smmuv3 devices

2017-06-07 Thread Ganapatrao Kulkarni
ARM IORT specification(rev. C) has added provision to define proximity domain in SMMUv3 IORT table. Adding required code to parse Proximity domain and set numa_node of smmv3 platform devices. v3: - Addressed Lorenzo Pieralisi comment. v2: - Changed as per Lorenzo Pieralisi and Hanjun Guo sug

Re: [PATCH 09/16] platform/x86: wmi: Instantiate all devices before adding them

2017-06-07 Thread Michał Kępień
> On Mon, Jun 5, 2017 at 8:03 PM, Darren Hart wrote: > > On Thu, Jun 01, 2017 at 10:43:39PM +0200, Michał Kępień wrote: > >> I know I have probably started sounding like a broken record by now, but > >> I still have not seen any response (apart from the typos getting fixed) > >> to my comments on

[RESEND PATCH] input/joystick/analog: Use get_cycles() on PPC

2017-06-07 Thread Michael Ellerman
The analog joystick driver spits a warning at us: drivers/input/joystick/analog.c:176:2: warning: #warning Precise timer not defined for this architecture. PPC has get_cycles() so use that. Signed-off-by: Michael Ellerman --- drivers/input/joystick/analog.c | 2 +- 1 file changed, 1 insert

Re: [PATCH v2] [media] vb2: core: Lower the log level of debug outputs

2017-06-07 Thread Tomasz Figa
On Thu, Jun 8, 2017 at 12:24 PM, Hirokazu Honda wrote: > Hi, > > I completely understand bitmask method now. > I agree to the idea, but it is necessary to change the specification of > a debug parameter. > (We probably need to change a document about that?) > For example, there is maybe a user wh

Re: [PATCH 1/2] clocksource/drivers: Add timer-of common init routine

2017-06-07 Thread kbuild test robot
/commits/Daniel-Lezcano/clocksource-drivers-Add-timer-of-common-init-routine/20170607-024801 reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) include/linux/compiler.h:260:8:

[PATCH v3 2/2] ip6_tunnel: fix potential issue in __ip6_tnl_rcv

2017-06-07 Thread Haishuang Yan
When __ip6_tnl_rcv fails, the tun_dst won't be freed, so call dst_release to free it in error code path. CC: Alexei Starovoitov Fixes: 8d79266bc48c ("ip6_tunnel: add collect_md mode to IPv6 tunnels") Signed-off-by: Haishuang Yan --- Changes in v2: - Add the the missing Fixes information Chang

[PATCH v3 1/2] ip_tunnel: fix potential issue in ip_tunnel_rcv

2017-06-07 Thread Haishuang Yan
When ip_tunnel_rcv fails, the tun_dst won't be freed, so call dst_release to free it in error code path. CC: Pravin B Shelar Fixes: 2e15ea390e6f ("ip_gre: Add support to collect tunnel metadata.") Signed-off-by: Haishuang Yan --- Changes in v2: - Add the the missing Fixes information Changes

Re: [patch -mm] mm, hugetlb: schedule when potentially allocating many hugepages

2017-06-07 Thread Mike Kravetz
On 06/07/2017 09:03 PM, David Rientjes wrote: > A few hugetlb allocators loop while calling the page allocator and can > potentially prevent rescheduling if the page allocator slowpath is not > utilized. > > Conditionally schedule when large numbers of hugepages can be allocated. > > Signed-off-b

Re: [PATCH 3/5] mfd: tps65217: Add a dependency on OF

2017-06-07 Thread Keerthy
On Wednesday 07 June 2017 07:40 PM, Javier Martinez Canillas wrote: > Hello Keerthy, > > On Wed, Jun 7, 2017 at 3:45 PM, Keerthy wrote: > > [snip] > > I think you can remove the of_match_device checks in some drivers too i.e: http:

Re: [PATCH v6 19/34] x86/mm: Add support to access boot related data in the clear

2017-06-07 Thread kbuild test robot
Hi Tom, [auto build test ERROR on linus/master] [also build test ERROR on v4.12-rc4 next-20170607] [cannot apply to tip/x86/core] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Tom-Lendacky/x86

Re: [PATCH 3.10 000/250] 3.10.106-stable review

2017-06-07 Thread Willy Tarreau
On Wed, Jun 07, 2017 at 05:38:36PM -0700, Guenter Roeck wrote: > Build results: > total: 121 pass: 121 fail: 0 > Qemu test results: > total: 83 pass: 83 fail: 0 Awesome! Thank you Guenter! Willy

[PATCH] security: selinux: use kmem_cache for ebitmap

2017-06-07 Thread Junil Lee
The allocated size for each ebitmap_node is 192byte by kzalloc(). Then, ebitmap_node size is fixed, so it's possible to use only 144byte for each object by kmem_cache_zalloc(). It can reduce some dynamic allocation size. Signed-off-by: Junil Lee --- security/selinux/ss/ebitmap.c | 26 ++

[PATCH] iscsi-target: Reject immediate data underflow larger than SCSI transfer length

2017-06-07 Thread Nicholas A. Bellinger
From: Nicholas Bellinger When iscsi WRITE underflow occurs there are two different scenarios that can happen. Normally in practice, when an EDTL vs. SCSI CDB TRANSFER LENGTH underflow is detected, the iscsi immediate data payload is the smaller SCSI CDB TRANSFER LENGTH. That is, when a host fab

[RFC PATCH 1/4] EDAC: mvebu: Add driver for Marvell Armada SoCs

2017-06-07 Thread Chris Packham
This adds an EDAC driver for the memory controller and L2 cache used on a number of Marvell Armada SoCs. Signed-off-by: Chris Packham Cc: linux-arm-ker...@lists.infradead.org --- drivers/edac/Kconfig | 7 + drivers/edac/Makefile | 1 + drivers/edac/mvebu_edac.c | 506 +++

[RFC PATCH 3/4] ARM: l2x0: add arm,ecc-enable property for aurora

2017-06-07 Thread Chris Packham
The aurora cache on the Marvell Armada-XP SoC supports ECC protection for the L2 data arrays. Add a "arm,ecc-enable" device tree property which can be used to enable this. Signed-off-by: Chris Packham --- Documentation/devicetree/bindings/arm/l2c2x0.txt | 2 ++ arch/arm/mm/cache-l2x0.c

[RFC PATCH 4/4] ARM: dts: enable l2c parity and ecc protection on 98dx3236

2017-06-07 Thread Chris Packham
Signed-off-by: Chris Packham --- arch/arm/boot/dts/armada-xp-98dx3236.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/armada-xp-98dx3236.dtsi b/arch/arm/boot/dts/armada-xp-98dx3236.dtsi index 84cc232a29e9..32d05ec88ffd 100644 --- a/arch/arm/boot/dts/armada-xp-98dx323

[RFC PATCH 2/4] ARM: l2x0: support parity-enable/disable on aurora

2017-06-07 Thread Chris Packham
The aurora cache on the Marvell Armada-XP SoC supports the same tag parity features as the other l2x0 cache implementations. Signed-off-by: Chris Packham --- arch/arm/mm/cache-l2x0.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/mm/cache-l2x0.c b/arch/arm/mm/cache-l2x0.c in

[PATCH v4] mfd: lp87565: Add lp87565 PMIC support

2017-06-07 Thread Keerthy
The LP87565 chip is a power management IC for Portable Navigation Systems and Tablet Computing devices. It contains the following components: - Configurable Bucks(Single and multi-phase). - Configurable General Purpose Output Signals (GPO). The LP87565-Q1 variant device uses two 2

Re: [1/7] powerpc/mm: rename map_page() to map_kernel_page() on PPC32

2017-06-07 Thread Michael Ellerman
On Mon, 2017-05-29 at 15:31:56 UTC, Christophe Leroy wrote: > Signed-off-by: Christophe Leroy > Acked-by: Balbir Singh Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/4386c096c2ffa1b3232d701e9d7ff8 cheers

Re: [PATCH v2 1/2] ip_tunnel: fix potential issue in ip_tunnel_rcv

2017-06-07 Thread Pravin Shelar
On Wed, Jun 7, 2017 at 8:15 PM, Eric Dumazet wrote: > On Wed, 2017-06-07 at 19:13 -0700, Pravin Shelar wrote: >> On Wed, Jun 7, 2017 at 5:57 PM, Haishuang Yan >> wrote: >> > When ip_tunnel_rcv fails, the tun_dst won't be freed, so move >> > skb_dst_set to begin and tun_dst would be freed by kfree

Re: powerpc/perf: Fix Power9 test_adder field

2017-06-07 Thread Michael Ellerman
On Fri, 2017-05-26 at 08:08:27 UTC, Madhavan Srinivasan wrote: > Commit 8d911904f3ce4 ('powerpc/perf: Add restrictions to PMC5 in power9 DD1') > was added to restrict the use of PMC5 in Power9 DD1. Intend is to diable > the use of PMC5 using raw event code. Commit instead of updating > "power9_isa

[patch -mm] mm, hugetlb: schedule when potentially allocating many hugepages

2017-06-07 Thread David Rientjes
A few hugetlb allocators loop while calling the page allocator and can potentially prevent rescheduling if the page allocator slowpath is not utilized. Conditionally schedule when large numbers of hugepages can be allocated. Signed-off-by: David Rientjes --- Based on -mm only to prevent merge c

Re: [kernel-hardening] Re: [PATCH v3 04/13] crypto/rng: ensure that the RNG is ready before using

2017-06-07 Thread Daniel Micay
On Wed, 2017-06-07 at 18:26 +0100, Mark Rutland wrote: > On Wed, Jun 07, 2017 at 01:00:25PM -0400, Daniel Micay wrote: > > > On the better bootloaders, an initramfs segment can be loaded > > > independently (and you can have as many as required), which makes > > > an > > > early_initramfs a more pa

[PATCH] MAINTAINERS: gpio: gpio-davinci: Add entry for gpio-davinci driver

2017-06-07 Thread Keerthy
Add an entry for the gpio-davinci driver and add myself as a maintainer for the same. Signed-off-by: Keerthy --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index fbad0b6..eb908ba 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -11906,6 +11906,1

Re: [PATCH 03/17] base: fix order of OF initialization

2017-06-07 Thread Frank Rowand
On 06/07/17 11:39, Wesley Terpstra wrote: > It was a while ago that I debugged this. I already reported this bug > to Benjamin Herrenschmidt (now in CC), and I believe he has a patch of > his own to fix the same issue. > > As I understand it, of_core_init sets up the OF entries in > /sys/firmware/

Re: [PATCH] cpufreq: exynos5440: Fix inconsistent indenting

2017-06-07 Thread Viresh Kumar
On 07-06-17, 20:13, Krzysztof Kozlowski wrote: > Fix inconsistent indenting and unneeded white space in assignment. > > Signed-off-by: Krzysztof Kozlowski > --- > drivers/cpufreq/exynos5440-cpufreq.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/cpufreq/

[PATCH v2 0/1] Add Trusted Path Execution as a stackable LSM

2017-06-07 Thread Matt Brown
Trusted Path Execution (TPE) Patch Versions: v1: * initial patch introduction v2: * included copyright notice from Brad Spengler and Corey Henderson * reversed the invert_gid logic. tpe.gid now defaults to being the trusted group rather than the untrusted group. * fixed race condition by takin

[PATCH v2 1/1] Add Trusted Path Execution as a stackable LSM

2017-06-07 Thread Matt Brown
This patch was modified from Brad Spengler's Trusted Path Execution (TPE) feature. It also adds features and config options that were found in Corey Henderson's tpe-lkm project. Modifications from Brad Spengler's implementation of TPE were made to turn it into a stackable LSM using the existing LS

Re: [PATCH v3] mfd: lp87565: Add lp87565 PMIC support

2017-06-07 Thread Keerthy
On Thursday 08 June 2017 02:41 AM, Rob Herring wrote: > On Tue, May 30, 2017 at 06:57:40PM +0530, Keerthy wrote: >> The LP87565 chip is a power management IC for Portable Navigation Systems >> and Tablet Computing devices. It contains the following components: >> >> - Configurable Bucks(S

  1   2   3   4   5   6   7   8   9   10   >