Re: [PATCH 01/13] arm64: mm: Add p?d_large() definitions

2019-02-18 Thread Mark Rutland
On Fri, Feb 15, 2019 at 05:02:22PM +, Steven Price wrote: > From: James Morse > > Exposing the pud/pgd levels of the page tables to walk_page_range() means > we may come across the exotic large mappings that come with large areas > of contiguous memory (such as the kernel's linear map). > > Ex

Re: [PATCH 2/2] ASoC: samsung: i2s: Fix multiple "IIS multi" devices initialization

2019-02-18 Thread Krzysztof Kozlowski
On Fri, 15 Feb 2019 at 15:48, Sylwester Nawrocki wrote: > > On some SoCs (e.g. Exynos5433) there are multiple "IIS multi audio > interfaces" and the driver will try to register there multiple times > same platform device for the secondary FIFO, which of course fails > miserably. To fix this we de

Re: [PATCH 4/4] PM / devfreq: Handle monitor start/stop in the devfreq core

2019-02-18 Thread Chanwoo Choi
Hi Matthias, On 19. 2. 16. 오전 7:56, Matthias Kaehlcke wrote: > Hi Chanwoo, > > On Fri, Feb 15, 2019 at 09:33:05AM +0900, Chanwoo Choi wrote: >> Hi Matthias, >> >> On 19. 2. 15. 오전 9:19, Matthias Kaehlcke wrote: >>> Hi Chanwoo, >>> >>> On Fri, Feb 15, 2019 at 08:42:30AM +0900, Chanwoo Choi wrote:

[PATCH v2 02/10] dt-bindings: misc: Add bindings for HiSilicon usb hub and data role switch functionality on HiKey960

2019-02-18 Thread Yu Chen
This patch adds binding documentation to support usb hub and usb data role switch of Hisilicon HiKey960 Board. Cc: Sergei Shtylyov Cc: Rob Herring Cc: Mark Rutland Cc: John Stultz Cc: Binghui Wang Signed-off-by: Yu Chen --- v1: * Fix some format errors as suggested by Sergei. * Modify gpio d

[PATCH v2 04/10] usb: dwc3: Add two quirks for Hisilicon Kirin Soc Platform

2019-02-18 Thread Yu Chen
There are tow quirks for DesignWare USB3 DRD Core of Hisilicon Kirin Soc. 1)SPLIT_BOUNDARY_DISABLE should be set for Host mode 2)A GCTL soft reset should be executed when switch mode Cc: Andy Shevchenko Cc: Felipe Balbi Cc: Greg Kroah-Hartman Cc: John Stultz Cc: Binghui Wang Signed-off-by: Yu

[PATCH v2 01/10] dt-bindings: phy: Add support for HiSilicon's hi3660 USB PHY

2019-02-18 Thread Yu Chen
This patch adds binding documentation for supporting the hi3660 usb phy on boards like the HiKey960. Cc: Rob Herring Cc: Mark Rutland Cc: John Stultz Cc: Binghui Wang Signed-off-by: Yu Chen --- v1: * Fix some format error as suggested by Rob. v2: * Change hi3660 usb PHY to hi3660 USB PHY ---

[PATCH v2 00/10] Add support for usb on Hikey960

2019-02-18 Thread Yu Chen
The patchset adds support for usb functionality of Hikey960, includes: - dwc3 driver for Hisilicon Kirin Soc hi3660 - usb driver for HiKey960 board - some adjustment in dwc3, usb gadget and typec driver - dts for support usb of HiKey960 --- v2: * This patchset based on patchset https://lkml.org/lk

[PATCH v2 03/10] usb: dwc3: dwc3-of-simple: Add support for dwc3 of Hisilicon Soc Platform

2019-02-18 Thread Yu Chen
This patch adds support for the poweron and shutdown of dwc3 core on Hisilicon Soc Platform. --- drivers/usb/dwc3/dwc3-of-simple.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/usb/dwc3/dwc3-of-simple.c b/drivers/usb/dwc3/dwc3-of-simple.c index 4c2771c5e727..0ed09

[PATCH v2 10/10] dts: hi3660: Add support for usb on Hikey960

2019-02-18 Thread Yu Chen
This patch adds support for usb on Hikey960. Cc: Wei Xu Cc: Rob Herring Cc: Mark Rutland Cc: linux-arm-ker...@lists.infradead.org Cc: John Stultz Cc: Binghui Wang Signed-off-by: Yu Chen --- v2: * Remove device_type property. * Add property "usb-role-switch". --- --- arch/arm64/boot/dts/hisi

[PATCH v2 07/10] usb: dwc3: Registering a role switch in the DRD code.

2019-02-18 Thread Yu Chen
The Type-C drivers use USB role switch API to inform the system about the negotiated data role, so registering a role switch in the DRD code in order to support platforms with USB Type-C connectors. Cc: John Stultz Cc: Felipe Balbi Cc: Greg Kroah-Hartman Cc: Heikki Krogerus Suggested-by: Heikk

Re: [PATCH 06/13] mm: pagewalk: Add 'depth' parameter to pte_hole

2019-02-18 Thread Mark Rutland
On Fri, Feb 15, 2019 at 05:02:27PM +, Steven Price wrote: > The pte_hole() callback is called at multiple levels of the page tables. > Code dumping the kernel page tables needs to know what at what depth > the missing entry is. Add this is an extra parameter to pte_hole(). > When the depth isn'

[PATCH v2 08/10] hikey960: Support usb functionality of Hikey960

2019-02-18 Thread Yu Chen
This driver handles usb hub power on and typeC port event of HiKey960 board: 1)DP&DM switching between usb hub and typeC port base on typeC port state 2)Control power of usb hub on Hikey960 3)Control vbus of typeC port Cc: Andy Shevchenko Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Cc: John Stultz

