Re: loop: WARNING in sysfs_remove_group

2017-03-23 Thread Ming Lei
On Thu, Mar 23, 2017 at 03:09:44PM +0100, Dmitry Vyukov wrote: > Hello, > > I've got the following WARNING while running syzkaller on > 093b995e3b55a0ae0670226ddfcb05bfbf0099ae. Note the preceding injected > kmalloc failure, most likely it's the root cause. > > FAULT_INJECTION: forcing a failure.

[PATCH V2] ACPI / IPMI: allow ACPI_IPMI with IPMI_SSIF

2017-03-23 Thread Sinan Kaya
ACPI_IPMI driver currently depends on IPMI System Interface (IPMI_SI) driver to be enabled. IPMI_SI driver only handles KCS, SMIC and BT BMC interfaces. IPMI_SSIF is an alternative BMC communication method. It allows BMC to be accessed over an I2C bus instead of a standard interface. Enabling ACP

Re: [PATCH v2] HV: properly delay KVP packets when negotiation is in progress

2017-03-23 Thread Vitaly Kuznetsov
Long Li writes: > The host may send multiple negotiation packets (due to timeout) before > the KVP user-mode daemon is connected. We need to defer processing > those packets until the daemon is negotiated and connected. It's okay > for guest to respond to all negotiation packets. > > In additi

Re: [RFC] Add option to mount only a pids subset

2017-03-23 Thread Djalal Harouni
Hi Alexey, On Mon, Mar 20, 2017 at 1:58 PM, Alexey Gladkov wrote: > > > Al Viro, this patch looks better ? > > == Overview == > > Some of the container virtualization systems are mounted /proc inside > the container. This is done in most cases to operate with information > about the processes. Kn

Re: [PATCH v1] KVM: kvm_io_bus_unregister_dev() should never fail

2017-03-23 Thread Cornelia Huck
On Thu, 23 Mar 2017 15:34:41 +0100 David Hildenbrand wrote: > No caller currently checks the return value of > kvm_io_bus_unregister_dev(). This is evil, as all callers silently go on > freeing their device. A stale reference will remain in the io_bus, > getting at least used again, when the iobu

Re: [RFC] Add option to mount only a pids subset

2017-03-23 Thread Oleg Nesterov
Again, I can't really review this, I know nothing about vfs, but since nobody else replied... On 03/20, Alexey Gladkov wrote: > > @@ -97,7 +169,23 @@ static struct dentry *proc_mount(struct file_system_type > *fs_type, > ns = task_active_pid_ns(current); > } > > - return m

net/sched: GPF in qdisc_hash_add

2017-03-23 Thread Dmitry Vyukov
Hello, I've hit the following GPF while running syzkaller on commit 093b995e3b55a0ae0670226ddfcb05bfbf0099ae. Note the preceding injected kmalloc failure, most likely it's the root cause. FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 2 PID: 1

[PATCH] bna: avoid writing uninitialized data into hw registers

2017-03-23 Thread Arnd Bergmann
The latest gcc-7 snapshot warns about bfa_ioc_send_enable/bfa_ioc_send_disable writing undefined values into the hardware registers: drivers/net/ethernet/brocade/bna/bfa_ioc.c: In function 'bfa_iocpf_sm_disabling_entry': arch/arm/include/asm/io.h:109:22: error: '*((void *)&disable_req+4)' is used

Hello,

2017-03-23 Thread simpore rachidi
Dear Friend, Can you be able to assist in handling this transaction? More details will be sent to you as soon as i receive your response. An approval will be granted to you as soon as you apply for the release of the fund to you. I need your urgent assistance in transferring the sum of US$5 M

[PATCH] drivers/misc: aspeed-lpc-ctrl: fix printk format warning again

2017-03-23 Thread Arnd Bergmann
The format string is still broken after the first attempt to fix it: drivers/misc/aspeed-lpc-ctrl.c: In function 'aspeed_lpc_ctrl_probe': drivers/misc/aspeed-lpc-ctrl.c:232:17: error: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'resource_size_t {aka long long uns

Re: [PATCH v4 1/4] pinctrl: rockchip: remove unnecessary locking

2017-03-23 Thread Julia Cartwright
Hello John- One quick question below. Apologies if this has been covered, but just want to be sure. On Thu, Mar 23, 2017 at 10:59:28AM +, John Keeping wrote: > regmap_update_bits does its own locking and everything else accessed > here is a local variable so there is no need to lock around i

Re: [PATCH] arm64: kconfig: allow support for memory failure handling

2017-03-23 Thread Punit Agrawal
On 23/03/17 14:33, James Morse wrote: Hi Punit, On 01/02/17 21:38, Tyler Baicar wrote: From: "Jonathan (Zhixiong) Zhang" If ACPI_APEI and MEMORY_FAILURE is configured, select ACPI_APEI_MEMORY_FAILURE. This enables memory failure recovery when such memory failure is reported through ACPI APE

Re: [PATCH v3 03/12] irqchip: mtk-sysirq: prevent unnecessary visibility when set_type

2017-03-23 Thread Marc Zyngier
On 19/03/17 15:26, Mars Cheng wrote: > This prevent unnecessary visibility when configuring trigger type > > Signed-off-by: Mars Cheng Acked-by: Marc Zyngier M. -- Jazz is not dead. It just smells funny...

Re: [PATCH v2 4/7] arm: dts: r7s72100: Add pin controller node

