Re: [Xen-devel] ce56a86e2a ("x86/mm: Limit mmap() of /dev/mem to valid physical addresses"): kernel BUG at arch/x86/mm/physaddr.c:79!

2017-10-27 Thread Jan Beulich
>>> On 26.10.17 at 21:29, wrote: > On 26/10/17 19:49, Craig Bergstrom wrote: >> Sander, thanks for the details, they've been very useful. >> >> I suspect that your host system's mem=2048M parameter is causing the >> problem. Any chance you can confirm by removing the parameter and >> running the

Re: [PATCH] media: i2c: Add the ov7740 image sensor driver

2017-10-27 Thread Hans Verkuil
On 10/27/2017 05:30 AM, Wenyou Yang wrote: > From: Songjun Wu > > The ov7740 (color) image sensor is a high performance VGA CMOS > image snesor, which supports for output formats: RAW RGB and YUV > and image sizes: VGA, and QVGA, CIF and any size smaller. Two short remarks: please split off the

[PATCH] x86/alternatives: free smp_alt_modules when enable smp

2017-10-27 Thread Zhou Chengming
In the current code, we don't free smp_alt_modules when enable smp, so have to wait module unload to call alternatives_smp_module_del() to free its smp_alt_module. This strategy has shortcomings. We can make sure smp_alt_modules will be useless after enable smp, so free it all. And alternatives_smp

Re: [Xen-devel] [PATCH v3 1/1] xen/time: do not decrease steal time after live migration on xen

2017-10-27 Thread Dongli Zhang
Hi Boris, On 10/25/2017 11:12 PM, Boris Ostrovsky wrote: > On 10/25/2017 02:45 AM, Dongli Zhang wrote: >> After guest live migration on xen, steal time in /proc/stat >> (cpustat[CPUTIME_STEAL]) might decrease because steal returned by >> xen_steal_lock() might be less than this_rq()->prev_steal_ti

[RFC PATCH v9 5/7] PCI: Make pci_platform_pm_ops's callbacks optional

2017-10-27 Thread Jeffy Chen
Allow platforms not to provide some of the pci_platform_pm_ops's callbacks. Also change the return value from -ENOSYS to -ENODEV for: warning: drivers/pci/pci.c,594: ENOSYS means 'invalid syscall nr' and nothing else Signed-off-by: Jeffy Chen --- Changes in v9: None Changes in v8: None Changes

[RFC PATCH v9 3/7] mwifiex: Disable wakeup irq handling for pcie

2017-10-27 Thread Jeffy Chen
We are going to handle the wakeup irq in the pci core. Signed-off-by: Jeffy Chen --- Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v3: None Changes in v2: None drivers/net/wireless/marvell/mwifiex/main.c | 4 1 file changed,

[RFC PATCH v9 0/7] PCI: rockchip: Move PCIe WAKE# handling into pci core

2017-10-27 Thread Jeffy Chen
Currently we are handling wake irq in mrvl wifi driver. Move it into pci core. Tested on my chromebook bob(with cros 4.4 kernel and mrvl wifi). Changes in v9: Add section for PCI devices and rewrite the commit message. Rewrite the commit message. Fix check error in .cleanup(). Move dedicated wa

[RFC PATCH v9 7/7] PCI / PM: Add support for the PCIe WAKE# signal for OF

2017-10-27 Thread Jeffy Chen
Add pci-of.c to handle the PCIe WAKE# interrupt. Also use the dedicated wakeirq infrastructure to simplify it. Signed-off-by: Jeffy Chen --- Changes in v9: Fix check error in .cleanup(). Move dedicated wakeirq setup to setup() callback and use device_set_wakeup_enable() to enable/disable. Chan

[RFC PATCH v9 2/7] of/irq: Adjust of_pci_irq parsing for multiple interrupts