[PATCH v2 09/10] usb: gadget: Add configfs attribuite for controling match_existing_only

2019-02-18 Thread Yu Chen
Currently the "match_existing_only" of usb_gadget_driver in configfs is set to one which is not flexible. Dwc3 udc will be removed when usb core switch to host mode. This causes failure of writing name of dwc3 udc to configfs's UDC attribuite. To fix this we need to add a way to change the config o

[PATCH v2 06/10] usb: roles: Add usb role switch notifier.

2019-02-18 Thread Yu Chen
This patch adds notifier for drivers want to be informed of the usb role switch. Cc: Greg Kroah-Hartman Cc: Heikki Krogerus Cc: Hans de Goede Cc: Andy Shevchenko Cc: John Stultz Suggested-by: Heikki Krogerus Signed-off-by: Yu Chen --- drivers/usb/roles/class.c | 20 +++- in

[PATCH v2 05/10] phy: Add usb phy support for hi3660 Soc of Hisilicon

2019-02-18 Thread Yu Chen
This driver handles usb phy power on and shutdown for hi3660 Soc of Hisilicon. Cc: Andy Shevchenko Cc: Kishon Vijay Abraham I Cc: "David S. Miller" Cc: Greg Kroah-Hartman Cc: Mauro Carvalho Chehab Cc: Andrew Morton Cc: Arnd Bergmann Cc: Shawn Guo Cc: Pengcheng Li Cc: Jianguo Sun Cc: Masa

[PATCH v2 1/2] KVM: x86: Inject PMI for KVM guest

2019-02-18 Thread Luwei Kang
Inject a PMI for KVM guest when Intel PT working in Host-Guest mode and Guest ToPA entry memory buffer was completely filled. Signed-off-by: Luwei Kang --- arch/x86/events/intel/core.c | 6 +- arch/x86/include/asm/msr-index.h | 4 arch/x86/kvm/x86.c | 10 ++

[PATCH v2 0/2] Inject a PMI for KVM Guest when ToPA buffer is filled

2019-02-18 Thread Luwei Kang
Each intel processor trace table of physical addresses (ToPA) entry has an INT bit. If this bit is set, the processor will signal a performance-monitoring interrupt (PMI) when the corresponding trace output region is filled. This patch set will inject a PMI for Intel Processor Trace when ToPA buffe

[PATCH v2 2/2] KVM: x86: Add support of clear Trace_ToPA_PMI status

2019-02-18 Thread Luwei Kang
Add support of clear Intel PT ToPA PMI status for KVM guest. Signed-off-by: Luwei Kang --- arch/x86/include/asm/kvm_host.h | 1 + arch/x86/include/asm/msr-index.h | 4 arch/x86/kvm/vmx/pmu_intel.c | 8 +++- 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/arch/x86/inc

Re: [PATCH v2] staging: android: ion: Allocate from heap ID directly without mask

2019-02-18 Thread Brian Starkey
On Fri, Feb 15, 2019 at 11:01:59AM -0800, John Stultz wrote: > On Fri, Feb 15, 2019 at 2:51 AM Brian Starkey wrote: > > > > Hi John, > > > > On Thu, Feb 14, 2019 at 09:38:29AM -0800, John Stultz wrote: > > > > > [snip] > > > > > Some thoughts, as this ABI break has the potential to be pretty painf

Re: [EXT] Re: [PATCH net-next 10/13] net: mvpp2: reset the XPCS while reconfiguring the serdes lanes