2017-03-23 Thread jacopo
Hi Geert, On Wed, Mar 22, 2017 at 02:12:04PM +0100, Geert Uytterhoeven wrote: > Hi Jacopo, > > On Mon, Mar 20, 2017 at 5:14 PM, Jacopo Mondi > wrote: > > Add pin controller node with 12 gpio controller sub-nodes to > > r7s72100 dtsi. > > > > Signed-off-by: Jacopo Mondi > > Reviewed-by: Geert

Re: next build: 208 builds: 9 failed, 199 passed, 857 errors, 444 warnings (next-20170323)

2017-03-23 Thread Arnd Bergmann
On Thu, Mar 23, 2017 at 6:46 AM, kernelci.org bot wrote: > acs5k_defconfig (arm) — PASS, 0 errors, 2 warnings, 0 section mismatches > > Warnings: > :1328:2: warning: #warning syscall arch_prctl not implemented [-Wcpp] > :1328:2: warning: #warning syscall arch_prctl not implemented [-Wcpp] patch

Re: [PATCH v1] KVM: kvm_io_bus_unregister_dev() should never fail

2017-03-23 Thread David Hildenbrand
> As this may set kvm->buses[bus_idx] to NULL, don't you also need to > guard for bus == NULL in kvm_io_bus_destroy()? (I looked at the code on > kvm/queue.) very right, so something like this? diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index e1be4b4..ef1aa7f 100644 --- a/virt/kvm/kv

Re: [PATCH v3 02/12] irqchip: mtk-sysirq: extend intpol base to arbitrary number

2017-03-23 Thread Marc Zyngier
On 19/03/17 15:26, Mars Cheng wrote: > Originally driver only supports one base. However, MT6797 has > more than one bases to configure interrupt polarity. To support > possible design change, here comes a solution to use arbitrary > number of bases. > > Signed-off-by: Mars Cheng Acked-by: Marc

Re: [PATCH] printk: use console_trylock() in console_cpu_notify()

2017-03-23 Thread Petr Mladek
On Wed 2017-01-25 16:02:36, Petr Mladek wrote: > On Sat 2017-01-21 19:47:29, Sergey Senozhatsky wrote: > > There is no need to always call blocking console_lock() in > > console_cpu_notify(), it's quite possible that console_sem can > > be locked by other CPU on the system, either already printing

Re: [PATCH v2 05/23] MAINTAINERS: Add file patterns for dove device tree bindings

2017-03-23 Thread Gregory CLEMENT
Hi Geert, On dim., mars 12 2017, Geert Uytterhoeven wrote: > Submitters of device tree binding documentation may forget to CC > the subsystem maintainer if this is missing. > > Signed-off-by: Geert Uytterhoeven > Cc: Jason Cooper > Cc: Andrew Lunn > Cc: Sebastian Hesselbarth > Cc: Gregory

[RFT PATCH 1/6] ARM64: dts: meson-gxbb: Add gpio-ranges properties

2017-03-23 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi index 04b3324..84c590b 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb

[RFT PATCH 6/6] ARM64: dts: meson-gxbb: Add USB Hub GPIO hog

2017-03-23 Thread Neil Armstrong
The ODroid-C2 on-board USB Hub needs to to have it's reset signal set to high level in order to be enumerated by the USB Host Controller. But this management must be part of the currently in-development Generic Power Sequence patch that will allow a USB Controller driver to start and stop a power

[RFT PATCH 4/6] ARM: dts: meson8b: Add gpio-ranges properties

2017-03-23 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- arch/arm/boot/dts/meson8b.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/meson8b.dtsi b/arch/arm/boot/dts/meson8b.dtsi index 41fd536..828aa49 100644 --- a/arch/arm/boot/dts/meson8b.dtsi +++ b/arch/arm/boot/dts/meson8b.dtsi @@ -198,6

[RFT PATCH 5/6] pinctrl: meson: use gpio-ranges from DT

2017-03-23 Thread Neil Armstrong
When trying to add a gpio-hog, we enter a weird loop where the gpio-ranges is needed when gpiochip_add_data() is called but in the current implementation the ranges are added from the driver afterwards. A simple solution is to rely on the DR gpio-ranges attribute and remove the call to gpiochip_ad

[RFT PATCH 0/6] pinctrl: meson: Fix gpio-ranged for GPIO Hog

2017-03-23 Thread Neil Armstrong
Whem trying to add a gpio hog to enable the USB Hub on the Odroid-C2, I encountered a strange bug where when calling gpiochip_add_data() the gpiolib code was trying to add the Hog but failed because the gpio ranges were missing. In the meson-pinctrl driver, the gpio ranges are added manually /afte

[RFT PATCH 3/6] ARM: dts: meson8: Add gpio-ranges properties

2017-03-23 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- arch/arm/boot/dts/meson8.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/meson8.dtsi b/arch/arm/boot/dts/meson8.dtsi index 45619f6..ebc763e 100644 --- a/arch/arm/boot/dts/meson8.dtsi +++ b/arch/arm/boot/dts/meson8.dtsi @@ -106,6 +106,

[RFT PATCH 2/6] ARM64: dts: meson-gxl: Add gpio-ranges properties

2017-03-23 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi index fe11b5f..64f4b6e 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl.dts

Re: [PATCH v2] ARM: dts: mvebu: linksys: enable buffer manager support

2017-03-23 Thread Gregory CLEMENT
Hi Ralph, On jeu., mars 16 2017, Ralph Sennhauser wrote: > Add appropriate properties to devices in the Linksys WRT AC Series for the > mvneta driver to use hardware buffer management. > > Also update "soc" ranges property and set the status of bm and bm-bppi > to "okay" (SRAM). > > Signed-off