2017-10-27 Thread Jeffy Chen
Currently we are considering the first irq as the PCI interrupt pin, but a PCI device may have multiple interrupts(e.g. PCIe WAKE# pin). Only parse the PCI interrupt pin when the irq is unnamed or named as "pci". Signed-off-by: Jeffy Chen --- Changes in v9: None Changes in v8: None Changes in v

[RFC PATCH v9 4/7] arm64: dts: rockchip: Move PCIe WAKE# irq to pcie driver for Gru

2017-10-27 Thread Jeffy Chen
Currently we are handling PCIe WAKE# irq in mrvl wifi driver. Move it to rockchip pcie driver since we are going to handle it in the pci core. Also avoid this irq been considered as the PCI interrupt pin in the of_irq_parse_pci(). Signed-off-by: Jeffy Chen --- Changes in v9: Rewrite the commit

[RFC PATCH v9 6/7] PCI / PM: Move acpi wakeup code to pci core

2017-10-27 Thread Jeffy Chen
Move acpi wakeup code to pci core as pci_set_wakeup(), so that other platforms could reuse it. Also add .setup_dev() / .setup_host_bridge() / .cleanup() platform pm ops's callbacks to setup and cleanup pci devices and host bridge for wakeup. Signed-off-by: Jeffy Chen --- Changes in v9: None Cha

[RFC PATCH v9 1/7] dt-bindings: PCI: Add definition of PCIe WAKE# irq and PCI irq

2017-10-27 Thread Jeffy Chen
We are going to handle PCIe WAKE# pin for PCI bus bridges and PCI devices in the pci core, so add definitions of the optional PCIe WAKE# pin for PCI bus bridges and PCI devices. Also add an definition of the optional PCI interrupt pin for PCI devices to distinguish it from the PCIe WAKE# pin. Sig

[RFC PATCH v10 1/7] dt-bindings: PCI: Add definition of PCIe WAKE# irq and PCI irq

2017-10-27 Thread Jeffy Chen
We are going to handle PCIe WAKE# pin for PCI bus bridges and PCI devices in the pci core, so add definitions of the optional PCIe WAKE# pin for PCI bus bridges and PCI devices. Also add an definition of the optional PCI interrupt pin for PCI devices to distinguish it from the PCIe WAKE# pin. Sig

[RFC PATCH v10 4/7] arm64: dts: rockchip: Move PCIe WAKE# irq to pcie driver for Gru

2017-10-27 Thread Jeffy Chen
Currently we are handling PCIe WAKE# irq in mrvl wifi driver. Move it to rockchip pcie driver since we are going to handle it in the pci core. Also avoid this irq been considered as the PCI interrupt pin in the of_irq_parse_pci(). Signed-off-by: Jeffy Chen --- Changes in v10: None Changes in v

[RFC PATCH v10 5/7] PCI: Make pci_platform_pm_ops's callbacks optional

2017-10-27 Thread Jeffy Chen
Allow platforms not to provide some of the pci_platform_pm_ops's callbacks. Also change the return value from -ENOSYS to -ENODEV for: warning: drivers/pci/pci.c,594: ENOSYS means 'invalid syscall nr' and nothing else Signed-off-by: Jeffy Chen --- Changes in v10: None Changes in v9: None Change

[RFC PATCH v10 3/7] mwifiex: Disable wakeup irq handling for pcie

2017-10-27 Thread Jeffy Chen
We are going to handle the wakeup irq in the pci core. Signed-off-by: Jeffy Chen --- Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v3: None Changes in v2: None drivers/net/wireless/marvell/mwifiex/main.c | 4

[RFC PATCH v10 2/7] of/irq: Adjust of_pci_irq parsing for multiple interrupts

2017-10-27 Thread Jeffy Chen
Currently we are considering the first irq as the PCI interrupt pin, but a PCI device may have multiple interrupts(e.g. PCIe WAKE# pin). Only parse the PCI interrupt pin when the irq is unnamed or named as "pci". Signed-off-by: Jeffy Chen --- Changes in v10: None Changes in v9: None Changes in

[RFC PATCH v10 6/7] PCI / PM: Move acpi wakeup code to pci core

2017-10-27 Thread Jeffy Chen
Move acpi wakeup code to pci core as pci_set_wakeup(), so that other platforms could reuse it. Also add .setup_dev() / .setup_host_bridge() / .cleanup() platform pm ops's callbacks to setup and cleanup pci devices and host bridge for wakeup. Signed-off-by: Jeffy Chen --- Changes in v10: None Ch

[RFC PATCH v10 7/7] PCI / PM: Add support for the PCIe WAKE# signal for OF

2017-10-27 Thread Jeffy Chen
Add pci-of.c to handle the PCIe WAKE# interrupt. Also use the dedicated wakeirq infrastructure to simplify it. Signed-off-by: Jeffy Chen --- Changes in v10: Use device_set_wakeup_capable() instead of device_set_wakeup_enable(), since dedicated wakeirq will be lost in device_set_wakeup_enable(fa

[RFC PATCH v10 0/7] PCI: rockchip: Move PCIe WAKE# handling into pci core

2017-10-27 Thread Jeffy Chen
Currently we are handling wake irq in mrvl wifi driver. Move it into pci core. Tested on my chromebook bob(with cros 4.4 kernel and mrvl wifi). Changes in v10: Use device_set_wakeup_capable() instead of device_set_wakeup_enable(), since dedicated wakeirq will be lost in device_set_wakeup_enable

Re: [08/58] net/wireless/ray_cs: Convert timers to use timer_setup()

2017-10-27 Thread Kalle Valo
Kees Cook wrote: > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to using the new timer_setup() and from_timer() > to pass the timer pointer explicitly. > > Cc: Kalle Valo > Cc: linux-wirel...@vger.kernel.org > Cc: net...@vger.kernel.o

Re: [Xen-devel] [PATCH v3 1/1] xen/time: do not decrease steal time after live migration on xen

2017-10-27 Thread Juergen Gross
On 27/10/17 09:16, Dongli Zhang wrote: > Hi Boris, > > On 10/25/2017 11:12 PM, Boris Ostrovsky wrote: >> On 10/25/2017 02:45 AM, Dongli Zhang wrote: >>> After guest live migration on xen, steal time in /proc/stat >>> (cpustat[CPUTIME_STEAL]) might decrease because steal returned by >>> xen_steal_l

Re: Query regarding __hrtimer_get_next_event()

2017-10-27 Thread Thomas Gleixner
On Thu, 26 Oct 2017, Neeraj Upadhyay wrote: > Hi tglx, > > Forgot to mention, we are using kernel stable version 3.18 > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/tree/kernel/time/timekeeping.c?h=v3.18.77 > > wall time is being set to a value close to epoch > but les

Re: [RFC PATCH v8 7/7] PCI / PM: Add support for the PCIe WAKE# signal for OF

2017-10-27 Thread jeffy
Hi Brian, On 10/27/2017 01:55 PM, Brian Norris wrote: One reason this series is failing for me: the above is failing with -EINVAL -- it seems like no one set the 'can_wakeup' flag for the Marvell Wifi card I'm using. It seems like we probably*should* be calling device_set_wakeup_capable() from

Re: IB/mlx4: Use common error handling code in __mlx4_ib_create_flow()

2017-10-27 Thread SF Markus Elfring
>> Add a jump target so that a bit of exception handling can be better reused >> at the end of this function. > > I'm not sure this is that big of a win. Such a view is appropriate because I proposed just another small adjustment for this source code place. > I mean you aren't really making the

[GIT PULL] xen: fixes for 4.14-rc7

2017-10-27 Thread Juergen Gross
Linus, Please git pull the following tag: git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git for-linus-4.14c-rc7-tag xen: fixes for 4.14-rc7 It contains: - a fix for the Xen gntdev device repairing an issue in case of partial failure of mapping multiple pages of another domain - a fi

Re: [RFC PATCH v8 7/7] PCI / PM: Add support for the PCIe WAKE# signal for OF

2017-10-27 Thread jeffy
Hi Tony, thanks for your Acked-by. but i'm moving the dedicated wakeirq setup to the setup(), so that the irq would be tracked in the /proc/interrupts. please help to check the new v10 patches, thanks :) On 10/26/2017 10:42 PM, Tony Lindgren wrote: * Jeffy Chen [171026 06:31]: Add pci-of.c

Re: [Xen-devel] [PATCH v3 1/1] xen/time: do not decrease steal time after live migration on xen

2017-10-27 Thread Dongli Zhang
Hi Juergen, On 10/27/2017 03:31 PM, Juergen Gross wrote: > On 27/10/17 09:16, Dongli Zhang wrote: >> Hi Boris, >> >> On 10/25/2017 11:12 PM, Boris Ostrovsky wrote: >>> On 10/25/2017 02:45 AM, Dongli Zhang wrote: After guest live migration on xen, steal time in /proc/stat (cpustat[CPUTIME

Re: rtlwifi: Convert timers to use timer_setup()

2017-10-27 Thread Kalle Valo
Kees Cook wrote: > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to using the new timer_setup() and from_timer() > to pass the timer pointer explicitly. > > Cc: Kalle Valo > Cc: Larry Finger > Cc: Chaoming Li > Cc: Ping-Ke Shih > Cc

[PATCH] perf: Fix header.size for namespace events

2017-10-27 Thread Jiri Olsa
Reset header size for namespace events, otherwise it only gets bigger in ctx iterations. Cc: Hari Bathini Link: http://lkml.kernel.org/n/tip-nlo4gonz9d4guyb8153uk...@git.kernel.org Signed-off-by: Jiri Olsa --- kernel/events/core.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff

Re: qtnfmac: Convert timers to use timer_setup()

2017-10-27 Thread Kalle Valo
Kees Cook wrote: > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to using the new timer_setup() and from_timer() > to pass the timer pointer explicitly. > > Cc: Kalle Valo > Cc: Igor Mitsyanko > Cc: Avinash Patil > Cc: Sergey Matyuke

Re: iwlegacy: Convert timers to use timer_setup()

2017-10-27 Thread Kalle Valo
Kees Cook wrote: > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to using the new timer_setup() and from_timer() > to pass the timer pointer explicitly. > > Cc: Kalle Valo > Cc: Stanislaw Gruszka > Cc: linux-wirel...@vger.kernel.org >

[PATCH v2 0/2] media: ov7740: Add a V4L2 sensor-level driver

2017-10-27 Thread Wenyou Yang
Add a Video4Linux2 sensor-level driver for the OmniVision OV7740 VGA camera image sensor. Changes in v2: - Split off the bindings into a separate patch. - Add a new entry to the MAINTAINERS file. Wenyou Yang (2): media: i2c: Add the ov7740 image sensor driver media: ov7740: Document device

Re: atmel: Convert timers to use timer_setup()

2017-10-27 Thread Kalle Valo
Kees Cook wrote: > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to using the new timer_setup() and from_timer() > to pass the timer pointer explicitly. > > Cc: Simon Kelley > Cc: Kalle Valo > Cc: linux-wirel...@vger.kernel.org > Cc:

[PATCH v2 1/2] media: i2c: Add the ov7740 image sensor driver

2017-10-27 Thread Wenyou Yang
The ov7740 (color) image sensor is a high performance VGA CMOS image snesor, which supports for output formats: RAW RGB and YUV and image sizes: VGA, and QVGA, CIF and any size smaller. Signed-off-by: Songjun Wu Signed-off-by: Wenyou Yang --- Changes in v2: None drivers/media/i2c/Kconfig |

[PATCH v2 2/2] media: ov7740: Document device tree bindings

2017-10-27 Thread Wenyou Yang
Add the device tree binding documentation for ov7740 driver and add a new entry of ov7740 to the MAINTAINERS file. Signed-off-by: Wenyou Yang --- Changes in v2: - Split off the bindings into a separate patch. - Add a new entry to the MAINTAINERS file. .../devicetree/bindings/media/i2c/ov7740

Re: cw1200: Convert timers to use timer_setup()

2017-10-27 Thread Kalle Valo
Kees Cook wrote: > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to using the new timer_setup() and from_timer() > to pass the timer pointer explicitly. > > Cc: Solomon Peachy > Cc: Kalle Valo > Cc: linux-wirel...@vger.kernel.org > Cc

Re: [PATCH] media: i2c: Add the ov7740 image sensor driver

2017-10-27 Thread Yang, Wenyou
On 2017/10/27 15:10, Hans Verkuil wrote: On 10/27/2017 05:30 AM, Wenyou Yang wrote: From: Songjun Wu The ov7740 (color) image sensor is a high performance VGA CMOS image snesor, which supports for output formats: RAW RGB and YUV and image sizes: VGA, and QVGA, CIF and any size smaller. Two

Re: drivers/wireless: rsi: Convert timers to use timer_setup()

2017-10-27 Thread Kalle Valo
Kees Cook wrote: > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to using the new timer_setup() and from_timer() > to pass the timer pointer explicitly. > > Cc: Kalle Valo > Cc: Amitkumar Karwar > Cc: Prameela Rani Garnepudi > Cc: Pa

Re: mwifiex: Convert timers to use timer_setup()

2017-10-27 Thread Kalle Valo
Kees Cook wrote: > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to using the new timer_setup() and from_timer() > to pass the timer pointer explicitly. > > Cc: Kalle Valo > Cc: Amitkumar Karwar > Cc: Nishant Sarmukadam > Cc: Ganapat

Re: [Xen-devel] [PATCH v3 1/1] xen/time: do not decrease steal time after live migration on xen

2017-10-27 Thread Juergen Gross
On 27/10/17 09:40, Dongli Zhang wrote: > Hi Juergen, > > On 10/27/2017 03:31 PM, Juergen Gross wrote: >> On 27/10/17 09:16, Dongli Zhang wrote: >>> Hi Boris, >>> >>> On 10/25/2017 11:12 PM, Boris Ostrovsky wrote: On 10/25/2017 02:45 AM, Dongli Zhang wrote: > After guest live migration on

Re: [PATCH] x86/alternatives: free smp_alt_modules when enable smp

2017-10-27 Thread Borislav Petkov
On Fri, Oct 27, 2017 at 03:18:12PM +0800, Zhou Chengming wrote: > In the current code, we don't free smp_alt_modules when enable smp, > so have to wait module unload to call alternatives_smp_module_del() > to free its smp_alt_module. This strategy has shortcomings. I love it when the commit messag

Re: libertas: Convert timers to use timer_setup()

2017-10-27 Thread Kalle Valo
Kees Cook wrote: > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to using the new timer_setup() and from_timer() > to pass the timer pointer explicitly. > > Cc: Kalle Valo > Cc: Arvind Yadav > Cc: Ingo Molnar > Cc: Johannes Berg > C

Re: [v4,2/9] brcmsmac: split up wlc_phy_workarounds_nphy

2017-10-27 Thread Kalle Valo
Arnd Bergmann wrote: > The stack consumption in this driver is still relatively high, with one > remaining warning if the warning level is lowered to 1536 bytes: > > drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c:17135:1: error: > the frame size of 1880 bytes is larger than 1536 b

[GIT PULL] s390 patches for 4.14-rc7

2017-10-27 Thread Martin Schwidefsky
Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the following updates: "A fix for a regression in regard to machine check handling in KVM." Keeping my fingers crossed that this is the last s390 fix f

Re: [Part2 PATCH v6 13/38] crypto: ccp: Add Secure Encrypted Virtualization (SEV) command support

2017-10-27 Thread Borislav Petkov
On Thu, Oct 26, 2017 at 03:59:32PM -0500, Brijesh Singh wrote: > we can workaround #1 by adding some hooks in sp_pci_init() to invoke the PSP > initialization routines after pci_register_driver() is done but #2 can get > painful because it will require us calling the SHUTDOWN outside the > sp_pci_e

Re: [PATCH] mm/swap: Use page flags to determine LRU list in __activate_page()

2017-10-27 Thread Michal Hocko
On Fri 27-10-17 09:36:37, Anshuman Khandual wrote: > On 10/23/2017 08:52 AM, Anshuman Khandual wrote: > > On 10/19/2017 09:03 PM, Michal Hocko wrote: > >> On Thu 19-10-17 20:26:57, Anshuman Khandual wrote: > >>> Its already assumed that the PageActive flag is clear on the input > >>> page, hence pa

Re: [PATCH v2] cpuidle: ladder: Add per CPU PM QoS resume latency support

2017-10-27 Thread Rafael J. Wysocki
On Fri, Oct 27, 2017 at 4:01 AM, Ramesh Thomas wrote: > Individual CPUs may have special requirements to not enter > deep idle states. For example, a CPU running real time > applications would not want to enter deep idle states to > avoid latency impacts. At the same time other CPUs that > do not

Re: [PATCH] panic: add support to update panic_timeout via DT

2017-10-27 Thread Sergey Senozhatsky
On (10/27/17 09:27), Jeetesh Burman wrote: > Add support to set 'panic_timeout' value via dtb to have > control from device tree. This makes sense when you have > multiple platforms support from same defconfig and > differentiated only through device tree blob. > The patch will check for panic time

Re: [PATCH 2/4] ARM: sun8i: h3/h5: add DE2 CCU device node for H3

2017-10-27 Thread icenowy
在 2017-09-11 23:55,Icenowy Zheng 写道: The DE2 in H3/H5 has a clock control unit in it, and the behavior is slightly different between H3 and H5. Add the common parts in H3/H5 DTSI, and add the compatible string in H3 DTSI. The compatible string of H5 DE2 CCU will be added in a separated patch.

Re: [PATCH v3 2/2] watchdog: Add Spreadtrum watchdog driver

2017-10-27 Thread Eric Long
Hi Guenter, Thanks for you commonts. On Thu, Oct 26, 2017 at 10:23:40PM -0700, Guenter Roeck wrote: > On 10/26/2017 07:28 PM, Eric Long wrote: > >This patch adds the watchdog driver for Spreadtrum SC9860 platform. > > > >Signed-off-by: Eric Long > >--- > >Change since v2: > > - Rename all the m

Re: [V2] bcma: Use bcma_debug and not pr_cont in MIPS driver

2017-10-27 Thread Kalle Valo
Joe Perches wrote: > Commit 66cc04424960 ("bcma: use bcma_debug and pr_cont in MIPS driver") > converted a printk(KERN_DEBUG to bcma_debug. > > bcma_debug is guarded by a #define DEBUG via pr_debug. > > This means that the bcma_debug will generally not be emitted > but any pr_cont following the

Re: [PATCH] cgroup/cpuset: remove circular dependency deadlock

2017-10-27 Thread Prateek Sood
On 10/26/2017 07:35 PM, Waiman Long wrote: > On 10/26/2017 07:52 AM, Prateek Sood wrote: >> Remove circular dependency deadlock in a scenario where hotplug of CPU is >> being done while there is updation in cgroup and cpuset triggered from >> userspace. >> >> Process A => kthreadd => Process B => P

Re: rtlwifi: Remove seq_number from rtl_tid_data

2017-10-27 Thread Kalle Valo
Ping-Ke Shih wrote: > From: Ping-Ke Shih > > Since mac80211 maintains the sequence number for each STA/TID, > driver doesn't need to maintain a copy. > > Signed-off-by: Ping-Ke Shih Patch applied to wireless-drivers-next.git, thanks. 1d1aa8f1ea24 rtlwifi: Remove seq_number from rtl_tid_data

Timer breakage in net-next

2017-10-27 Thread David Howells
Hi Dave, Kees, Is it possible to get this timer fix: https://patchwork.ozlabs.org/patch/828333/ timer: Provide wrappers safe for use with LOCKDEP included in net-next? You can add my Tested-by line. David

Re: [PATCH] drm/bridge/synopsys: dsi: add optional pixel clock

2017-10-27 Thread Philipp Zabel
Hi Philippe, On Thu, 2017-10-26 at 18:09 +0200, Philippe Cornu wrote: > The pixel clock is optional. When available, it offers a better > preciseness for timing computations. > > Signed-off-by: Philippe Cornu > --- > drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 24 ++-- >

Re: [PATCH v4] Add /proc/PID/smaps support for DAX

2017-10-27 Thread Michal Hocko
On Fri 27-10-17 02:47:43, Du, Fan wrote: > > > >-Original Message- > >From: Hansen, Dave > >Sent: Thursday, October 26, 2017 10:03 PM > >To: Du, Fan ; a...@linux-foundation.org; h...@lst.de; > >Williams, Dan J ; mho...@kernel.org > >Cc: linux-kernel@vger.kernel.org > >Subject: Re: [PATCH

Re: [PATCH net] net: stmmac: First Queue must always be in DCB mode

2017-10-27 Thread Jose Abreu
On 26-10-2017 15:44, Bhadram Varka wrote: > Hi Jose, > >> -Original Message- >> From: Jose Abreu [mailto:jose.ab...@synopsys.com] >> Sent: Thursday, October 26, 2017 5:19 PM >> To: Bhadram Varka ; net...@vger.kernel.org; >> linux-kernel@vger.kernel.org >> Cc: Joao Pinto ; David S. Miller

Re: [PATCH v2 2/9] irqchip: stm32: add multi-bank management

2017-10-27 Thread Ludovic BARRE
Hi Julien thank for your review On 10/26/2017 04:36 PM, Julien Thierry wrote: Hi Ludovic, On 25/10/17 18:10, Ludovic Barre wrote: From: Ludovic Barre -Prepare to manage multi-bank of external interrupts (N banks of 32 inputs). -Prepare to manage registers offsets by compatible (registers of

Re: [PATCH] x86/alternatives: free smp_alt_modules when enable smp

2017-10-27 Thread zhouchengming
On 2017/10/27 15:49, Borislav Petkov wrote: On Fri, Oct 27, 2017 at 03:18:12PM +0800, Zhou Chengming wrote: In the current code, we don't free smp_alt_modules when enable smp, so have to wait module unload to call alternatives_smp_module_del() to free its smp_alt_module. This strategy has shortc

Re: possible deadlock in snd_seq_deliver_event

2017-10-27 Thread Dmitry Vyukov
On Fri, Oct 27, 2017 at 10:09 AM, syzbot wrote: > Hello, > > syzkaller hit the following crash on > 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e > git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/master > compiler: gcc (GCC) 7.1.1 20170620 > .config is attached > Raw console output is

Re: [PATCH] display: panel: Add Tianma tm070rvhg71 display support (800x480)

2017-10-27 Thread Lukasz Majewski
Hi Rob, > On Sat, Oct 21, 2017 at 12:10:03AM +0200, Lukasz Majewski wrote: > > Signed-off-by: Lukasz Majewski > > --- > > .../bindings/display/panel/tianma,tm070rvhg71.txt | 7 ++ > > drivers/gpu/drm/panel/panel-simple.c | 27 > > ++ 2 files changed, 34 ins

Re: WARNING in ata_qc_issue

2017-10-27 Thread Dmitry Vyukov
On Fri, Oct 27, 2017 at 10:19 AM, syzbot wrote: > Hello, > > syzkaller hit the following crash on > 91dfed74eabcdae9378131546c446442c29bf769 > git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/master > compiler: gcc (GCC) 7.1.1 20170620 > .config is attached > Raw console output is

Re: [PATCH] fs, mm: account filp and names caches to kmemcg

2017-10-27 Thread Michal Hocko
On Thu 26-10-17 12:56:48, Greg Thelen wrote: > Michal Hocko wrote: > > Greg Thelen wrote: > > > So a force charge fallback might be a needed even with oom killer > > > successful > > > invocations. Or we'll need to teach out_of_memory() to return three > > > values > > > (e.g. NO_VICTIM, NEW_VIC

RE: [PATCH v4] Add /proc/PID/smaps support for DAX

2017-10-27 Thread Du, Fan
>-Original Message- >From: Michal Hocko [mailto:mho...@kernel.org] >Sent: Friday, October 27, 2017 4:08 PM >To: Du, Fan >Cc: Hansen, Dave ; a...@linux-foundation.org; >h...@lst.de; Williams, Dan J ; >linux-kernel@vger.kernel.org >Subject: Re: [PATCH v4] Add /proc/PID/smaps support for DA

Re: ce56a86e2a ("x86/mm: Limit mmap() of /dev/mem to valid physical addresses"): kernel BUG at arch/x86/mm/physaddr.c:79!

2017-10-27 Thread Ingo Molnar
* Linus Torvalds wrote: > On Thu, Oct 26, 2017 at 9:02 PM, Ingo Molnar wrote: > > > > Well, 'mem=2048M' shouldn't really limit device memory, it's supposed to > > limit > > (trim) 'RAM' and not much else. > > Agreed. You should very much be able to map in IO memory or whatever > above the 2G

Re: [PATCH] x86/alternatives: free smp_alt_modules when enable smp

2017-10-27 Thread Borislav Petkov
On Fri, Oct 27, 2017 at 04:11:17PM +0800, zhouchengming wrote: > So why not take the quick way like we do in > alternatives_smp_module_add() ? Because 1. there's no real problem with the current state 2. the current way is cleaner as it keeps that code away in module_arch_cleanup(). -- Regard

Re: [PATCH -mm -V2] mm, swap: Fix false error message in __swp_swapcount()

2017-10-27 Thread Michal Hocko
On Fri 27-10-17 13:53:27, Huang, Ying wrote: > From: Huang Ying > > When a page fault occurs for a swap entry, the physical swap readahead > (not the VMA base swap readahead) may readahead several swap entries > after the fault swap entry. The readahead algorithm calculates some > of the swap en

Re: suspicious RCU usage at ./include/net/sock.h:LINE

2017-10-27 Thread Dmitry Vyukov
On Fri, Oct 27, 2017 at 10:24 AM, syzbot wrote: > Hello, > > syzkaller hit the following crash on > c6be5a0e3cebc145127d46a58350e05d2bcf6323 > git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/master > compiler: gcc (GCC) 7.1.1 20170620 > .config is attached > Raw console output is

Re: possible deadlock in perf_event_ctx_lock_nested

2017-10-27 Thread Dmitry Vyukov
On Fri, Oct 27, 2017 at 10:30 AM, syzbot wrote: > Hello, > > syzkaller hit the following crash on > a31cc455c512f3f1dd5f79cac8e29a7c8a617af8 > git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/master > compiler: gcc (GCC) 7.1.1 20170620 > .config is attached > Raw console output is

Re: [PATCH] staging: ccree: Fix indentation in ssi_buffer_mgr.c

2017-10-27 Thread Dan Carpenter
On Thu, Oct 26, 2017 at 06:53:42PM -0700, Stephen Brennan wrote: > In particular, fixes some over-indented if statement bodies as well as a > couple lines indented with spaces. checkpatch.pl now reports no warnings > on this file other than 80 character warnings. > > Signed-off-by: Stephen Brennan

Re: kernel BUG at arch/x86/kvm/x86.c:LINE!

2017-10-27 Thread Dmitry Vyukov
On Fri, Oct 27, 2017 at 10:34 AM, syzbot wrote: > Hello, > > syzkaller hit the following crash on > bb70832dd42b298d4303fd054bf18a78650ff04a > git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/master > compiler: gcc (GCC) 7.1.1 20170620 > .config is attached > Raw console output is

[PATCH v5 12/20] genirq: Document vcpu_info usage for percpu_devid interrupts

2017-10-27 Thread Christoffer Dall
It is currently unclear how to set the VCPU affinity for a percpu_devid interrupt , since the Linux irq_data structure describes the state for multiple interrupts, one for each physical CPU on the system. Since each such interrupt can be associated with different VCPUs or none at all, associating

Re: [PATCH 2/3] drivers: phy: broadcom: Add driver for Cygnus USB phy controller

2017-10-27 Thread Kishon Vijay Abraham I
+Chanwoo, for reviewing extcon Hi. On Tuesday 24 October 2017 10:07 AM, Raveendra Padasalagi wrote: > Add driver for Broadcom's USB phy controller's used in Cygnus > familyof SoC. Cygnus has three USB phy controller's, port 0, > port 1 provides USB host functionality and port 2 can be configured

[PATCH v2 1/2] KVM: X86: Fix operand size during instruction decoding

2017-10-27 Thread Wanpeng Li
From: Wanpeng Li Pedro reported: During tests that we conducted on KVM, we noticed that executing a "PUSH %ES" instruction under KVM produces different results on both memory and the SP register depending on whether EPT support is enabled. With EPT the SP is reduced by 4 bytes (and the wr

[PATCH v2 2/2] KVM: nVMX: Validate the IA32_BNDCFGS on nested VM-entry

2017-10-27 Thread Wanpeng Li
From: Wanpeng Li According to the SDM, if the "load IA32_BNDCFGS" VM-entry controls is 1, the following checks are performed on the field for the IA32_BNDCFGS MSR: - Bits reserved in the IA32_BNDCFGS MSR must be 0. - The linear address in bits 63:12 must be canonical. Cc: Paolo Bonzini Cc: Ra

Re: [RESEND PATCH v2 1/2] sched/deadline: Add cpudl_maximum_dl() for clean-up

2017-10-27 Thread Byungchul Park
On Tue, Oct 10, 2017 at 03:44:03PM +0900, Byungchul Park wrote: > Changes from v1 > - Enhance commit msg > - Prevent WARN in cpumask_test_cpu() in cpudl_find() when best_cpu == -1 > > -8<- > >From 7735382d07ae6a61d740ae39ba2ecf169d43b8a2 Mon Sep 17 00:00:00 2001 > From: Byungchul Park >

Re: [RESEND PATCH v11 1/2] sched/deadline: Add support for SD_PREFER_SIBLING on find_later_rq()

2017-10-27 Thread Byungchul Park
On Tue, Oct 10, 2017 at 03:37:53PM +0900, Byungchul Park wrote: > It would be better to try to check other siblings first if > SD_PREFER_SIBLING is flaged when pushing tasks - migration. Hello everyone, Could you tell me opinions? > Suggested-by: Peter Zijlstra > Signed-off-by: Byungchul Park

Re: [PATCH 3/3] KVM: MMU: consider host cache type in MMIO pfn check

2017-10-27 Thread Ingo Molnar
* Haozhong Zhang wrote: > By default, KVM treats a reserved page as for MMIO purpose, and maps > it to guest with UC memory type. However, some reserved pages are not > for MMIO, such as pages of DAX device (e.g., /dev/daxX.Y). Mapping > them with UC memory type will harm the performance. In o

Re: [PATCH v4] Add /proc/PID/smaps support for DAX

2017-10-27 Thread Michal Hocko
On Fri 27-10-17 08:24:07, Du, Fan wrote: > > > >-Original Message- > >From: Michal Hocko [mailto:mho...@kernel.org] > >Sent: Friday, October 27, 2017 4:08 PM > >To: Du, Fan > >Cc: Hansen, Dave ; a...@linux-foundation.org; > >h...@lst.de; Williams, Dan J ; > >linux-kernel@vger.kernel.org

Re: [PATCH] paravirt/locks: avoid modifying static key before jump_label_init()

2017-10-27 Thread Ingo Molnar
* Juergen Gross wrote: > Don't try to set the static virt_spin_lock_key to a value before > jump_label_init() has been called, as this will result in a WARN(). > > Solve the problem by introducing a new lock_init() hook called after > jump_label_init() instead of doing the call inside of > smp_

Re: WARNING in sysfs_remove_group

2017-10-27 Thread Greg KH
On Fri, Oct 27, 2017 at 01:29:31AM -0700, syzbot wrote: > Hello, > > syzkaller hit the following crash on > 4ed590271a65b0fbe3eb1cf828ad5af16603c8ce > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/master > compiler: gcc (GCC) 7.1.1 20170620 > .config is attached > Raw console ou

Re: [PATCHv4 1/1] [tools/selftests]: android/ion: userspace test utility for ion buffer sharing

2017-10-27 Thread Greg Kroah-Hartman
On Fri, Oct 27, 2017 at 11:04:49AM +0530, Pintu Kumar wrote: > Dear Laura, Shuah, > > Request you to please review the PATCHv4. A response with only 3 days, while everyone is traveling at conferences, is a bit unexpected. Give people a chance to catch up, a week at the least is the minimum respo

Re: [PATCH net-next 0/2] net: stmmac: Support DWMAC5 and TSN

2017-10-27 Thread Jose Abreu
Hi Jesus, On 26-10-2017 17:28, Jesus Sanchez-Palencia wrote: > Hi Jose, > > > On 10/25/2017 07:02 AM, Jose Abreu wrote: >> Hi, >> >> This adds support for a new IP version (5) of dwmac and for >> TSN features as defined by IEEE802.1Qbv-2015 and IEEE802.1Qbu. > > Just out of curiosity, are you awar

[PATCH] fs/seq_file: clear private buffer when resetting iterator

2017-10-27 Thread Eduard Sanou
Commit e522751d605d99a81508e58390a8f51ee96fb662 ("seq_file: reset iterator to first record for zero offset") introduced a reset to the first iterator object when reads have zero offset, but this can leave unflushed data from previous reads in the 'private_data' buffer generating a repeated first ob

Re: kernel BUG at arch/x86/kvm/x86.c:LINE!

2017-10-27 Thread Wanpeng Li
Hi Dmitry, 2017-10-27 16:34 GMT+08:00 Dmitry Vyukov : > On Fri, Oct 27, 2017 at 10:34 AM, syzbot > > wrote: >> Hello, >> >> syzkaller hit the following crash on >> bb70832dd42b298d4303fd054bf18a78650ff04a >> git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/master >> compiler: gcc

Re: [PATCH] x86: Remove unnecessary return from void function

2017-10-27 Thread Ingo Molnar
* Juergen Gross wrote: > On 23/06/17 18:23, Anton Vasilyev wrote: > > The patch removes unnecessary return from void function. > > > > Found by Linux Driver Verification project (linuxtesting.org). > > > > Signed-off-by: Anton Vasilyev > > Reviewed-by: Juergen Gross Cleanup is already upst

Re: 答复: [PATCH] tty: fix flush_to_ldisc() oops before tty_open is done

2017-10-27 Thread Greg KH
On Thu, Oct 26, 2017 at 12:10:20PM +, taoyuhong wrote: > 本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁 > 止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中 > 的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件! > This e-mail and its attachments contain confidential information from HUAWEI, > which > is intended only for the

Re: Linux 3.18.78

2017-10-27 Thread Greg KH
diff --git a/Makefile b/Makefile index 6f71303316d5..527627294778 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 18 -SUBLEVEL = 77 +SUBLEVEL = 78 EXTRAVERSION = NAME = Diseased Newt diff --git a/arch/parisc/kernel/syscall.S b/arch/parisc/kernel/syscall.S index 8

Linux 3.18.78

2017-10-27 Thread Greg KH
I'm announcing the release of the 3.18.78 kernel. All users of the 3.18 kernel series must upgrade. The updated 3.18.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.18.y and can be browsed at the normal kernel.org git web browser:

Query regarding srcu_funnel_exp_start()

2017-10-27 Thread Neeraj Upadhyay
Hi, One query regarding srcu_funnel_exp_start() function in kernel/rcu/srcutree.c. static void srcu_funnel_exp_start(struct srcu_struct *sp, struct srcu_node *snp, unsigned long s) { if (!ULONG_CMP_LT(sp->srcu_gp_seq_needed_exp, s))

Re: [PATCH net-next 2/2] bindings: net: stmmac: Add documentation for TSN parameters

2017-10-27 Thread Jose Abreu
Hi Jesus, On 26-10-2017 17:23, Jesus Sanchez-Palencia wrote: > Hi Jose, > > > On 10/26/2017 03:08 AM, Jose Abreu wrote: >> Hi Andrew, >> >> On 26-10-2017 10:03, Andrew Lunn wrote: These parameters may also need to change in runtime depending on the scheduled traffic. Unfortunately, net s

Linux 4.4.95

2017-10-27 Thread Greg KH
I'm announcing the release of the 4.4.95 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.4.95

2017-10-27 Thread Greg KH
diff --git a/Makefile b/Makefile index ff9d6bbf2210..57e1ea2a189a 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 94 +SUBLEVEL = 95 EXTRAVERSION = NAME = Blurry Fish Butt diff --git a/arch/parisc/kernel/syscall.S b/arch/parisc/kernel/syscall.S index

Linux 4.9.59

2017-10-27 Thread Greg KH
I'm announcing the release of the 4.9.59 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Linux 4.13.10

2017-10-27 Thread Greg KH
I'm announcing the release of the 4.13.10 kernel. All users of the 4.13 kernel series must upgrade. The updated 4.13.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.13.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.13.10

2017-10-27 Thread Greg KH
diff --git a/Makefile b/Makefile index aa0267950444..0e30a0d282e8 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 13 -SUBLEVEL = 9 +SUBLEVEL = 10 EXTRAVERSION = NAME = Fearless Coyote diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dts

Re: Linux 4.9.59

2017-10-27 Thread Greg KH
diff --git a/Makefile b/Makefile index 32686667bb7e..900cd7c3a9ee 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 58 +SUBLEVEL = 59 EXTRAVERSION = NAME = Roaring Lionus diff --git a/arch/parisc/kernel/syscall.S b/arch/parisc/kernel/syscall.S index 2

Re: [PATCH 02/14] soundwire: Add SoundWire bus type

2017-10-27 Thread Greg Kroah-Hartman
On Thu, Oct 26, 2017 at 02:03:42PM +0530, Vinod Koul wrote: > On Fri, Oct 20, 2017 at 09:31:34PM +0530, Vinod Koul wrote: > > On Fri, Oct 20, 2017 at 12:45:28PM +0200, Greg Kroah-Hartman wrote: > > > On Thu, Oct 19, 2017 at 08:33:18AM +0530, Vinod Koul wrote: > > > > > +struct bus_type sdw_bus_typ

RE: [PATCH v4] Add /proc/PID/smaps support for DAX

2017-10-27 Thread Du, Fan
>-Original Message- >From: Michal Hocko [mailto:mho...@kernel.org] >Sent: Friday, October 27, 2017 4:43 PM >To: Du, Fan >Cc: Hansen, Dave ; a...@linux-foundation.org; >h...@lst.de; Williams, Dan J ; >linux-kernel@vger.kernel.org >Subject: Re: [PATCH v4] Add /proc/PID/smaps support for DA

  1   2   3   4   5   6   7   >