2019-02-18 Thread Russell King - ARM Linux admin
Hi Stefan, On Mon, Feb 18, 2019 at 11:08:34AM +, Stefan Chulski wrote: > HW recommendation upon Serdes reconfiguration are the following: > > 1. Disable port(CTRL0_REG - in XLG/GMAC) > 2. Put port in reset (both XLG/GMAC) > 3. For KR - put in reset MPCS (MAC control clock, RX SD clock, TX SD

Re: [PATCH 01/13] arm64: mm: Add p?d_large() definitions

2019-02-18 Thread Peter Zijlstra
On Fri, Feb 15, 2019 at 05:02:22PM +, Steven Price wrote: > diff --git a/arch/arm64/include/asm/pgtable.h > b/arch/arm64/include/asm/pgtable.h > index de70c1eabf33..09d308921625 100644 > --- a/arch/arm64/include/asm/pgtable.h > +++ b/arch/arm64/include/asm/pgtable.h > @@ -428,6 +428,7 @@ exte

Re: [PATCH 03/13] mm: Add generic p?d_large() macros

2019-02-18 Thread Peter Zijlstra
On Fri, Feb 15, 2019 at 05:02:24PM +, Steven Price wrote: > From: James Morse > > Exposing the pud/pgd levels of the page tables to walk_page_range() means > we may come across the exotic large mappings that come with large areas > of contiguous memory (such as the kernel's linear map). > >

Re: [PATCH 2/2] ASoC: samsung: i2s: Fix multiple "IIS multi" devices initialization

2019-02-18 Thread Sylwester Nawrocki
On 2/18/19 12:00, Krzysztof Kozlowski wrote: > On Fri, 15 Feb 2019 at 15:48, Sylwester Nawrocki > wrote: >> diff --git a/sound/soc/samsung/i2s.c b/sound/soc/samsung/i2s.c >> index e36c44e2f1bb..4a6dd86459bc 100644 >> --- a/sound/soc/samsung/i2s.c >> +++ b/sound/soc/samsung/i2s.c >> @@ -1339,20 +

RE: [EXT] Re: [PATCH net-next 10/13] net: mvpp2: reset the XPCS while reconfiguring the serdes lanes

2019-02-18 Thread Stefan Chulski
> -Original Message- > From: Russell King - ARM Linux admin > Sent: Monday, February 18, 2019 1:28 PM > To: Stefan Chulski > Cc: Antoine Tenart ; da...@davemloft.net; > net...@vger.kernel.org; linux-kernel@vger.kernel.org; > thomas.petazz...@bootlin.com; maxime.chevall...@bootlin.com;

[PATCHv2 0/3] perf tools: Assorted fixes

2019-02-18 Thread Jiri Olsa
hi, sending assorted general fixes that queued up in my other branches. v2 changes: - renamed the interface to struct cpu_topology/numa_topology plus related changes in function names - adding missing Fixes tag Also available in here: https://git.kernel.org/pub/scm/linux/kernel/git/jols

[PATCH 2/3] perf tools: Add cpu_topology object

2019-02-18 Thread Jiri Olsa
Making struct cpu_topo global and renaming it to struct cpu_topology, so it can be used from record command in following patches. Adding following interface functions to load/free cpu topology details: struct cpu_topology *cpu_topology__new(void); void cpu_topology__delete(struct cpu_topology

[PATCH 3/3] perf tools: Add numa_topology object

2019-02-18 Thread Jiri Olsa
Adding numa_topology object to return the list of numa nodes together with their cpus. It will replace the numa code in header.c and will be used from perf record code in following patches. Adding following interface functions to load numa details: struct numa_topology *numa_topology__new(void)

[PATCH 1/3] perf header: Fix wrong node write in NUMA_TOPOLOGY feature

2019-02-18 Thread Jiri Olsa
We are currently passing the node index instead of the real node number. Fixes: fbe96f29ce4b ("perf tools: Make perf.data more self-descriptive (v8)" Link: http://lkml.kernel.org/n/tip-rbtlsr9ts23c89rki7d4s...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/header.c | 2 +- 1 file ch

Re: [PATCH 1/2] ASoC: samsung: i2s: Fix the secondary platform device registration

2019-02-18 Thread Sylwester Nawrocki
On 2/18/19 09:31, Krzysztof Kozlowski wrote: > On Fri, 15 Feb 2019 at 15:48, Sylwester Nawrocki > wrote: >> diff --git a/sound/soc/samsung/i2s.c b/sound/soc/samsung/i2s.c >> index 6bf0f55d1e51..e36c44e2f1bb 100644 >> --- a/sound/soc/samsung/i2s.c >> +++ b/sound/soc/samsung/i2s.c >> @@ -1359,11 +

Re: aacraid: Regression in 4.14.56 with *genirq/affinity: assign vectors to all possible CPUs*

2019-02-18 Thread Greg Kroah-Hartman
On Tue, Sep 11, 2018 at 12:53:54PM +0200, Paul Menzel wrote: > Dear Ming, dear Raghava, dear Dave, > > > On 08/16/18 19:09, Paul Menzel wrote: > > > On 08/13/18 05:32, Ming Lei wrote: > >> On Sat, Aug 11, 2018 at 03:50:21PM +0200, Greg Kroah-Hartman wrote: > >>> On Sat, Aug 11, 2018 at 10:14:18A

Re: [PATCH] x86: livepatch: Treat R_X86_64_PLT32 as R_X86_64_PC32

2019-02-18 Thread gre...@linuxfoundation.org
On Fri, Feb 15, 2019 at 02:01:31AM +, chenzefeng (A) wrote: > On x86-64, for 32-bit PC-relacive branches, we can generate PLT32 relocation, > instead of PC32 relocation. and R_X86_64_PLT32 can be treated the same as > R_X86_64_PC32 since linux kernel doesn't use PLT. > > In linux 4.4 commit

Re: [RFC] net: dsa: qca8k: implement rgmii-id mode

2019-02-18 Thread Michal Vokáč
On 18. 02. 19 11:45, Vinod Koul wrote: On 15-02-19, 16:23, Andrew Lunn wrote: On Fri, Feb 15, 2019 at 04:01:08PM +0100, Michal Vokáč wrote: Hi, networking on my boards [1], which are currently in linux-next, suddently stopped working. I tracked it down to this commit 5ecdd77c61c8 ("net: dsa: q

Re: [PATCH] crypto: ccree: add missing inline qualifier

2019-02-18 Thread Gilad Ben-Yossef
Hi, On Mon, Feb 18, 2019 at 10:48 AM Geert Uytterhoeven wrote: > > On Mon, Feb 11, 2019 at 3:29 PM Gilad Ben-Yossef wrote: > > Commit 1358c13a48c4 ("crypto: ccree - fix resume race condition on init") > > was missing a "inline" qualifier for stub function used when CONFIG_PM > > is not set causi

Re: [PATCH 2/2] Input: add Apple SPI keyboard and trackpad driver.

2019-02-18 Thread Andy Shevchenko
On Mon, Feb 18, 2019 at 01:08:51AM -0800, Life is hard, and then you die wrote: > On Sat, Feb 16, 2019 at 02:44:26AM +0200, Andy Shevchenko wrote: > > On Sun, Feb 10, 2019 at 03:18:34AM -0800, Life is hard, and then you die > > wrote: > > > On Wed, Feb 06, 2019 at 10:22:56PM +0200, Andy Shevchenko

Re: [PATCH v3 1/9] s390: vfio_ap: link the vfio_ap devices to the vfio_ap bus subsystem

2019-02-18 Thread Cornelia Huck
On Fri, 15 Feb 2019 16:59:33 -0500 Tony Krowiak wrote: > On 2/15/19 4:11 AM, Cornelia Huck wrote: > > On Thu, 14 Feb 2019 13:30:59 -0500 > > Tony Krowiak wrote: > > > >> On 2/14/19 12:36 PM, Pierre Morel wrote: > >>> On 14/02/2019 17:57, Cornelia Huck wrote: > (And reading further i

Re: ext4 corruption on alpha with 4.20.0-09062-gd8372ba8ce28

2019-02-18 Thread Jan Kara
On Sun 17-02-19 00:29:40, Meelis Roos wrote: > > > The result of the bisection is > > > [88dbcbb3a4847f5e6dfeae952d3105497700c128] blkdev: avoid migration stalls > > > for blkdev pages > > > > > > Is that result relevant for the problem or should I continue bisecting > > > between 4.20.0 and the

[PATCH v2 2/2] mtd: spi-nor: Add support for MX25V8035F

2019-02-18 Thread Schrempf Frieder
From: Frieder Schrempf This adds support for the Macronix MX25V8035F, a 8Mb SPI NOR chip. It is used on i.MX6UL/ULL SoMs by Kontron Electronics GmbH (N631x). It was only tested with a single data line connected, by writing and reading random data with dd. Signed-off-by: Frieder Schrempf --- Cha

[PATCH v2 1/2] mtd: spi-nor: Add support for EN25Q80A

2019-02-18 Thread Schrempf Frieder
From: Frieder Schrempf This adds support for the EON EN25Q80A, a 8Mb SPI NOR chip. It is used on i.MX6 boards by Kontron Electronics GmbH (N60xx, N61xx). It was only tested with a single data line connected, by writing and reading random data with dd. Signed-off-by: Frieder Schrempf --- Changes

Re: [PATCH v2 13/15] ARM: dts: milbeaut: Add device tree set for the Milbeaut M10V board

2019-02-18 Thread Arnd Bergmann
On Fri, Feb 8, 2019 at 1:28 PM Sugaya Taichi wrote: > + > + aliases { > + serial1 = &uart1; > + }; Maybe start with serial0 here? It seems unusual to start counting at 1. > + chosen { > + bootargs = "init=/sbin/finit rootwait earlycon"; The /sbin/fi

Re: [PATCH v2 14/15] ARM: configs: Add Milbeaut M10V defconfig

2019-02-18 Thread Arnd Bergmann
On Fri, Feb 8, 2019 at 1:30 PM Sugaya Taichi wrote: > > This patch adds the minimal defconfig for the Milbeaut M10V. > > Signed-off-by: Sugaya Taichi > --- > arch/arm/configs/milbeaut_m10v_defconfig | 366 > +++ > 1 file changed, 366 insertions(+) I think it would

Re: possible deadlock in console_unlock

2019-02-18 Thread Yao HongBo
On 2/18/2019 1:46 PM, Sergey Senozhatsky wrote: > Hi, > > On (02/16/19 15:59), Yao HongBo wrote: >>> GFP_NOWARN is probably the best option for now. Yes, it, maybe, >>> will not work for fault-injection cases; but printk_safe approach >>> is harder to push for, especially given that printk_safe

Re: [PATCH 2/2] driver core: Fix possible supplier PM-usage counter imbalance

2019-02-18 Thread Rafael J. Wysocki
On Fri, Feb 15, 2019 at 5:44 PM Jon Hunter wrote: > > > On 15/02/2019 14:37, Ulf Hansson wrote: > > On Fri, 15 Feb 2019 at 12:00, Jon Hunter wrote: > >> > >> Hi Rafael, > >> > >> On 12/02/2019 12:08, Rafael J. Wysocki wrote: > >>> From: Rafael J. Wysocki > >>> > >>> If a stateless device link t

Re: [PATCH v2 04/15] ARM: milbeaut: Add basic support for Milbeaut m10v SoC

2019-02-18 Thread Arnd Bergmann
On Fri, Feb 8, 2019 at 1:26 PM Sugaya Taichi wrote: > +static int m10v_pm_enter(suspend_state_t state) > +{ > + switch (state) { > + case PM_SUSPEND_STANDBY: > + pr_err("STANDBY\n"); > + asm("wfi"); > + break; > + case PM_SUSPEND_MEM: >

[PATCH -next] staging: mt7621-mmc: Remove unused including

2019-02-18 Thread YueHaibing
Remove including that don't need it. Signed-off-by: YueHaibing --- drivers/staging/mt7621-mmc/dbg.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/mt7621-mmc/dbg.c b/drivers/staging/mt7621-mmc/dbg.c index eabe0595978b..c7c091fa1da0 100644 --- a/drivers/staging/mt7621-mmc/dbg

[PATCH -next] staging: rtl8192e: Remove set but not used variables 'broad_addr, stype'

2019-02-18 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning: drivers/staging/rtl8192e/rtl8192e/rtl_core.c: In function '_rtl92e_tx': drivers/staging/rtl8192e/rtl8192e/rtl_core.c:1732:28: warning: variable 'broad_addr' set but not used [-Wunused-but-set-variable] drivers/staging/rtl8192e/rtl8192e/rtl_core.c:17

Re: [PATCH v2 00/15] Add basic support for Socionext Milbeaut M10V SoC

2019-02-18 Thread Arnd Bergmann
On Fri, Feb 8, 2019 at 1:24 PM Sugaya Taichi wrote: > > Hi, > > Here is the series of patches the initial support for SC2000(M10V) of > Milbeaut SoCs. "M10V" is the internal name of SC2000, so commonly used in > source code. > > SC2000 is a SoC of the Milbeaut series. equipped with a DSP optimized

Re: [PATCH v2 04/10] usb: dwc3: Add two quirks for Hisilicon Kirin Soc Platform

2019-02-18 Thread Andy Shevchenko
On Mon, Feb 18, 2019 at 1:23 PM Yu Chen wrote: > > There are tow quirks for DesignWare USB3 DRD Core of Hisilicon Kirin Soc. > 1)SPLIT_BOUNDARY_DISABLE should be set for Host mode > 2)A GCTL soft reset should be executed when switch mode Thus, it must be two patches, no? > +static void dwc3_gctl

Re: [PATCH v3 4/9] s390: ap: tools to find a queue with a specific APQN

2019-02-18 Thread Cornelia Huck
On Fri, 15 Feb 2019 17:13:21 -0500 Tony Krowiak wrote: > On 2/14/19 8:51 AM, Pierre Morel wrote: > > We need to find the queue with a specific APQN during the > > handling of the interception of the PQAP/AQIC instruction. > > > > To handle the AP associated device reference count we keep > > tra

Re: [PATCH] tcp: Namespace-ify sysctl_tcp_rmem and sysctl_tcp_wmem

2019-02-18 Thread Greg KH
On Thu, Feb 14, 2019 at 01:12:08AM +, Alakesh Haloi wrote: > [ Upstream commit 356d1833b638bd465672aefeb71def3ab93fc17d ] > > Note that when a new netns is created, it inherits its > sysctl_tcp_rmem and sysctl_tcp_wmem from initial netns. > > This change is needed so that we can refine TCP rc

Re: [PATCH 1/3] dt-bindings: dmaengine: Add one new cell to present hardware slave id

2019-02-18 Thread Arnd Bergmann
On Mon, Feb 18, 2019 at 11:52 AM Baolin Wang wrote: > On Mon, 18 Feb 2019 at 18:31, Arnd Bergmann wrote: > > > > On Tue, Feb 12, 2019 at 9:25 AM Baolin Wang wrote: > > > On Fri, 1 Feb 2019 at 19:53, Baolin Wang wrote: > > > > On Thu, 31 Jan 2019 at 00:52, Arnd Bergmann wrote: > > > > > On Tue,

[PATCH] powerpc: dump as a single line areas mapping a single physical page.

2019-02-18 Thread Christophe Leroy
When using KASAN, there are parts of the shadow area where all pages are mapped to the kasan_early_shadow_page. It is pointless to dump one line for each of those pages (in the example below there are 7168 entries pointing to the same physical page). ~# cat /sys/kernel/debug/kernel_page_tables ..

Re: BUG: optimized kprobes illegal instructions in v4.19 stable kernels

2019-02-18 Thread Greg KH
On Wed, Feb 06, 2019 at 01:41:15PM +0900, Masami Hiramatsu wrote: > On Tue, 5 Feb 2019 15:06:10 + > Kees Cook wrote: > > > On Mon, Feb 4, 2019 at 7:15 PM Mathieu Desnoyers > > wrote: > > > > > > Hi, > > > > > > I notice this commit as a possible culprit of the illegal instructions my > > >

[PATCH] powerpc: Move page table dump files in a dedicated subdirectory

2019-02-18 Thread Christophe Leroy
This patch moves the files related to page table dump in a dedicated subdirectory. The purpose is to clean a bit arch/powerpc/mm by regrouping multiple files handling a dedicated function. Signed-off-by: Christophe Leroy --- arch/powerpc/Kconfig.debug | 4

Re: [RESEND PATCH] dt-bindings: arm: atmel: add new sam9x60 SFR binding

2019-02-18 Thread Nicolas.Ferre
On 06/02/2019 at 19:04, Nicolas Ferre wrote: > Add this SFR compatible definition for the sam9x60 SoC. Will be needed > in OHCI driver: ohci-at91.c. > > Signed-off-by: Nicolas Ferre > --- > Hi Rob, > It seems that this patch was lost in my series "[PATCH 0/8] ARM: at91/dt: > update to existing dr

Re: [PATCH v2 00/15] Add basic support for Socionext Milbeaut M10V SoC

2019-02-18 Thread Daniel Lezcano
On 18/02/2019 13:20, Arnd Bergmann wrote: > On Fri, Feb 8, 2019 at 1:24 PM Sugaya Taichi > wrote: >> >> Hi, >> >> Here is the series of patches the initial support for SC2000(M10V) of >> Milbeaut SoCs. "M10V" is the internal name of SC2000, so commonly used in >> source code. >> >> SC2000 is a SoC

Re: [PATCH net-next v6] ipmr: ip6mr: Create new sockopt to clear mfc cache or vifs

2019-02-18 Thread Nikolay Aleksandrov
On 17/02/2019 23:07, Callum Sinclair wrote: > Currently the only way to clear the forwarding cache was to delete the > entries one by one using the MRT_DEL_MFC socket option or to destroy and > recreate the socket. > > Create a new socket option which with the use of optional flags can > clear any

Re: [PATCH v2 04/10] usb: dwc3: Add two quirks for Hisilicon Kirin Soc Platform

2019-02-18 Thread Chen Yu
Hi, On 2019/2/18 20:21, Andy Shevchenko wrote: > On Mon, Feb 18, 2019 at 1:23 PM Yu Chen wrote: >> >> There are tow quirks for DesignWare USB3 DRD Core of Hisilicon Kirin Soc. >> 1)SPLIT_BOUNDARY_DISABLE should be set for Host mode >> 2)A GCTL soft reset should be executed when switch mode > > T

[PATCH v1 00/12] qcom: dts: thermal cleanups

2019-02-18 Thread Amit Kucheria
- Expose all temperature sensors on msm8916, msm996, msm8998, sdm845 - split up the register address map for msm8998 - standardize names of the various thermal-zones across boards to make it easy for test scripts to parse Amit Kucheria (12): arm64: dts: msm8998: thermal: split address space in

[PATCH v1 01/12] arm64: dts: msm8998: thermal: split address space into two

2019-02-18 Thread Amit Kucheria
We've earlier added support to split the register address space into TM and SROT regions. Split up the regmap address space into two for msm8998 that has a similar register layout. The order is important (TM before SROT) because we make an assumption that SROT is always the second address space in

[PATCH v1 02/12] arm64: dts: msm8998: efficiency is not valid property

2019-02-18 Thread Amit Kucheria
efficiency comes from downstream. The valid upstream property is capacity-dmips-mhz but until we can come up with those numbers, remove this property. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 8 1 file changed, 8 deletions(-) diff --git a/arch/arm64/boot

[PATCH v1 06/12] arm64: dts: msm8998: thermal: Fix the gpu sensor number

2019-02-18 Thread Amit Kucheria
The GPU sensor is sensor ID 13 on controller 0 Fixes: 4449b6f248d9a1 ("arm64: dts: qcom: msm8998: Add tsens and thermal-zones") Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8

[PATCH v1 04/12] arm64: dts: msm8996: thermal: Add temperature sensors near major peripherals

2019-02-18 Thread Amit Kucheria
msm8996 has a total of 21 temperature sensors. Populate DT with information about them. There are 2 sensors on each of the cpus - one on the top, the other below (we only expose one on the top in DT for now). For the GPU, we expose both, the one on the top and the one below. Depending on the vers

[PATCH v1 05/12] arm64: dts: msm8998: thermal: Fix the cpu sensor numbers

2019-02-18 Thread Amit Kucheria
The silver cluster (typically cpu0-3) are monitored by sensor IDs 1-3 on tsens controller 0. The gold cluster (typically cpu4-7) are monitored by sensor IDs 7-10 on tsens controller 0. Fixes: 4449b6f248d9a1 ("arm64: dts: qcom: msm8998: Add tsens and thermal-zones") Signed-off-by: Amit Kucheria --

[PATCH v1 03/12] arm64: dts: msm8916: thermal: Add sensor for modem

2019-02-18 Thread Amit Kucheria
On platforms that have a modem, sensor 0 monitors the modem. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index 9e598ab438a1..9e4a82e

[PATCH v1 07/12] arm64: dts: msm8998: thermal: GPU has two sensors, add the second

2019-02-18 Thread Amit Kucheria
The first sensor is on top and the second sensor below the GPU Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index b

[PATCH v1 10/12] arm64: dts: msm8998: thermal: Make trip names consistent

2019-02-18 Thread Amit Kucheria
Maintain naming consistency with what was landed for sdm845. Simplifies parsing for test tools. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 48 +-- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm899

[PATCH v1 11/12] arm64: dts: msm8916: thermal: Make trip names consistent

2019-02-18 Thread Amit Kucheria
Maintain naming consistency with what was landed for sdm845. Simplifies parsing for test tools. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8916.d

[PATCH v1 12/12] arm64: dts: msm8996: thermal: Make trip names consistent

2019-02-18 Thread Amit Kucheria
Maintain naming consistency with what was landed for sdm845. Simplifies parsing for test tools. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.d

[PATCH v1 09/12] arm64: dts: sdm845: thermal: Add temperature sensors near major peripherals

2019-02-18 Thread Amit Kucheria
sdm845 has a total of 21 temperature sensors. Populate DT with information about them. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 91 1 file changed, 91 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/d

[PATCH v1 08/12] arm64: dts: msm8998: thermal: Add temperature sensors near major peripherals

2019-02-18 Thread Amit Kucheria
msm8998 has a total of 22 temperature sensors. Populate DT with information about them. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 63 +++ 1 file changed, 63 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot

Re: ext4 corruption on alpha with 4.20.0-09062-gd8372ba8ce28

2019-02-18 Thread Meelis Roos
Hum, weird. I have hard time understanding how that change could be causing fs corruption on Aplha but OTOH it is not completely unthinkable. With this commit we may migrate some block device pages we were not able to migrate previously and that could be causing some unexpected issue. I'll look in

Build regressions/improvements in v5.0-rc7

2019-02-18 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v5.0-rc7[1] compared to v4.20[2]. Summarized: - build errors: +2/-5 - build warnings: +110/-14838 JFYI, when comparing v5.0-rc7[1] to v5.0-rc6[3], the summaries are: - build errors: +0/-0 - build warnings: +65/-60 Note

[PATCH -next] powerpc/pseries: Drop pointless static qualifier in vpa_debugfs_init()

2019-02-18 Thread YueHaibing
There is no need to have the 'struct dentry *vpa_dir' variable static since new value always be assigned before use it. Signed-off-by: YueHaibing --- arch/powerpc/platforms/pseries/lpar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/platforms/pseries/lpar.c b

[PATCH -next] powerpc/pseries: Fix platform_no_drv_owner.cocci warnings

2019-02-18 Thread YueHaibing
Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: YueHaibing --- arch/powerpc/platforms/pseries/papr_scm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/platforms/pse

Re: [PATCH 4/4] riscv: switch over to generic free_initmem()

2019-02-18 Thread Souptick Joarder
Hi Mike, On Fri, Feb 15, 2019 at 2:19 AM Palmer Dabbelt wrote: > > On Thu, 14 Feb 2019 07:59:37 PST (-0800), r...@linux.ibm.com wrote: > > The riscv version of free_initmem() differs from the generic one only in > > that it sets the freed memory to zero. > > > > Make ricsv use the generic version

Re: [PATCH] perf: update perf.data file format documentation

2019-02-18 Thread Arnaldo Carvalho de Melo
Em Mon, Feb 18, 2019 at 12:22:46AM +0100, Jiri Olsa escreveu: > On Fri, Feb 15, 2019 at 07:28:23PM +0100, Jonas Rabenstein wrote: > > I found that the documentation of the flags section is some how > > different from the actual format used and expected by the perf > > tools. In this patch the accor

Re: [PATCH 4/4] riscv: switch over to generic free_initmem()

2019-02-18 Thread Souptick Joarder
On Mon, Feb 18, 2019 at 6:16 PM Souptick Joarder wrote: > > Hi Mike, > > On Fri, Feb 15, 2019 at 2:19 AM Palmer Dabbelt wrote: > > > > On Thu, 14 Feb 2019 07:59:37 PST (-0800), r...@linux.ibm.com wrote: > > > The riscv version of free_initmem() differs from the generic one only in > > > that it s

Re: [PATCH -next] powerpc/pseries: Fix platform_no_drv_owner.cocci warnings

2019-02-18 Thread Julia Lawall
On Mon, 18 Feb 2019, YueHaibing wrote: > Remove .owner field if calls are used which set it automatically > Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci > > Signed-off-by: YueHaibing > --- > arch/powerpc/platforms/pseries/papr_scm.c | 2 +- > 1 file changed, 1 insertion(+)

Re: [PATCH 03/13] mm: Add generic p?d_large() macros

2019-02-18 Thread Peter Zijlstra
On Mon, Feb 18, 2019 at 11:14:23AM +, Mark Rutland wrote: > > +#ifndef pgd_large > > +#define pgd_large(x)0 > > +#endif > > +#ifndef pud_large > > +#define pud_large(x)0 > > +#endif > > +#ifndef pmd_large > > +#define pmd_large(x)0 > > +#endif > > It might be worth a comment defining the seman

Re: [RFC PATCH v1 05/25] printk-rb: add basic non-blocking reading interface

2019-02-18 Thread Petr Mladek
On Tue 2019-02-12 15:29:43, John Ogness wrote: > Add reader iterator static declaration/initializer, dynamic > initializer, and functions to iterate and retrieve ring buffer data. > > Signed-off-by: John Ogness > --- > include/linux/printk_ringbuffer.h | 20 > lib/printk_ringbuffer.c

Re: [PATCH v2 2/3] mfd: syscon: Add optional clock support

2019-02-18 Thread Arnd Bergmann
On Mon, Feb 11, 2019 at 5:32 PM Fabrice Gasnier wrote: > > On 1/28/19 2:20 PM, Fabrice Gasnier wrote: > > On 1/16/19 4:11 PM, Arnd Bergmann wrote: > >> On Wed, Jan 16, 2019 at 3:10 PM Fabrice Gasnier > >> wrote: > >> > >> What I mean is that nodes that listed as 'compatible="syscon"' get > >> pr

Re: [PATCH] Bluetooth: hci_ldisc: Initialize hci_dev before open()

2019-02-18 Thread Marcel Holtmann
Hi Jeremy, > The hci_dev struct hdev is referenced in work queues and timers started > by open() in some protocols. This creates a race between the > initialization function and the work or timer which can result hdev > being dereferenced while it is still null. > > The syzbot report contains a r

Re: Userspace regression in LTS and stable kernels

2019-02-18 Thread Michal Hocko
On Fri 15-02-19 13:00:26, Sasha Levin wrote: > On Fri, Feb 15, 2019 at 04:52:00PM +0100, Michal Hocko wrote: > > On Fri 15-02-19 10:19:12, Sasha Levin wrote: > > > On Fri, Feb 15, 2019 at 10:42:05AM +0100, Michal Hocko wrote: > > > > On Fri 15-02-19 10:20:13, Greg KH wrote: > > > > > On Fri, Feb 15

Re: [RFC] Bluetooth: Retry configure request if result is L2CAP_CONF_UNKNOWN

2019-02-18 Thread Marcel Holtmann
Hi Andrey, > Due to: > > - current implementation of l2cap_config_rsp() dropping BT > connection if sender of configuration response replied with unknown > option failure (Result=0x0003/L2CAP_CONF_UNKNOWN) > > - current implementation of l2cap_build_conf_req() adding > L2CAP_CONF_RFC(0x04)

Re: [PATCH][next] Bluetooth: hci_event: Use struct_size() helper

2019-02-18 Thread Marcel Holtmann
Hi Gustavo, > Make use of the struct_size() helper instead of an open-coded version > in order to avoid any potential type mistakes, in particular in the > context in which this code is being used. > > So, change the following form: > > sizeof(*ev) + ev->num_hndl * sizeof(struct hci_comp_pkts_in

Re: [PATCH][next] Bluetooth: a2mp: Use struct_size() helper

2019-02-18 Thread Marcel Holtmann
Hi Gustavo, > One of the more common cases of allocation size calculations is finding > the size of a structure that has a zero-sized array at the end, along > with memory for some number of elements for that array. For example: > > struct foo { >int stuff; >struct boo entry[]; > }; > >

Re: [PATCH 2/2] driver core: Fix possible supplier PM-usage counter imbalance

2019-02-18 Thread Jon Hunter
On 18/02/2019 12:12, Rafael J. Wysocki wrote: > On Fri, Feb 15, 2019 at 5:44 PM Jon Hunter wrote: >> >> >> On 15/02/2019 14:37, Ulf Hansson wrote: >>> On Fri, 15 Feb 2019 at 12:00, Jon Hunter wrote: Hi Rafael, On 12/02/2019 12:08, Rafael J. Wysocki wrote: > From: Rafael

Re: [RFC] net: dsa: qca8k: implement rgmii-id mode

2019-02-18 Thread Vinod Koul
On 18-02-19, 12:54, Michal Vokáč wrote: > On 18. 02. 19 11:45, Vinod Koul wrote: > > On 15-02-19, 16:23, Andrew Lunn wrote: > > > On Fri, Feb 15, 2019 at 04:01:08PM +0100, Michal Vokáč wrote: > > > > Hi, > > > > > > > > networking on my boards [1], which are currently in linux-next, > > > > sudde

Re: [PATCH] x86: uaccess: fix regression in unsafe_get_user

2019-02-18 Thread Thomas Gleixner
On Sun, 17 Feb 2019, Al Viro wrote: > On Sun, Feb 17, 2019 at 03:41:21AM +, Arthur Gautier wrote: > Who says anything about changing the format of the file? At least > one trivial way to handle that would be this: > > diff --git a/init/initramfs.c b/init/initramfs.c > index 7cea802d00ef..edbd

Re: [PATCH 1/6] dt-bindings: net: bluetooth: add support for MediaTek MT7663U and MT7668U UART devices

2019-02-18 Thread Marcel Holtmann
Hi Rob, > Update binding document with adding support of MT7663U and MT7668U UART > devices to mediatek-bluetooth. > > Signed-off-by: Sean Wang > --- > .../bindings/net/mediatek-bluetooth.txt | 64 +++ > 1 file changed, 64 insertions(+) > > diff --git a/Documentation/device

[PATCH] x86/smpboot: Remove unused phys_id variable

2019-02-18 Thread Shaokun Zhang
The 'phys_id' local variable became unused after commit ce4b1b16502b ("x86/smpboot: Initialize secondary CPU only if master CPU will wait for it"). Remove it. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: "H. Peter Anvin" Cc: Igor Mammedov Signed-off-by: Shaokun Zhang --- arch

Re: [PATCH 2/6] Bluetooth: mediatek: trivial typo fix

2019-02-18 Thread Marcel Holtmann
Hi Sean, > add a trivial typo fix from speicfic to specific > > Fixes: 7237c4c9ec92 ("Bluetooth: mediatek: Add protocol support for MediaTek > serial devices") > Signed-off-by: Sean Wang > --- > drivers/bluetooth/btmtkuart.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) patch has been

Re: [PATCH 3/6] Bluetooth: mediatek: fix up an error path to restore bdev->tx_state

2019-02-18 Thread Marcel Holtmann
Hi Sean, > Restore bdev->tx_state with clearing bit BTMTKUART_TX_WAIT_VND_EVT > when there is an error on waiting for the corresponding event. > > Fixes: 7237c4c9ec92 ("Bluetooth: mediatek: Add protocol support for MediaTek > serial devices") > Signed-off-by: Sean Wang > --- > drivers/bluetooth

Re: [PATCH 4/6] Bluetooth: mediatek: pass a pointer to mtk_hci_wmt_sync

2019-02-18 Thread Marcel Holtmann
Hi Sean, > Pass a structure pointer to mtk_hci_wmt_sync rather than several arguments > to avoid take up additional stack area and be better to read the code. > > Signed-off-by: Sean Wang > --- > drivers/bluetooth/btmtkuart.c | 63 ++- > 1 file changed, 48 insertio

Re: [PATCH 5/6] Bluetooth: mediatek: update the common setup between MT7622 and other devices

2019-02-18 Thread Marcel Holtmann
Hi Sean, > Update the setup sequence on MT7622 to apply the same flow with MT7663U > and MT7668U USB [1] as much as possible. These additional commands are > required to parse the corresponding event to determine what current state > the Bluetooth device is on and thus it's necessary to extend > m

Re: [PATCH 0/6]Bluetooth: mediatek: add support for MediaTek MT7663U and MT7668U UART devices

2019-02-18 Thread Marcel Holtmann
Hi Sean, > This adds the support of enabling MT7668U and MT7663U UART based Bluetooth > function running on the top of btmtkuart driver. > > We are through several patches to reach the goal and also wish applied > the same flow in MediaTek btusb [1] for the transport independence. > Once [1] and

Re: [PATCH 1/4] dt-bindings: nvmem: Add STM32 factory-programmed romem

2019-02-18 Thread Fabrice Gasnier
On 1/30/19 5:38 PM, Fabrice Gasnier wrote: > Add documentation for STMicroelectronics STM32 Factory-programmed > read only memory area. Hello Rob, DT Maintainers, Gentlemen reminder for new DT bindings review. Best Regards, Fabrice > > Signed-off-by: Fabrice Gasnier > --- > .../devicetree/bin

Re: [PATCH -next] powerpc/pseries: Fix platform_no_drv_owner.cocci warnings

2019-02-18 Thread YueHaibing
On 2019/2/18 20:53, Julia Lawall wrote: > > > On Mon, 18 Feb 2019, YueHaibing wrote: > >> Remove .owner field if calls are used which set it automatically >> Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci >> >> Signed-off-by: YueHaibing >> --- >> arch/powerpc/platforms/pserie

[PATCH v2 -next] powerpc/pseries: Fix platform_no_drv_owner.cocci warnings

2019-02-18 Thread YueHaibing
Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: YueHaibing --- arch/powerpc/platforms/pseries/papr_scm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/powerpc/platforms/pseries/papr_scm.c

Re: [PATCH] trace: skip hwasan

2019-02-18 Thread Qian Cai
On 2/17/19 2:30 AM, Dmitry Vyukov wrote: > On Sun, Feb 17, 2019 at 5:34 AM Qian Cai wrote: >> >> Enabling function tracer with CONFIG_KASAN_SW_TAGS=y (hwasan) tracer >> causes the whole system frozen on ThunderX2 systems with 256 CPUs, >> because there is a burst of too much pointer access, and

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