Re: linux-next: manual merge of the gpio tree with the input tree

2017-03-23 Thread Dmitry Torokhov
On Thu, Mar 23, 2017 at 2:27 AM, Linus Walleij wrote: > On Mon, Mar 20, 2017 at 5:03 AM, Stephen Rothwell > wrote: >> Hi Linus, >> >> Today's linux-next merge of the gpio tree got a conflict in: >> >> drivers/input/misc/soc_button_array.c >> >> between commit: >> >> a01cd17000a4 ("Input: soc

Re: [PATCH 1/2] mfd: hi655x: Reference required regulator driver

2017-03-23 Thread Lee Jones
On Mon, 20 Mar 2017, Jeremy Linton wrote: > The hisi pmic requires an independent regulator driver to be > loaded so that devices dependent on the pmic/regulator are > started properly. Currently there is only a single compatible > regulator driver in the tree, so reference it with a module soft >

Re: [PATCH] tpm2: fix off-by-one comparison and out-of-bounds read error

2017-03-23 Thread Jarkko Sakkinen
On Thu, Mar 23, 2017 at 05:53:58PM +0200, Jarkko Sakkinen wrote: > On Wed, Mar 22, 2017 at 04:12:49PM +0300, Dan Carpenter wrote: > > On Wed, Mar 22, 2017 at 11:45:37AM +, Colin Ian King wrote: > > > On 22/03/17 11:42, Jarkko Sakkinen wrote: > > > > On Mon, Mar 20, 2017 at 02:23:36PM +, Col

[PATCH v6 0/4] MIPS: Remote processor driver

2017-03-23 Thread Matt Redfearn
The MIPS remote processor driver allows non-Linux firmware to take control of and execute on one of the systems VPEs, turning the system into a hybrid of SMP Linux and AMP. This is useful to allow running bare metal code, or an RTOS, on one or more CPUs while allowing Linux to continue running on

[PATCH v6 3/4] remoteproc/MIPS: Add a remoteproc driver for MIPS

2017-03-23 Thread Matt Redfearn
This driver allows a MIPS processor offlined from Linux to be used as a remote processor. The processor can then handle real-time tasks or perform coprocessing while remaining processors are available to Linux, effectively making the system hybrid of SMP Linux and AMP. A sysfs interface is provide

[PATCH v6 2/4] MIPS: CPS: Add VP(E) stealing

2017-03-23 Thread Matt Redfearn
From: Lisa Parratt VP(E) stealing provides a mechanism for removing an offline Virtual Processor from the Linux kernel such that it is available to run bare metal code. Once the CPU has been offlined from Linux, the CPU can be given a task to run via mips_cps_steal_cpu_and_execute(). The CPU is r

[PATCH v6 4/4] MIPS: Deprecate VPE Loader

2017-03-23 Thread Matt Redfearn
The MIPS remote processor driver (CONFIG_MIPS_REMOTEPROC) provides a more standard mechanism for using one or more VPs as coprocessors running separate firmware. Here we deprecate this mechanism before it is removed. Signed-off-by: Matt Redfearn --- Changes in v6: None Changes in v5: None Chang

[PATCH v6 1/4] irqchip: mips-gic: Add context saving for MIPS_REMOTEPROC

2017-03-23 Thread Matt Redfearn
The MIPS remote processor driver allows non-Linux firmware to take control of and execute on one of the systems VPEs. If that VPE is brought back under Linux, it is necessary to ensure that all GIC interrupts are routed and masked as Linux expects them, as the firmware can have done anything it lik

Re: [PATCH] hibernation: on 32-bit x86, disabled in favor of KASLR

2017-03-23 Thread Yu Chen
Hi, On Thu, Mar 23, 2017 at 9:23 PM, Evgenii Shatokhin wrote: > On 23.03.2017 03:27, Kees Cook wrote: >> >> This is a modified revert of commit 65fe935dd238 ("x86/KASLR, x86/power: >> Remove x86 hibernation restrictions"), since it appears that 32-bit >> hibernation still can't support KASLR. 64-

Re: kvm: WARNING in mmu_spte_clear_track_bits

2017-03-23 Thread Dmitry Vyukov
On Tue, Mar 14, 2017 at 4:17 PM, Radim Krčmář wrote: > 2017-03-12 12:20+0100, Dmitry Vyukov: >> On Tue, Jan 17, 2017 at 5:00 PM, Dmitry Vyukov wrote: >>> On Tue, Jan 17, 2017 at 4:20 PM, Paolo Bonzini wrote: On 13/01/2017 12:15, Dmitry Vyukov wrote: > > I've commented out

Re: [PATCH v1] KVM: kvm_io_bus_unregister_dev() should never fail

2017-03-23 Thread Cornelia Huck
On Thu, 23 Mar 2017 17:20:48 +0100 David Hildenbrand wrote: > > > As this may set kvm->buses[bus_idx] to NULL, don't you also need to > > guard for bus == NULL in kvm_io_bus_destroy()? (I looked at the code on > > kvm/queue.) > > very right, so something like this? > > diff --git a/virt/kvm/kv

Re: [PATCH v2 2/4] mvebu: xp: Add pwm properties to .dtsi files

2017-03-23 Thread Gregory CLEMENT
Hi Ralph, On sam., mars 18 2017, Ralph Sennhauser wrote: It seems that I don't receive the 1st patch of the series. Also could you refresh my mind to expose why these patchse were not apply the first time and why we should apply them now? Thanks, Gregory > From: Andrew Lunn > > Add prope

