Re: [RFC v2 6/6] platform/x86: intel_pmc_ipc: Use generic Intel IPC device calls

2017-09-05 Thread Kuppuswamy, Sathyanarayanan
Hi Lee, On 9/5/2017 12:38 AM, Lee Jones wrote: On Sat, 02 Sep 2017, sathyanarayanan.kuppusw...@linux.intel.com wrote: From: Kuppuswamy Sathyanarayanan Removed redundant IPC helper functions and refactored the driver to use generic IPC device driver APIs. This patch also cleans-up PMC IPC u

Re: [PATCH] arm64: KVM: VHE: save and restore some PSTATE bits

2017-09-05 Thread gengdongjiu
CC Catalin On 2017/9/6 2:58, gengdongjiu wrote: > when exit from guest, some host PSTATE bits may be lost, such as > PSTATE.PAN or PSTATE.UAO. It is because host and hypervisor all run > in the EL2, host PSTATE value cannot be saved and restored via > SPSR_EL2. So if guest has changed the PSTATE,

Re: [PATCH v2 0/8] MT2712 IOMMU SUPPORT

2017-09-05 Thread Yong Wu
On Tue, 2017-08-22 at 22:38 +0800, Joerg Roedel wrote: > On Mon, Aug 21, 2017 at 07:00:13PM +0800, Yong Wu wrote: > > Yong Wu (8): > > dt-bindings: mediatek: Add binding for mt2712 IOMMU and SMI > > iommu/mediatek: Move MTK_M4U_TO_LARB/PORT into mtk_iommu.c > > iommu/mediatek: Add mt2712 IOMM

Re: [PATCH v8 06/13] x86/apic: Mark the apic_intr_mode extern for sanity check cleanup

2017-09-05 Thread Dou Liyang
Hi Baoquan, At 09/06/2017 01:26 PM, Baoquan He wrote: [...] static void __init smp_cpu_index_default(void) @@ -1335,19 +1295,20 @@ void __init native_smp_prepare_cpus(unsigned int max_cpus) Please also cleanup the passed in max_cpus since it's not used here any more. And up to the caller:

[PATCH] drivers/staging/pi433: Fixing coding guidelines

2017-09-05 Thread Pushkar Jambhlekar
Fix brace style of if-else case Signed-off-by: Pushkar Jambhlekar --- drivers/staging/pi433/pi433_if.c | 162 +-- 1 file changed, 54 insertions(+), 108 deletions(-) diff --git a/drivers/staging/pi433/pi433_if.c b/drivers/staging/pi433/pi433_if.c index 93c0168

[PATCH 1/2] dt-bindings: watchdog: Add Spreadtrum watchdog documentation

2017-09-05 Thread Eric Long
This patch adds the documentation for Spreadtrum watchdog driver. Signed-off-by: Eric Long --- .../devicetree/bindings/watchdog/sprd-wdt.txt | 19 +++ 1 file changed, 19 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/sprd-wdt.txt diff --git

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

2017-09-05 Thread Eric Long
This patch adds the watchdog driver for Spreadtrum SC9860 platform. Signed-off-by: Eric Long --- drivers/watchdog/Kconfig| 8 + drivers/watchdog/Makefile | 1 + drivers/watchdog/sprd_wdt.c | 366 3 files changed, 375 insertions(+) create mo

Re: [PATCH v2] md/raid5: preserve STRIPE_ON_UNPLUG_LIST in break_stripe_batch_list

2017-09-05 Thread Shaohua Li
On Wed, Sep 06, 2017 at 11:02:35AM +0800, Dennis Yang wrote: > In release_stripe_plug(), if a stripe_head has its STRIPE_ON_UNPLUG_LIST > set, it indicates that this stripe_head is already in the raid5_plug_cb > list and release_stripe() would be called instead to drop a reference > count. Otherwis

[PATCH] drivers/iommu/tegra: Optimize mutex_unlock function call

2017-09-05 Thread Pushkar Jambhlekar
Code can be optimized more by making single exit point of function and calling mutex_unlock at the end Signed-off-by: Pushkar Jambhlekar --- drivers/iommu/tegra-smmu.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/iommu/tegra-smmu.c b/drivers/iommu/tegra-sm

linux-next: Tree for Sep 6