Re: [REGRESSION] 07ec51480b5e ("virtio_pci: use shared interrupts for virtqueues") causes crashes in guest

2017-03-23 Thread Michael S. Tsirkin
On Thu, Mar 23, 2017 at 03:19:07PM +, Richard W.M. Jones wrote: > On Thu, Mar 23, 2017 at 01:13:50PM +0800, Jason Wang wrote: > > >From 312859b596e83a2164a8430343d31fce2a5ad808 Mon Sep 17 00:00:00 2001 > > From: Jason Wang > > Date: Thu, 23 Mar 2017 13:07:16 +0800 > > Subject: [PATCH] virtio_p

Re: [PATCH] tpm2: fix off-by-one comparison and out-of-bounds read error

2017-03-23 Thread Dan Carpenter
On Thu, Mar 23, 2017 at 05:53:58PM +0200, Jarkko Sakkinen wrote: > On Wed, Mar 22, 2017 at 04:12:49PM +0300, Dan Carpenter wrote: > > On Wed, Mar 22, 2017 at 11:45:37AM +, Colin Ian King wrote: > > > On 22/03/17 11:42, Jarkko Sakkinen wrote: > > > > On Mon, Mar 20, 2017 at 02:23:36PM +, Col

Re: kvm: BUG in pte_list_remove

2017-03-23 Thread Dmitry Vyukov
On Mon, Nov 14, 2016 at 10:43 AM, Dmitry Vyukov wrote: > On Mon, Nov 14, 2016 at 10:34 AM, Paolo Bonzini wrote: >> >> >> On 14/11/2016 10:03, Dmitry Vyukov wrote: >>> Paolo, >>> can you please also commit this test to tools/testing? We are >>> frustrated by the situation that we reported hundreds

Re: [PATCH v2 1/3] mfd: Add Cherry Trail Whiskey Cove PMIC driver

2017-03-23 Thread Lee Jones
On Mon, 20 Mar 2017, Hans de Goede wrote: > Add mfd driver for Intel CHT Whiskey Cove PMIC, based on various non > upstreamed CHT Whiskey Cove PMIC patches. > > This is a somewhat minimal version which adds irqchip support and cells > for: ACPI PMIC opregion support, the i2c-controller driving th

Re: [Xen-devel] [PATCH 0/2 v2] xen/acpi: upload PM state from init-domain to Xen

2017-03-23 Thread Boris Ostrovsky
On 03/21/2017 06:43 PM, Ankur Arora wrote: > This patch series re-enables the upload of PM data from initial-domain > to Xen. This was broken in commit cd979883b9ede90643e019f33cb317933eb867b4. > > The upload now happens post-resume in workqueue context. From the > POV of Xen, the PM upload might b

Re: [PATCH 2/5] mfd: intel_soc_pmic: Select designware i2c-bus driver

2017-03-23 Thread Lee Jones
On Wed, 22 Mar 2017, Andy Shevchenko wrote: > On Wed, 2017-03-22 at 12:29 +0100, Hans de Goede wrote: > > The Crystal Cove PMIC provides an ACPI OPRegion handler, which must be > > available before other drivers using it are loaded, which is why > > INTEL_SOC_PMIC is a bool. > > > > Just having t

[PATCH 1/8] pinctrl: meson: gxbb: add i2s output pins

2017-03-23 Thread Jerome Brunet
Signed-off-by: Jerome Brunet --- drivers/pinctrl/meson/pinctrl-meson-gxbb.c | 31 ++ 1 file changed, 31 insertions(+) diff --git a/drivers/pinctrl/meson/pinctrl-meson-gxbb.c b/drivers/pinctrl/meson/pinctrl-meson-gxbb.c index 7671424d46cb..8d5dd4772042 100644 --- a/dr

Re: [PATCH v3 04/11] Documentation: DT: bindings: mfd: add A33 GPADC binding

2017-03-23 Thread Lee Jones
On Tue, 21 Mar 2017, Quentin Schulz wrote: > This patch adds documentation for the A33 GPADC binding. > > Signed-off-by: Quentin Schulz > --- > > v3: > - fixed missing allwinner in front of compatible, > - updated compatible to allwinner,sun8i-a33-ths to better reflect the > datasheet's n

[PATCH 2/8] pinctrl: meson: gxbb: add spdif output pins

2017-03-23 Thread Jerome Brunet
Signed-off-by: Jerome Brunet --- drivers/pinctrl/meson/pinctrl-meson-gxbb.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/pinctrl/meson/pinctrl-meson-gxbb.c b/drivers/pinctrl/meson/pinctrl-meson-gxbb.c index 8d5dd4772042..9bae2e3968af 100644 --- a/drivers/pinctr

[PATCH 3/8] pinctrl: meson: gxl: add i2s output pins

2017-03-23 Thread Jerome Brunet
Signed-off-by: Jerome Brunet --- drivers/pinctrl/meson/pinctrl-meson-gxl.c | 31 +++ 1 file changed, 31 insertions(+) diff --git a/drivers/pinctrl/meson/pinctrl-meson-gxl.c b/drivers/pinctrl/meson/pinctrl-meson-gxl.c index a0a7936f8f0d..a022a9e49113 100644 --- a/driv

[PATCH 5/8] ARM64: dts: meson-gxbb: add i2s output pins

2017-03-23 Thread Jerome Brunet
Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 63 + 1 file changed, 63 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi index 04b3324bc132..5ce70e1ec9ae 100644 --- a/

[PATCH 4/8] pinctrl: meson: gxl: add spdif output pins

2017-03-23 Thread Jerome Brunet
Signed-off-by: Jerome Brunet --- drivers/pinctrl/meson/pinctrl-meson-gxl.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/pinctrl/meson/pinctrl-meson-gxl.c b/drivers/pinctrl/meson/pinctrl-meson-gxl.c index a022a9e49113..a5a9b4f78636 100644 --- a/drivers/pinctrl/m

Re: [tip:sched/urgent] sched/clock: Fix clear_sched_clock_stable() preempt wobbly

2017-03-23 Thread Paul E. McKenney
On Thu, Mar 23, 2017 at 02:10:47AM -0700, tip-bot for Peter Zijlstra wrote: > Commit-ID: 71fdb70eb48784c1f28cdf2e67c4c587dd7f2594 > Gitweb: http://git.kernel.org/tip/71fdb70eb48784c1f28cdf2e67c4c587dd7f2594 > Author: Peter Zijlstra > AuthorDate: Mon, 13 Mar 2017 13:46:21 +0100 > Committer

[PATCH 6/8] ARM64: dts: meson-gxbb: add spdif output pins

2017-03-23 Thread Jerome Brunet
Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi index 5ce70e1ec9ae..e5fd88e2c5f7 100644 --- a/arch/arm

[PATCH 8/8] ARM64: dts: meson-gxl: add spdif output pins

2017-03-23 Thread Jerome Brunet
Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi index 88ad3490c124..8f57e74b719c 100644 --- a/arch/arm64/

[PATCH 7/8] ARM64: dts: meson-gxl: add i2s output pins

2017-03-23 Thread Jerome Brunet
Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 62 ++ 1 file changed, 62 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi index fe11b5fc61f7..88ad3490c124 100644 --- a/ar

Re: run_timer_softirq gpf. [smc]

2017-03-23 Thread Ursula Braun
> > From: Thomas Gleixner > To: Dave Jones > Cc: Linux Kernel , Steven Rostedt > , Ursula Braun , > net...@vger.kernel.org > Date: 21.03.2017 22:46 > Subject:Re: run_timer_softirq gpf. [smc] > Sent by:netdev-ow...@vger.kernel.org > > > > On Tue, 21 Mar 2017, Dav

Re: [PATCH v2 2/2] iio: Aspeed AST2400/AST2500 ADC

2017-03-23 Thread Rick Altherr
Restoring the list after an accidental direct reply. On Wed, Mar 22, 2017 at 1:30 PM, Rick Altherr wrote: > On Tue, Mar 21, 2017 at 2:14 PM, Peter Meerwald-Stadler > wrote: >> >>> Aspeed AST2400/AST2500 BMC SoCs include a 16 channel, 10-bit ADC. Low >>> and high threshold interrupts are supporte

[PATCH 0/8] pinctrl: meson: add audio output pins

2017-03-23 Thread Jerome Brunet
This patchset adds the pinctrl definition and the related device-tree bindings of the i2s output and spdif output pins on the meson gxbb and gxl SoCs. This is part of the ongoing work to bring audio output suppot on the meson family. It was tested on the gxbb p200 and gxl p230. Jerome Brunet (8):

RAID array is gone, please help

2017-03-23 Thread raid
I am hoping someone here will help me. Was reading this site... https://raid.wiki.kernel.org/index.php/Linux_Raid and it said to email this list if you've tried everything other than mdadm --create. I am running Ubuntu 16.04. Machine name is fred. I used webmin to create a 4 disk RAID10 arr

Re: [BUG] 4.11.0-rc3 xterm hung in D state on exit, wchan is tty_release_struct

2017-03-23 Thread Rob Herring
On Thu, Mar 23, 2017 at 08:46:03AM -0500, Rob Herring wrote: > On Thu, Mar 23, 2017 at 12:30:18AM -0700, l...@pengaru.com wrote: > > On Wed, Mar 22, 2017 at 11:44:18PM -0700, l...@pengaru.com wrote: > > > On Wed, Mar 22, 2017 at 07:08:46PM -0700, l...@pengaru.com wrote: > > > > Hello list, > > > >

Re: [PATCH v2 2/2] iio: Aspeed AST2400/AST2500 ADC

2017-03-23 Thread Rick Altherr
On Thu, Mar 23, 2017 at 12:52 AM, Quentin Schulz wrote: > Hi, > > On 22/03/2017 21:46, Rick Altherr wrote: >> On Wed, Mar 22, 2017 at 12:21 AM, Quentin Schulz >> wrote: >>> Hi, >>> >>> On 21/03/2017 21:48, Rick Altherr wrote: Aspeed AST2400/AST2500 BMC SoCs include a 16 channel, 10-bit ADC.

Re: [PATCH v2 2/2] iio: Aspeed AST2400/AST2500 ADC

2017-03-23 Thread Rick Altherr
Restoring the list after an accidental direct reply. On Wed, Mar 22, 2017 at 2:32 PM, Rick Altherr wrote: > On Wed, Mar 22, 2017 at 2:47 AM, Joel Stanley wrote: >> On Wed, Mar 22, 2017 at 7:18 AM, Rick Altherr wrote: >>> Aspeed AST2400/AST2500 BMC SoCs include a 16 channel, 10-bit ADC. Low >>>

ATM Department Center for urgent delivery

2017-03-23 Thread Mrs. Marina Zeugma
Your ATM CARD of USD2.800,000 : 00USD.is with us with registration code of (Shipment Code 11684990) contact us with your delivery information such as, Your Name, Your Address and Your Telephone Number, Your passport or ID card. Contact Email:(simnico...@gmail.com) Finally, be informed that we have