2017-09-05 Thread Stephen Rothwell
Hi all, Please do not add any v4.15 related material to your linux-next included branches until after v4.14-rc1 has been released. Changes since 20170905: The devicetree tree gained conflicts against Linus' and the sound trees. The akpm-current tree lost its build failure. Non-merge co

Re: [PATCH 0/6] [media] Atmel: Adjustments for seven function implementations

2017-09-05 Thread Ludovic Desroches
On Wed, Sep 06, 2017 at 08:58:26AM +0800, Yang, Wenyou wrote: > Hi, > > > On 2017/9/5 4:04, SF Markus Elfring wrote: > > From: Markus Elfring > > Date: Mon, 4 Sep 2017 21:44:55 +0200 > > > > A few update suggestions were taken into account > > from static source code analysis. > Thank you for y

Re: [2/2] genirq: Warn when IRQ_NOAUTOEN is used with shared interrupts

2017-09-05 Thread Paul Burton
Hi Thomas, On Wednesday, 31 May 2017 02:58:33 PDT Thomas Gleixner wrote: > Shared interrupts do not go well with disabling auto enable: > > 1) The sharing interrupt might request it while it's still disabled and >then wait for interrupts forever. > > 2) The interrupt might have been requeste

Re: 4.13 on thinkpad x220: oops when writing to SD card

2017-09-05 Thread Adrian Hunter
On 06/09/17 05:44, Shawn Lin wrote: > + Seraphime > > On 2017/9/6 3:47, Pavel Machek wrote: >> Hi! >> >> I tried to write to the MMC card; process hung and I got this in the >> dmesg. > > > A similar report for 4.13 cycle was here: > > https://lkml.org/lkml/2017/8/10/824 > > Seems 4.13-rc4 was

Re: [PATCH 4/4][RFC v2] x86/apic: Spread the vectors by choosing the idlest CPU

2017-09-05 Thread Christoph Hellwig
On Wed, Sep 06, 2017 at 12:13:38PM +0800, Yu Chen wrote: > I agree, the driver could be rewritten, but it might take some time, so > meanwhile I'm looking at also other possible optimization. Which driver are we talking about anyway? Let's start looking at it and fix the issue there.

[PATCH 2/2] spi: Add ADI driver for Spreadtrum platform

2017-09-05 Thread Baolin Wang
This patch adds ADI driver based on SPI framework for Spreadtrum SC9860 platform. Signed-off-by: Baolin Wang --- drivers/spi/Kconfig|6 + drivers/spi/Makefile |1 + drivers/spi/spi-sprd-adi.c | 431 3 files changed, 438 insertio

[PATCH 1/2] dt-bindings: spi: Add Spreadtrum ADI controller documentation

2017-09-05 Thread Baolin Wang
This patch adds the binding documentation for Spreadtrum ADI controller device. Signed-off-by: Baolin Wang --- .../devicetree/bindings/spi/spi-sprd-adi.txt | 44 1 file changed, 44 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/spi-sprd-adi.t

Re: [PATCH v2 1/1] usb:xhci: update condition to select bus->sysdev from parent device

2017-09-05 Thread Mathias Nyman
On 06.09.2017 06:47, Thang Q. Nguyen wrote: On Tue, Sep 5, 2017 at 6:14 PM, Mathias Nyman mailto:mathias.ny...@linux.intel.com>> wrote: On 24.08.2017 05 :53, Thang Q. Nguyen wrote: On Sat, Aug 19, 2017 at 10:43 AM, Thang Q. Nguyen mailto:tqngu...@apm.com>> wrote: From

[PATCH v2] ALSA: maestro3: Use common error handling code in two functions

2017-09-05 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 6 Sep 2017 08:18:30 +0200 Add jump targets so that a bit of exception handling can be better reused at the end of these functions. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- v2: * An approach to make a few checks

Re: [PATCH v3 2/2] ip6_tunnel: fix ip6 tunnel lookup in collect_md mode

2017-09-05 Thread 严海双
> On 2017年9月6日, at 上午11:14, Alexei Starovoitov wrote: > > On 9/4/17 1:36 AM, Haishuang Yan wrote: >> In collect_md mode, if the tun dev is down, it still can call >> __ip6_tnl_rcv to receive on packets, and the rx statistics increase >> improperly. >> >> Fixes: 8d79266bc48c ("ip6_tunnel: add col

<    4   5   6   7   8   9