Re: Dell Inspiron 5558/0VNM2T hangs at resume from suspend when USB 3 is enabled

2017-03-23 Thread Mathias Nyman
On 22.03.2017 19:51, Mathias Nyman wrote: On 22.03.2017 00:52, Diego Viola wrote: On Tue, Mar 21, 2017 at 12:29 PM, Diego Viola wrote: On Tue, Mar 21, 2017 at 10:04 AM, Diego Viola wrote: On Mon, Mar 20, 2017 at 8:15 PM, Diego Viola wrote: On Mon, Mar 20, 2017 at 3:27 PM, Diego Viola wrot

Re: [PATCH V13 04/10] arm64: exception: handle Synchronous External Abort

2017-03-23 Thread Catalin Marinas
On Tue, Mar 21, 2017 at 04:46:59PM -0600, Tyler Baicar wrote: > SEA exceptions are often caused by an uncorrected hardware > error, and are handled when data abort and instruction abort > exception classes have specific values for their Fault Status > Code. > When SEA occurs, before killing the pro

Re: [RFC PATCH v0.2] PCI: Add support for tango PCIe host bridge

2017-03-23 Thread Mason
On 23/03/2017 15:22, Marc Zyngier wrote: > On 23/03/17 13:05, Mason wrote: > >> +#define MSI_COUNT 32 > > Is this something that is hardcoded? Unlikely to ever change? The host bridge actually supports 256 MSIs. IIUC, what you suggested on IRC is that I support 256 in the driver, and only read

Re: [PATCH 0/2] serial: Add name field to uart_port

2017-03-23 Thread Andy Shevchenko
On Thu, Mar 23, 2017 at 2:22 PM, Vignesh R wrote: > On Thursday 23 March 2017 12:16 AM, Andy Shevchenko wrote: >> On Tue, Mar 21, 2017 at 3:36 PM, Vignesh R wrote: >>> This series adds name attribute to uart_port struct inorder to store >>> name of the tty port that will help in identify differen

Re: Dell Inspiron 5558/0VNM2T hangs at resume from suspend when USB 3 is enabled

2017-03-23 Thread Diego Viola
On Thu, Mar 23, 2017 at 2:02 PM, Mathias Nyman wrote: > On 22.03.2017 19:51, Mathias Nyman wrote: >> >> On 22.03.2017 00:52, Diego Viola wrote: >>> >>> On Tue, Mar 21, 2017 at 12:29 PM, Diego Viola >>> wrote: On Tue, Mar 21, 2017 at 10:04 AM, Diego Viola wrote: > > On Mon,

Re: [PATCH v1] KVM: kvm_io_bus_unregister_dev() should never fail

2017-03-23 Thread David Hildenbrand
> > Either that, or an early exit for bus == NULL in kvm_io_bus_destroy(). > (I think the second option is more straightforward.) I prefer to have the checks where kvm->buses[x] is actually accessed. So the chance of missing yet another check is easier to verify. Will send out v2 in a couple of

Re: [REGRESSION] 07ec51480b5e ("virtio_pci: use shared interrupts for virtqueues") causes crashes in guest

2017-03-23 Thread Thorsten Leemhuis
On 23.03.2017 17:41, Michael S. Tsirkin wrote: > On Thu, Mar 23, 2017 at 03:19:07PM +, Richard W.M. Jones wrote: >> On Thu, Mar 23, 2017 at 01:13:50PM +0800, Jason Wang wrote: >>> >From 312859b596e83a2164a8430343d31fce2a5ad808 Mon Sep 17 00:00:00 2001 >>> From: Jason Wang >>> Date: Thu, 23 Mar

Re: [PATCH 12/13] powerpc/perf: Thread imc cpuhotplug support

2017-03-23 Thread Gautham R Shenoy
Hi Maddy, Anju, On Thu, Mar 16, 2017 at 01:05:06PM +0530, Madhavan Srinivasan wrote: > From: Anju T Sudhakar > > This patch adds support for thread IMC on cpuhotplug. > > When a cpu goes offline, the LDBAR for that cpu is disabled, and when it comes > back online the previous ldbar value is wri

Re: [PATCH 3/4] RAS: Add a Corrected Errors Collector

2017-03-23 Thread Luck, Tony
On Thu, Mar 23, 2017 at 04:22:28PM +0100, Borislav Petkov wrote: > On Wed, Mar 22, 2017 at 07:03:39PM +0100, Borislav Petkov wrote: > > Lemme try to write a small script exercising exactly that scenario to > > see whether I'm actually not talking crap here :-) > > Ok, here's a snapshot from the CE

[PATCH v2] KVM: kvm_io_bus_unregister_dev() should never fail

2017-03-23 Thread David Hildenbrand
No caller currently checks the return value of kvm_io_bus_unregister_dev(). This is evil, as all callers silently go on freeing their device. A stale reference will remain in the io_bus, getting at least used again, when the iobus gets teared down on kvm_destroy_vm() - leading to use after free err

[PATCH v5 4/4] arm64/syscalls: Specific usage of verify_pre_usermode_state

2017-03-23 Thread Thomas Garnier
Implement specific usage of verify_pre_usermode_state for user-mode returns for arm64. --- Based on next-20170322 --- arch/arm64/Kconfig| 1 + arch/arm64/kernel/entry.S | 15 +++ 2 files changed, 16 insertions(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index f2b0

[PATCH v5 1/4] syscalls: Restore address limit after a syscall

2017-03-23 Thread Thomas Garnier
This patch ensures a syscall does not return to user-mode with a kernel address limit. If that happened, a process can corrupt kernel-mode memory and elevate privileges. For example, it would mitigation this bug: - https://bugs.chromium.org/p/project-zero/issues/detail?id=990 The CONFIG_ARCH_NO_

[PATCH v5 3/4] arm/syscalls: Specific usage of verify_pre_usermode_state

2017-03-23 Thread Thomas Garnier
Implement specific usage of verify_pre_usermode_state for user-mode returns for arm. --- Based on next-20170322 --- arch/arm/Kconfig | 1 + arch/arm/kernel/entry-common.S | 16 +++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/arch/arm/Kconfig b/arch/ar

[PATCH v5 2/4] x86/syscalls: Specific usage of verify_pre_usermode_state

2017-03-23 Thread Thomas Garnier
Implement specific usage of verify_pre_usermode_state for user-mode returns for x86. --- Based on next-20170322 --- arch/x86/Kconfig| 1 + arch/x86/entry/common.c | 3 +++ arch/x86/entry/entry_64.S | 8 arch/x86/include/asm/pgtable_

Re: mm: BUG in resv_map_release

2017-03-23 Thread Mike Kravetz
On 03/23/2017 03:19 AM, Dmitry Vyukov wrote: > Hello, > > I've got the following BUG while running syzkaller fuzzer. > Note the injected kmalloc failure, most likely it's the root cause. Thanks Dmitry, The BUG indicates someone called region_chg() in the process of adding a hugetlbfs page reser

Re: [PATCH 3/4] RAS: Add a Corrected Errors Collector

2017-03-23 Thread Borislav Petkov
On Thu, Mar 23, 2017 at 10:20:31AM -0700, Luck, Tony wrote: > It can happen if Linux didn't actually take the page offline > (because it was a kernel page). The CEC code only knows that > it queued this page to be taken offline ... and has no way > to know if that succeeded or not. Right, that's t

Re: [PATCH v3 5/5] ARM: configs: Add watchdog support in STM32 defconfig

2017-03-23 Thread Alexandre Torgue
Hi, On 03/22/2017 04:04 PM, Yannick Fertre wrote: This patch adds STM32 watchdog support in stm32_defconfig file Signed-off-by: Yannick Fertre --- Update commit header please (ARM: configs: stm32: Add watchdog support) arch/arm/configs/stm32_defconfig | 1 + 1 file changed, 1 insertion(+)

Re: [PATCH v2 06/18] arm64: arch_timer: Add infrastructure for multiple erratum detection methods

2017-03-23 Thread Daniel Lezcano
On Wed, Mar 22, 2017 at 03:59:21PM +, Marc Zyngier wrote: > [Sorry, sent too quickly] > > On 22/03/17 15:41, Daniel Lezcano wrote: > > On Mon, Mar 20, 2017 at 05:48:17PM +, Marc Zyngier wrote: > >> We're currently stuck with DT when it comes to handling errata, which > >> is pretty restric

Re: [PATCH v2] KVM: kvm_io_bus_unregister_dev() should never fail

2017-03-23 Thread Cornelia Huck
On Thu, 23 Mar 2017 18:24:19 +0100 David Hildenbrand wrote: > No caller currently checks the return value of > kvm_io_bus_unregister_dev(). This is evil, as all callers silently go on > freeing their device. A stale reference will remain in the io_bus, > getting at least used again, when the iobu

Re: [PATCH] selinux: Remove unnecessary check of array base in selinux_set_mapping()

2017-03-23 Thread Grant Grundler
On Thu, Mar 23, 2017 at 5:08 AM, Paul Moore wrote: > On Wed, Mar 22, 2017 at 8:28 PM, Grant Grundler wrote: >> Ping? Any feedback on this patch? > > It's on my list of patches to review, patience please. No problem! Thank you! just wanted confirmation it wasn't overlooked. cheers, grant > >>

[PATCH] MAINTAINERS: separate out kernfs maintainership

2017-03-23 Thread Tejun Heo
Separate out kernfs from driver core and add myself as a co-maintainer. Signed-off-by: Tejun Heo --- Hello, Greg. So that I get cc'd on kernfs changes. Should have done this earlier. Thanks! MAINTAINERS | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/MAINTAI

[PATCH] arc: vdk: Fix support of UIO

2017-03-23 Thread Alexey Brodkin
MotherBoard section has its "ranges" set to 0xE000_-0xF000_. But UIO node maps 4 different areas in different memory locations and all outside MB's ranges. That obviously breaks UIO mappings in runtime. Signed-off-by: Alexey Brodkin Cc: Vineet Gupta Cc: Ruud Derwig Cc: sta...@vger.kern

[PATCH] Input: synaptics - do not mix logical and bitwise operations

2017-03-23 Thread Dmitry Torokhov
Let's stop using !!x to reduce value of trackstick button expression to 0/1 and use shift instead. This removes the following sparse warning: CHECK drivers/input/mouse/synaptics.c drivers/input/mouse/synaptics.c:943:79: warning: dubious: !x | y Also, the bits we are testing are not capabiliti

Re: [PATCH 00/13] Add HD44780 Character LCD support

2017-03-23 Thread Willy TARREAU
Hi again, On Thu, Mar 23, 2017 at 06:15:01PM +0100, Willy TARREAU wrote: > So I finally had the time to give it a try by applying your patchset > on top of our 4.9 prod kernel. For now I'm getting a panic at boot : > > BUG: unable to handle kernel NULL pointer dereference at (null) > IP

Re: [PATCH] arc: vdk: Fix support of UIO

2017-03-23 Thread Vineet Gupta
+CC Jos ! -Vineet On 03/23/2017 10:34 AM, Alexey Brodkin wrote: > MotherBoard section has its "ranges" set to 0xE000_-0xF000_. > But UIO node maps 4 different areas in different memory locations > and all outside MB's ranges. > > That obviously breaks UIO mappings in runtime. > > Signed-o

Re: [PATCH 00/13] Add HD44780 Character LCD support

2017-03-23 Thread Willy TARREAU
Hi Geert, On Mon, Feb 06, 2017 at 03:38:02PM +0100, Geert Uytterhoeven wrote: > Hi all, > > Character LCDs are currently typically driven from userspace, either > directly through bit-banging, or via some kind of serial (UART/i2c) > interface. > > This patch series adds kernel support for

Re: [PATCH v5 1/6] mtd: spi-nor: introduce more SPI protocols and the Dual Transfer Mode

2017-03-23 Thread Cédric Le Goater
On 03/23/2017 12:33 AM, Cyrille Pitchen wrote: > This patch changes the prototype of spi_nor_scan(): its 3rd parameter > is replaced by a 'struct spi_nor_hwcaps' pointer, which tells the spi-nor > framework about the actual hardware capabilities supported by the SPI > controller and its driver. >

Re: [PATCH v12 6/9] mmc: cavium: Add MMC PCI driver for ThunderX SOCs

2017-03-23 Thread David Daney
On 03/23/2017 02:28 AM, Ulf Hansson wrote: On 23 March 2017 at 09:58, Jan Glauber wrote: On Fri, Mar 17, 2017 at 03:58:26PM +0100, Ulf Hansson wrote: On 10 March 2017 at 14:25, Jan Glauber wrote: Add a platform driver for ThunderX ARM SOCs. Signed-off-by: Jan Glauber --- drivers/mmc/host/

[PATCH V8 3/3] irq: Compute the periodic interval for interrupts

2017-03-23 Thread Daniel Lezcano
An interrupt behaves with a burst of activity with periodic interval of time followed by one or two peaks of longer interval. As the time intervals are periodic, statistically speaking they follow a normal distribution and each interrupts can be tracked individually. This patch does statistics on

[PATCH V8 1/3] irq: Add flags to request_percpu_irq function

2017-03-23 Thread Daniel Lezcano
In the next changes, we track the interrupts but we discard the timers as that does not make sense. The next interrupt on a timer is predictable. But, the API request_percpu_irq does not allow to pass a flag, hence specifying if the interrupt type is a timer. Solve this by passing a 'flags' param

Re: RAID array is gone, please help

2017-03-23 Thread Lennart Sorensen
On Thu, Mar 23, 2017 at 05:49:05PM +0100, r...@mueller.org wrote: > I am hoping someone here will help me. Was reading this site... > > https://raid.wiki.kernel.org/index.php/Linux_Raid > > and it said to email this list if you've tried everything other than mdadm > --create. > > > I am running

[PATCH V8 2/3] irq: Track the interrupt timings

2017-03-23 Thread Daniel Lezcano
The interrupt framework gives a lot of information about each interrupt. It does not keep track of when those interrupts occur though. This patch provides a mean to record the timestamp for each interrupt occurrences in a per-CPU circular buffer to help with the prediction of the next occurrence

Re: [PATCH v3 1/3] kexec: Move vmcoreinfo out of the kernel's .bss section

2017-03-23 Thread Michael Holzheu
Am Thu, 23 Mar 2017 17:23:53 +0800 schrieb Xunlei Pang : > On 03/23/2017 at 04:48 AM, Michael Holzheu wrote: > > Am Wed, 22 Mar 2017 12:30:04 +0800 > > schrieb Dave Young : > > > >> On 03/21/17 at 10:18pm, Eric W. Biederman wrote: > >>> Dave Young writes: > >>> > > [snip] > > > I think maked

Re: [PATCH] crypto: ixp4xx - Use sg_virt()

2017-03-23 Thread David Miller
From: Geliang Tang Date: Thu, 23 Mar 2017 21:16:30 +0800 > Use sg_virt() instead of open-coding it. > > Signed-off-by: Geliang Tang Acked-by: David S. Miller

RE: [PATCH v2] HV: properly delay KVP packets when negotiation is in progress

2017-03-23 Thread Long Li
> -Original Message- > From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] > Sent: Thursday, March 23, 2017 9:04 AM > To: Long Li > Cc: KY Srinivasan ; Haiyang Zhang > ; Stephen Hemminger > ; de...@linuxdriverproject.org; linux- > ker...@vger.kernel.org; sta...@vger.kernel.org > Subject:

Re: [RFC PATCH 1/1] nbd: replace kill_bdev() with __invalidate_device()

2017-03-23 Thread Josef Bacik
Yeah I think this is ok, I’ll throw it on my queue for fixes for this cycle. Thanks, Josef On 3/20/17, 6:58 PM, "Ming Lin" wrote: From: Ratna Manoj Bolla When a filesystem is mounted on a nbd device and on a disconnect, because of kill_bdev(), and resetting bdev size to zero, buffer_head ma

Re: [PATCH v4 1/4] pinctrl: rockchip: remove unnecessary locking

2017-03-23 Thread John Keeping
On Thu, 23 Mar 2017 11:10:20 -0500, Julia Cartwright wrote: > One quick question below. Apologies if this has been covered, but just > want to be sure. > > On Thu, Mar 23, 2017 at 10:59:28AM +, John Keeping wrote: > > regmap_update_bits does its own locking and everything else accessed > > h

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