Re: [PATCH v2] xhci: workaround CSS timeout on AMD SNPS 3.0 xHC

2018-11-23 Thread Sandeep Singh
Hi Kai-heng, On 11/23/2018 2:59 PM, Kai Heng Feng wrote: > Hi Sandeep, > >> On Nov 22, 2018, at 12:23 PM, Singh, Sandeep wrote: >> >> From: Sandeep Singh >> >> Occasionally AMD SNPS 3.0 xHC does not respond to >> CSS when set, also it does not flag anything on SRE and HCE >> to point the intern

Re: [PATCH V3 4/5] arm64/mm: Enable HugeTLB migration

2018-11-23 Thread Catalin Marinas
On Tue, Oct 23, 2018 at 06:32:00PM +0530, Anshuman Khandual wrote: > Let arm64 subscribe to generic HugeTLB page migration framework. Right now > this only works on the following PMD and PUD level HugeTLB page sizes with > various kernel base page size combinations. > >CONT PTEPMDC

Re: [PATCH 4/6] clk: mvebu: ap806: Fix clock name for the cluster

2018-11-23 Thread Gregory CLEMENT
Hi Stephen, On mer., oct. 17 2018, Stephen Boyd wrote: > Quoting Gregory CLEMENT (2018-09-22 11:17:07) >> Actually, the clocks exposed for the cluster are not the CPU clocks, but >> the PLL clock used as entry clock for the CPU clocks. The CPU clock will >> be managed by a driver submitting in

Re: [PATCH V3 5/5] arm64/mm: Enable HugeTLB migration for contiguous bit HugeTLB pages

2018-11-23 Thread Catalin Marinas
On Tue, Oct 23, 2018 at 06:32:01PM +0530, Anshuman Khandual wrote: > Let arm64 subscribe to the previously added framework in which architecture > can inform whether a given huge page size is supported for migration. This > just overrides the default function arch_hugetlb_migration_supported() and

Re: [PATCH 02/11] mfd: da9055-core: make it explicitly non-modular

2018-11-23 Thread Paul Gortmaker
[Re: [PATCH 02/11] mfd: da9055-core: make it explicitly non-modular] On 22/11/2018 (Thu 22:14) Paul Gortmaker wrote: > [Re: [PATCH 02/11] mfd: da9055-core: make it explicitly non-modular] On > 23/11/2018 (Fri 10:21) kbuild test robot wrote: > [...] > > > > All errors (new ones prefixed by >>

[PATCH] thermal: tegra: soctherm: Change to use DEFINE_SHOW_ATTRIBUTE macro

2018-11-23 Thread Yangtao Li
Use macro to simplify the code. Signed-off-by: Yangtao Li --- drivers/thermal/tegra/soctherm.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/thermal/tegra/soctherm.c b/drivers/thermal/tegra/soctherm.c index ed28110a3535..45b41b885f49 100644 --- a/driver

[PATCH] thermal/intel_powerclamp: Change to use DEFINE_SHOW_ATTRIBUTE macro

2018-11-23 Thread Yangtao Li
Use macro to simplify the code. Signed-off-by: Yangtao Li --- drivers/thermal/intel_powerclamp.c | 14 +- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/drivers/thermal/intel_powerclamp.c b/drivers/thermal/intel_powerclamp.c index cde891c54cde..7571f7c2e7c9 100644 ---

[PATCH] clk: tegra: Change to use DEFINE_SHOW_ATTRIBUTE macro

2018-11-23 Thread Yangtao Li
Use macro to simplify the code. Signed-off-by: Yangtao Li --- drivers/clk/tegra/clk-dfll.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/clk/tegra/clk-dfll.c b/drivers/clk/tegra/clk-dfll.c index ebb0e1b6bf01..609e363dabf8 100644 --- a/drivers/clk/tegra/

Re: [PATCH 6/6] arm64: dts: marvell: Add cpu clock node on Armada 7K/8K

2018-11-23 Thread Gregory CLEMENT
Hi Stephen, On ven., oct. 12 2018, Stephen Boyd wrote: > +Rob > > Quoting Gregory CLEMENT (2018-09-22 11:17:09) >> diff --git a/arch/arm64/boot/dts/marvell/armada-ap806.dtsi >> b/arch/arm64/boot/dts/marvell/armada-ap806.dtsi >> index 4a65e4e830aa..27c840e91abe 100644 >> --- a/arch/arm64/boot/

Re: [PATCH V6 2/2] can: flexcan: add self wakeup support

2018-11-23 Thread Marc Kleine-Budde
On 11/23/18 9:35 AM, Joakim Zhang wrote: > From: Aisheng Dong > > If wakeup is enabled, enter stop mode, else enter disabled mode. Self wake > can only work on stop mode. > > Starting from IMX6, the flexcan stop mode control bits is SoC specific, > move it out of IP driver and parse it from devi

[PATCH] clk: nomadik: Change to use DEFINE_SHOW_ATTRIBUTE macro

2018-11-23 Thread Yangtao Li
Use macro to simplify the code. Signed-off-by: Yangtao Li --- drivers/clk/clk-nomadik.c | 14 ++ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/drivers/clk/clk-nomadik.c b/drivers/clk/clk-nomadik.c index 84a24875c629..e331634d34df 100644 --- a/drivers/clk/clk-nomadik.

Re: [RFC PATCH 2/3] mm, thp, proc: report THP eligibility for each vma

2018-11-23 Thread Vlastimil Babka
On 11/20/18 11:35 AM, Michal Hocko wrote: > From: Michal Hocko > > Userspace falls short when trying to find out whether a specific memory > range is eligible for THP. There are usecases that would like to know > that > http://lkml.kernel.org/r/alpine.deb.2.21.1809251248450.50...@chino.kir.corp.g

Re: [PATCH v2 1/4] dt-bindings: pinctrl: k3: Introduce pinmux definitions

2018-11-23 Thread Nishanth Menon
On 12:21-20181123, Tero Kristo wrote: > > > > Is there a branch with these patches that I can use as base for my next > > > > set of DT patches? > > > > > > Don't have a branch for these atm, but I can create one if you need it. > > > >

Re: [PATCH V3 0/5] arm64/mm: Enable HugeTLB migration

2018-11-23 Thread Anshuman Khandual
On 10/23/2018 06:31 PM, Anshuman Khandual wrote: > This patch series enables HugeTLB migration support for all supported > huge page sizes at all levels including contiguous bit implementation. > Following HugeTLB migration support matrix has been enabled with this > patch series. All permutatio

Re: [RCF PATCH,v2,2/2] pwm: imx: Configure output to GPIO in disabled state

2018-11-23 Thread Vokáč Michal
On 22.11.2018 20:03, Uwe Kleine-König wrote: > On Thu, Nov 22, 2018 at 04:46:39PM +, Vokáč Michal wrote: >> On 22.11.2018 17:23, Uwe Kleine-König wrote: >>> On Thu, Nov 22, 2018 at 03:42:14PM +, Vokáč Michal wrote: On 16.11.2018 09:25, Uwe Kleine-König wrote: > On Fri, Nov 16, 2018

Re: [PATCH 10/17] mailbox: bcm2835: Switch to SPDX identifier

2018-11-23 Thread Stefan Wahren
Hi Jassi, Am 11.11.18 um 12:25 schrieb Lubomir Rintel: > On Sat, 2018-11-10 at 16:59 +0100, Stefan Wahren wrote: >> Adopt the SPDX license identifier headers to ease license compliance >> management. >> >> Cc: Lubomir Rintel >> Signed-off-by: Stefan Wahren >> --- >> drivers/mailbox/bcm2835-mail

Re: [PATCH v2 1/4] dt-bindings: clock: meson8b: export the CPU post dividers

2018-11-23 Thread Neil Armstrong
On 22/11/2018 22:40, Martin Blumenstingl wrote: > There are four CPU clock post dividers: > - ABP > - PERIPH (used as input for the ARM global timer and ARM TWD timer) > - AXI > - L2 DRAM > > Export these so we can use them in .dts files. > > Signed-off-by: Martin Blumenstingl > Acked-by: Jerome

Re: [RFC PATCH 2/3] mm, thp, proc: report THP eligibility for each vma

2018-11-23 Thread Michal Hocko
On Fri 23-11-18 16:07:06, Vlastimil Babka wrote: > On 11/20/18 11:35 AM, Michal Hocko wrote: > > From: Michal Hocko > > > > Userspace falls short when trying to find out whether a specific memory > > range is eligible for THP. There are usecases that would like to know > > that > > http://lkml.ke

Re: Official Linux system wrapper library?

2018-11-23 Thread Szabolcs Nagy
On 23/11/18 14:11, David Newall wrote: > On 24/11/18 12:04 am, Florian Weimer wrote: >> But socketcall does not exist on all architectures.  Neither does >> getpid, it's called getxpid on some architectures. >> ... >> I think it would be a poor approach to expose application developers to >> these

Re: [PATCH 09/17] irqchip: bcm283x: Switch to SPDX identifier

2018-11-23 Thread Stefan Wahren
Hi Jason, hi Marc, Am 10.11.18 um 16:54 schrieb Stefan Wahren: > Adopt the SPDX license identifier headers to ease license compliance > management. > > Cc: Simon Arlott > Cc: Eric Anholt > Signed-off-by: Stefan Wahren > --- > drivers/irqchip/irq-bcm2835.c | 11 +-- > drivers/irqchip/ir

Re: dw_mmc: IDMAC Invalidate cache after read

2018-11-23 Thread Robin Murphy
Hi Jan, [repeating some of the discussion from your other thread for the benefit of the MMC audience] On 21/11/2018 07:42, JABLONSKY Jan wrote: CPU may not see most up-to-date and correct copy of DMA buffer, when internal DMA controller is in use. Problem appears on The Altera SoC FPGA (uses

Re: [RFC PATCH 2/3] mm, thp, proc: report THP eligibility for each vma

2018-11-23 Thread Vlastimil Babka
On 11/23/18 4:21 PM, Michal Hocko wrote: > On Fri 23-11-18 16:07:06, Vlastimil Babka wrote: >> On 11/20/18 11:35 AM, Michal Hocko wrote: >>> From: Michal Hocko >>> >>> Userspace falls short when trying to find out whether a specific memory >>> range is eligible for THP. There are usecases that wou

[PATCH] locking/atomics: build atomic headers as required

2018-11-23 Thread Mark Rutland
Andrew and Ingo report that the check-atomics.sh script is simply too slow to run for every kernel build, and it's impractical to make it faster without rewriting it in something other than shell. Rather than committing the generated headers, let's regenerate these as-required for a pristine tree.

Re: [PATCH 09/17] irqchip: bcm283x: Switch to SPDX identifier

2018-11-23 Thread Marc Zyngier
On 23/11/2018 15:23, Stefan Wahren wrote: > Hi Jason, > hi Marc, > > Am 10.11.18 um 16:54 schrieb Stefan Wahren: >> Adopt the SPDX license identifier headers to ease license compliance >> management. >> >> Cc: Simon Arlott >> Cc: Eric Anholt >> Signed-off-by: Stefan Wahren >> --- >> drivers/ir

Re: [PATCH 4.19 00/42] 4.19.4-stable review

2018-11-23 Thread Thomas Voegtle
On Fri, 23 Nov 2018, Greg Kroah-Hartman wrote: On Thu, Nov 22, 2018 at 09:53:35PM +0100, Thomas Voegtle wrote: Doesn't compile for me on OpenSuSE 15.0 (gcc 7.3.1): CALLscripts/checksyscalls.sh DESCEND objtool CHK include/generated/compile.h CC [M] drivers/gpu/drm/i915/i915_g

Re: [PATCH net-next 3/3] vhost: don't touch avail ring if in_order is negotiated

2018-11-23 Thread Michael S. Tsirkin
On Fri, Nov 23, 2018 at 11:00:16AM +0800, Jason Wang wrote: > Device use descriptors table in order, so there's no need to read > index from available ring. This eliminate the cache contention on > avail ring completely. Well this isn't what the in order feature says in the spec. It forces the us

Re: [PATCH] dmaengine: ti: omap-dma: Configure LCH_TYPE for OMAP1

2018-11-23 Thread Russell King - ARM Linux
On Fri, Nov 23, 2018 at 02:35:04PM +0200, Peter Ujfalusi wrote: > > Also we can't deal with the omap_set_dma_dest_burst_mode() setting - > > DMAengine always uses a 64 byte burst, but udc wants a smaller burst > > setting. Does this matter? > > The tusb also fiddled with the burst before the conv

RE: [PATCH 4.19 00/42] 4.19.4-stable review

2018-11-23 Thread David Laight
From: Thomas Voegtle > Sent: 23 November 2018 15:41 > On Fri, 23 Nov 2018, Greg Kroah-Hartman wrote: > > > On Thu, Nov 22, 2018 at 09:53:35PM +0100, Thomas Voegtle wrote: > >> > >> Doesn't compile for me on OpenSuSE 15.0 (gcc 7.3.1): > >> > >> CALLscripts/checksyscalls.sh > >> DESCEND obj

[PATCH 2/2] serial: mvebu-uart: initialize over sampling stack register

2018-11-23 Thread Miquel Raynal
The baudrate derivation relies on the state of the programmable over sampling stack (OSAMP register) being empty, while never initializing it. Set all the fields of this register to 0 (except reserved areas) to ensure a x16 divisor, as assumed by the driver. The suspend/resume callbacks are untou

[PATCH 1/2] serial: mvebu-uart: clarify the baud rate derivation

2018-11-23 Thread Miquel Raynal
The current comment in ->set_baud_rate() is rather incomplete as it fails to describe what are the actual stages for the baudrate derivation. Replace this comment with something more explicit and close to the functional specification. Also adapt the variable names to it. Signed-off-by: Miquel Rayn

Re: [PATCH] locking/atomics: build atomic headers as required

2018-11-23 Thread Mark Rutland
On Fri, Nov 23, 2018 at 03:33:21PM +, Mark Rutland wrote: > Andrew and Ingo report that the check-atomics.sh script is simply too > slow to run for every kernel build, and it's impractical to make it > faster without rewriting it in something other than shell. > > Rather than committing the ge

Re: [RFC PATCH 3/3] mm, proc: report PR_SET_THP_DISABLE in proc

2018-11-23 Thread Vlastimil Babka
On 11/20/18 11:35 AM, Michal Hocko wrote: > From: Michal Hocko > > David Rientjes has reported that 1860033237d4 ("mm: make > PR_SET_THP_DISABLE immediately active") has changed the way how > we report THPable VMAs to the userspace. Their monitoring tool is > triggering false alarms on PR_SET_THP

Re: [PATCH v2] kmemleak: Turn kmemleak_lock to raw spinlock on RT

2018-11-23 Thread Steven Rostedt
On Fri, 23 Nov 2018 11:31:31 + Catalin Marinas wrote: > With qwrlocks, the readers will normally block if there is a pending > writer (to avoid starving the writer), unless in_interrupt() when the > readers are allowed to starve a pending writer. > > TLA+/PlusCal model here: ;) > > https:/

Re: [PATCH 2/3] ntb_hw_switchtec: Added support of >=4G memory windows

2018-11-23 Thread kbuild test robot
Hi Paul, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v4.20-rc3 next-20181123] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci

Re: [PATCH 3/3] lockdep: Use line-buffered printk() for lockdep messages.

2018-11-23 Thread Steven Rostedt
On Fri, 23 Nov 2018 13:46:47 +0100 Petr Mladek wrote: > Steven told me on Plumbers conference that even few initial > characters saved him a day few times. Yes, and that has happened more than once. I would reboot and retest code that is crashing, and due to a triple fault, the machine would reb

Re: [PATCHv3 1/3] x86/mm: Move LDT remap out of KASLR region on 5-level paging

2018-11-23 Thread Kirill A. Shutemov
On Sat, Nov 10, 2018 at 08:29:05PM +0800, Baoquan He wrote: > > diff --git a/Documentation/x86/x86_64/mm.txt > > b/Documentation/x86/x86_64/mm.txt > > index 702898633b00..75bff98928a8 100644 > > --- a/Documentation/x86/x86_64/mm.txt > > +++ b/Documentation/x86/x86_64/mm.txt > > @@ -34,23 +34,24 @@

Re: [PATCH 1/2] irq/irq_sim: provide irq_sim_fire_edge()

2018-11-23 Thread Bartosz Golaszewski
śr., 21 lis 2018 o 20:15 Uwe Kleine-König napisał(a): > > Hello Bartosz, > > On Wed, Nov 21, 2018 at 05:34:32PM +0100, Bartosz Golaszewski wrote: > > wt., 20 lis 2018 o 18:17 Uwe Kleine-König > > napisał(a): > > > > > > On Tue, Nov 20, 2018 at 02:40:31PM +0100, Bartosz Golaszewski wrote: > > > >

Re: [PATCH] perf symbols: Cannot disassemble some routines when debuginfo present

2018-11-23 Thread Jiri Olsa
On Fri, Nov 23, 2018 at 02:25:26AM -0800, Eric Saint-Etienne wrote: > When the kernel is compiled with -ffunction-sections and perf uses the > kernel debuginfo, perf fails the very first symbol lookup and ends up with > an hex offset inside [kernel.vmlinux]. It's due to how perf loads the maps. >

Re: [PATCH 2/4] base/drivers/arch_topology: Replace mutex with READ_ONCE / WRITE_ONCE

2018-11-23 Thread Daniel Lezcano
On 23/11/2018 14:58, Sudeep Holla wrote: > On Mon, Oct 29, 2018 at 05:23:18PM +0100, Daniel Lezcano wrote: >> The mutex protects a per_cpu variable access. The potential race can >> happen only when the cpufreq governor module is loaded and at the same >> time the cpu capacity is changed in the sys

Re: [PATCH v4 2/4] namei: O_BENEATH-style path resolution flags

2018-11-23 Thread Andy Lutomirski
> On Nov 23, 2018, at 5:10 AM, Jürg Billeter wrote: > > Hi Aleksa, > >> On Tue, 2018-11-13 at 01:26 +1100, Aleksa Sarai wrote: >> * O_BENEATH: Disallow "escapes" from the starting point of the >> filesystem tree during resolution (you must stay "beneath" the >> starting point at all times). Curr

Re: [PATCH 2/3] dt-bindings: mfd: atmel-usart: add DMA bindings for SPI mode

2018-11-23 Thread Radu Nicolae Pirea
On Wed, 2018-11-21 at 10:41 -0600, Rob Herring wrote: > On Wed, Nov 21, 2018 at 5:29 AM Radu Pirea > wrote: > > The bindings for DMA are now common for both drivers of the USART > > IP. > > > > The node given as an example for USART in SPI mode has been updated > > in > > order to include DMA bin

Re: [PATCH] perf map: remove extra indirection from map__find()

2018-11-23 Thread Jiri Olsa
On Fri, Nov 23, 2018 at 02:42:39AM -0800, Eric Saint-Etienne wrote: > A double pointer is used in map__find() where a single pointer is enough > because the function doesn't affect the rbtree and the rbtree is locked. > > Signed-off-by: Eric Saint-Etienne Acked-by: Jiri Olsa thanks, jirka > -

Re: [PATCH] dmaengine: ti: omap-dma: Configure LCH_TYPE for OMAP1

2018-11-23 Thread Russell King - ARM Linux
Hi Peter, Here's the patch, which should now support IN as well as OUT. Completely untested, as mentioned before. drivers/usb/gadget/udc/omap_udc.c | 286 ++ drivers/usb/gadget/udc/omap_udc.h | 3 +- 2 files changed, 135 insertions(+), 154 deletions(-) diff

[PATCH] pinctrl: nuvoton: check for devm_kasprintf() failure

2018-11-23 Thread Nicholas Mc Guire
ARCH_NPCM7XX=y (implies PINCTRL_NPCM7XX=y) (sparse reports a number of "obsolete array initializer" warnings) Patch is against 4.20-rc3 (localversion-next is next-20181123) drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/

Re: [PATCH 3/3] spi: at91-usart: add DMA support

2018-11-23 Thread Radu Nicolae Pirea
On Wed, 2018-11-21 at 17:38 +, Robin Murphy wrote: > On 21/11/2018 11:27, Radu Pirea wrote: > > This patch adds support for DMA. Transfers are done with dma only > > if > > they are longer than 16 bytes in order to achieve a better > > performance. > > DMA setup introduces a little overhead and

Re: [PATCH 2/4] base/drivers/arch_topology: Replace mutex with READ_ONCE / WRITE_ONCE

2018-11-23 Thread Sudeep Holla
On Fri, Nov 23, 2018 at 05:04:18PM +0100, Daniel Lezcano wrote: > On 23/11/2018 14:58, Sudeep Holla wrote: > > On Mon, Oct 29, 2018 at 05:23:18PM +0100, Daniel Lezcano wrote: > >> The mutex protects a per_cpu variable access. The potential race can > >> happen only when the cpufreq governor module

Re: [PATCH 01/17] dt-bindings: remoteproc: Add TI PRUSS bindings

2018-11-23 Thread Tony Lindgren
Hi, * Roger Quadros [181122 11:39]: > From: Suman Anna > +Example: > + > +1. /* AM33xx PRU-ICSS */ > + pruss_soc_bus: pruss_soc_bus@4a326004 { > + compatible = "ti,am3356-pruss-soc-bus"; > + ti,hwmods = "pruss"; > + reg = <0x4a326004 0x4>; > +

[PATCH] xen/x86: add diagnostic printout to xen_mc_flush() in case of error

2018-11-23 Thread Juergen Gross
Failure of an element of a Xen multicall is signalled via a WARN() only unless the kernel is compiled with MC_DEBUG. It is impossible to know which element failed and why it did so. Change that by printing the related information even without MC_DEBUG, even if maybe in some limited form (e.g. with

Re: [PATCH 05/17] soc: ti: pruss: Configure SYSCFG properly during probe/remove

2018-11-23 Thread Tony Lindgren
* Roger Quadros [181122 11:39]: > +/* firmware must be idle when calling this function */ > +static void pruss_disable_module(struct device *dev) > +{ > + struct pruss_soc_bus *psoc_bus = dev_get_drvdata(dev); > + > + /* configure Smart Standby */ > + pruss_soc_bus_rmw(psoc_bus->syscfg

Re: [RFC 00/60] Coscheduling for Linux

2018-11-23 Thread Frederic Weisbecker
On Thu, Sep 27, 2018 at 11:36:34AM -0700, Subhra Mazumdar wrote: > > > On 09/26/2018 02:58 AM, Jan H. Schönherr wrote: > >On 09/17/2018 02:25 PM, Peter Zijlstra wrote: > >>On Fri, Sep 14, 2018 at 06:25:44PM +0200, Jan H. Schönherr wrote: > >> > >>>Assuming, there is a cgroup-less solution that ca

[PATCH] ext4: clean up indentation issues, remove extraneous tabs

2018-11-23 Thread Colin King
From: Colin Ian King There are several lines that are indented too far, clean these up by removing the tabs. Signed-off-by: Colin Ian King --- fs/ext4/migrate.c | 12 ++-- fs/ext4/super.c | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/fs/ext4/migrate.c b/fs/e

Re: [PATCH 09/17] irqchip: bcm283x: Switch to SPDX identifier

2018-11-23 Thread Stefan Wahren
Hi Marc, > Marc Zyngier hat am 23. November 2018 um 16:34 > geschrieben: > > > On 23/11/2018 15:23, Stefan Wahren wrote: > > Hi Jason, > > hi Marc, > > > > Am 10.11.18 um 16:54 schrieb Stefan Wahren: > >> Adopt the SPDX license identifier headers to ease license compliance > >> management. >

Re: [PATCH 07/17] soc: ti: pruss: enable OCP master ports in SYSCFG always

2018-11-23 Thread Tony Lindgren
* Roger Quadros [181122 11:39]: > @@ -160,6 +159,11 @@ static int pruss_enable_module(struct device *dev) > pruss_soc_bus_rmw(psoc_bus->syscfg, SYSCFG_STANDBY_MODE_MASK, > SYSCFG_STANDBY_MODE_SMART); > > + /* enable OCP master ports/disable MStandby */ > + r

Re: [PATCH] x86: only use ERMS for user copies for larger sizes

2018-11-23 Thread Linus Torvalds
On Fri, Nov 23, 2018 at 2:12 AM David Laight wrote: > > I've just patched my driver and redone the test on a 4.13 (ubuntu) kernel. > Calling memcpy_fromio(kernel_buffer, PCIe_address, length) > generates a lot of single byte TLP. I just tested it too - it turns out that the __inline_memcpy() code

Re: [PATCH 08/17] soc: ti: pruss: Add a PRUSS irqchip driver for PRUSS interrupts

2018-11-23 Thread Tony Lindgren
* Roger Quadros [181122 11:39]: > The PRUSS INTC module is reference counted during the interrupt > setup phase through the irqchip's irq_request_resources() and > irq_release_resources() ops. This restricts the module from being > removed as long as there are active interrupt users. So are there

Re: [PATCH 14/17] ARM: OMAP2+: use pdata quirks for PRUSS reset lines on AM335x

2018-11-23 Thread Tony Lindgren
* Roger Quadros [181122 11:40]: > From: Suman Anna > > The omap_device API is needed to perform the reset management for > any IP instances with PRCM RSTCTRL registers (hard reset lines). > This API is limited to the mach-omap2 layer, and cannot be exposed > to drivers layer directly. So use pla

Re: [PATCH] x86: only use ERMS for user copies for larger sizes

2018-11-23 Thread Josh Poimboeuf
On Thu, Nov 22, 2018 at 12:13:41PM +0100, Ingo Molnar wrote: > Note to self: watch out for patches that change altinstructions and don't > make premature vmlinux size impact assumptions. :-) I noticed a similar problem with ORC data. As it turns out, size's "text" calculation also includes read-

[PATCH] jbd2: clean up indentation issue, replace spaces with tab

2018-11-23 Thread Colin King
From: Colin Ian King There is a statement that is indented with spaces, replace it with a tab. Signed-off-by: Colin Ian King --- fs/jbd2/transaction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/jbd2/transaction.c b/fs/jbd2/transaction.c index c0b66a7a795b..4af8ff17a

[PATCH v2] module: make it clearer when we're handling kallsyms symbols vs exported symbols

2018-11-23 Thread Jessica Yu
The module loader internally works with both exported symbols represented as struct kernel_symbol, as well as Elf symbols from a module's symbol table. It's hard to distinguish sometimes which type of symbol we're handling given that some helper function names are not consistent or helpful. Take ge

Re: omap5 fixing palmas IRQ_TYPE_NONE warning leads to gpadc timeouts

2018-11-23 Thread Tony Lindgren
* Jon Hunter [181120 11:14]: > On 19/11/2018 17:14, Tony Lindgren wrote: > > Well so commit 7e9d474954f4 ("ARM: tegra: Correct polarity for > > Tegra114 PMIC interrupt") states that tegra114 inverts the > > polarity of the PMIC interrupt. So adding Jon and Thierry to Cc. > > Yes Tegra can invert

Re: [PATCH v4 2/4] namei: O_BENEATH-style path resolution flags

2018-11-23 Thread Aleksa Sarai
On 2018-11-23, Andy Lutomirski wrote: > > On Nov 23, 2018, at 5:10 AM, Jürg Billeter wrote: > > > > Hi Aleksa, > > > >> On Tue, 2018-11-13 at 01:26 +1100, Aleksa Sarai wrote: > >> * O_BENEATH: Disallow "escapes" from the starting point of the > >> filesystem tree during resolution (you must stay

Re: Task group cleanups and optimizations (was: Re: [RFC 00/60] Coscheduling for Linux)

2018-11-23 Thread Frederic Weisbecker
On Tue, Sep 18, 2018 at 03:22:13PM +0200, Jan H. Schönherr wrote: > On 09/17/2018 11:48 AM, Peter Zijlstra wrote: > > Right, so the whole bandwidth thing becomes a pain; the simplest > > solution is to detect the throttle at task-pick time, dequeue and try > > again. But that is indeed quite horrib

Re: [PATCH v4 2/4] namei: O_BENEATH-style path resolution flags

2018-11-23 Thread Aleksa Sarai
On 2018-11-24, Aleksa Sarai wrote: > > >> On Tue, 2018-11-13 at 01:26 +1100, Aleksa Sarai wrote: > > >> * O_BENEATH: Disallow "escapes" from the starting point of the > > >> filesystem tree during resolution (you must stay "beneath" the > > >> starting point at all times). Currently this is done

[PATCH] ufs: clean up indentation issues, replace spaces with tabs

2018-11-23 Thread Colin King
From: Colin Ian King There is a hunk of code where spaces are used for identations, and it off by one in an editor. Clean this up by replacing them with tabs. Also remove one blank line. Signed-off-by: Colin Ian King --- fs/ufs/inode.c | 87 +- 1

Re: [PATCH 2/4] base/drivers/arch_topology: Replace mutex with READ_ONCE / WRITE_ONCE

2018-11-23 Thread Daniel Lezcano
On 23/11/2018 17:20, Sudeep Holla wrote: > On Fri, Nov 23, 2018 at 05:04:18PM +0100, Daniel Lezcano wrote: >> On 23/11/2018 14:58, Sudeep Holla wrote: >>> On Mon, Oct 29, 2018 at 05:23:18PM +0100, Daniel Lezcano wrote: The mutex protects a per_cpu variable access. The potential race can h

[PATCH] irqchhip: Convert to using %pOFn instead of device_node.name

2018-11-23 Thread Yangtao Li
In preparation to remove the node name pointer from struct device_node, convert printf users to use the %pOFn format specifier. Signed-off-by: Yangtao Li --- drivers/irqchip/irq-mscc-ocelot.c | 6 +++--- drivers/irqchip/irq-stm32-exti.c | 6 +++--- drivers/irqchip/irq-tango.c | 10 +

Re: [PATCH v4 2/4] namei: O_BENEATH-style path resolution flags

2018-11-23 Thread Aleksa Sarai
On 2018-11-23, Jürg Billeter wrote: > On Tue, 2018-11-13 at 01:26 +1100, Aleksa Sarai wrote: > > * O_BENEATH: Disallow "escapes" from the starting point of the > > filesystem tree during resolution (you must stay "beneath" the > > starting point at all times). Currently this is done by disallo

[PATCH] xfs: clean up indentation issues, remove an unwanted space

2018-11-23 Thread Colin King
From: Colin Ian King There is a statement that has an unwanted space in the indentation. Remove it. Signed-off-by: Colin Ian King --- fs/xfs/xfs_inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c index 05db9540e459..f21756751540

[PATCH] KVM: VMX: re-add ple_gap module parameter

2018-11-23 Thread Luiz Capitulino
Apparently, the ple_gap parameter was accidentally removed by commit c8e88717cfc6b36bedea22368d97667446318291. Add it back. Signed-off-by: Luiz Capitulino --- arch/x86/kvm/vmx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 4555077d69ce..be6f

Re: [PATCH v4 1/4] ARM: OMAP1: ams-delta: Provide GPIO lookup table for NAND data port

2018-11-23 Thread Tony Lindgren
* Janusz Krzysztofik [181121 11:06]: > Data port used by Amstrad Delta NAND driver is actually an OMAP MPUIO > device, already under control of gpio-omap driver. The NAND driver > gets access to the port by ioremapping it and performs read/write > operations. That is done without any proteciton

Re: Subject: [PATCH v4 0/4] mtd: rawnand: ams-delta: Use GPIO API for data I/O

2018-11-23 Thread Tony Lindgren
* Boris Brezillon [181121 14:56]: > On Wed, 21 Nov 2018 12:08:02 +0100 > Janusz Krzysztofik wrote: > > > Finalize implementation of the idea suggested by Artem Bityutskiy and > > Tony Lindgren, described in commit b027274d2e3a ("mtd: ams-delta: fix > > request_mem_region() failure"). Use pure GP

Re: [RFC PATCH v4 1/5] glibc: Perform rseq(2) registration at nptl init and thread creation

2018-11-23 Thread Mathieu Desnoyers
- On Nov 23, 2018, at 9:28 AM, Rich Felker dal...@libc.org wrote: [...] > > Absolutely. As long as it's in libc, implicit destruction will happen. > Actually I think the glibc code shound unconditionally unregister the > rseq address at exit (after blocking signals, so no application code > ca

Re: [PATCH v1 3/3] arm64: dts: mt7622: Drop the general purpose timer node

2018-11-23 Thread Matthias Brugger
On 12/11/2018 02:28, Ryder Lee wrote: > The crash http://termbin.com/zitb is caused by the timer register > into system in early pahse during kernel boot, but the clock > sources didn't get ready at that time. > > A better way is to switch to use CLK_OF_DECLARE() in driver for things > that nee

Re: [PATCH v3 2/2] proc: add /proc//arch_state

2018-11-23 Thread Dave Martin
On Thu, Nov 22, 2018 at 09:40:24AM +0800, Li, Aubrey wrote: > On 2018/11/21 17:53, Peter Zijlstra wrote: > > On Wed, Nov 21, 2018 at 09:19:36AM +0100, Peter Zijlstra wrote: > >> On Wed, Nov 21, 2018 at 09:39:00AM +0800, Li, Aubrey wrote: > Also; you were going to shop around with the other arc

Re: [for-next][PATCH 08/18] parisc: function_graph: Simplify with function_graph_entry()

2018-11-23 Thread Steven Rostedt
On Fri, 23 Nov 2018 10:06:05 +0100 Helge Deller wrote: > > How should we proceed with this patch? > > My suggestion, although I didn't looked too much on it: > Apply it to v4.9 and higher only. > I think I started fixing trace functionality on parisc around 4.6, > which is probably why applyi

Re: [for-next][PATCH 11/18] s390/function_graph: Simplify with function_graph_entry()

2018-11-23 Thread Steven Rostedt
On Thu, 22 Nov 2018 07:43:19 +0100 Martin Schwidefsky wrote: > A quick test showed that the patch series works fine on s390. > Acked-by: Martin Schwidefsky Thanks for testing, and the ack! -- Steve

Re: [PATCH 0/7] ACPI HMAT memory sysfs representation

2018-11-23 Thread Dan Williams
On Thu, Nov 22, 2018 at 11:11 PM Anshuman Khandual wrote: > > > > On 11/22/2018 11:38 PM, Dan Williams wrote: > > On Thu, Nov 22, 2018 at 3:52 AM Anshuman Khandual > > wrote: > >> > >> > >> > >> On 11/19/2018 11:07 PM, Dave Hansen wrote: > >>> On 11/18/18 9:44 PM, Anshuman Khandual wrote: >

Re: [PATCH] exec: separate MM_ANONPAGES and RLIMIT_STACK accounting

2018-11-23 Thread Guenter Roeck
rocess [5.428507] Run /bin/init as init process [5.430478] Run /bin/sh as init process [5.433179] Starting init: /bin/sh exists but couldn't execute it (error -7) Guenter --- an385: # bad: [8c9733fd9806c71e7f2313a280f98cb3051f93df] Add linux-next specific files for 20181123 #

Re: [PATCH 2/2] page cache: Store only head pages in i_pages

2018-11-23 Thread Matthew Wilcox
On Fri, Nov 23, 2018 at 01:56:44PM +0300, Kirill A. Shutemov wrote: > On Thu, Nov 22, 2018 at 01:32:24PM -0800, Matthew Wilcox wrote: > > Transparent Huge Pages are currently stored in i_pages as pointers to > > consecutive subpages. This patch changes that to storing consecutive > > pointers to t

Re: [PATCH 1/2] module: Overwrite st_size instead of st_info

2018-11-23 Thread Dave Martin
On Thu, Nov 22, 2018 at 05:49:23PM +, Russell King - ARM Linux wrote: > On Thu, Nov 22, 2018 at 06:40:45PM +0100, Ard Biesheuvel wrote: > > On Thu, 22 Nov 2018 at 17:29, Jessica Yu wrote: > > > > > > +++ Vincent Whitchurch [22/11/18 13:24 +0100]: > > > >On Thu, Nov 22, 2018 at 12:01:54PM +

[PATCH] arm64/bpf: use movn/movk/movk sequence to generate kernel addresses

2018-11-23 Thread Ard Biesheuvel
On arm64, all executable code is guaranteed to reside in the vmalloc space (or the module space), and so jump targets will only use 48 bits at most, and the remaining bits are guaranteed to be 0x1. This means we can generate an immediate jump address using a sequence of one MOVN (move wide negated

Re: [RFC PATCH v4 1/5] glibc: Perform rseq(2) registration at nptl init and thread creation

2018-11-23 Thread Rich Felker
On Fri, Nov 23, 2018 at 12:05:20PM -0500, Mathieu Desnoyers wrote: > - On Nov 23, 2018, at 9:28 AM, Rich Felker dal...@libc.org wrote: > [...] > > > > Absolutely. As long as it's in libc, implicit destruction will happen. > > Actually I think the glibc code shound unconditionally unregister th

My Greetings

2018-11-23 Thread Mrs. Marianne Jeanne
Beloved, I am writing this mail to you with heavy tears in my eyes and great sorrow in my heart. As I informed you earlier, I am (Mrs.)Marianne Jeanne, suffering from long time Cancer. From all indications my condition is really deteriorating and it's quite obvious that I won't live more than

Re: [PATCH 2/2] page cache: Store only head pages in i_pages

2018-11-23 Thread Kirill A. Shutemov
On Fri, Nov 23, 2018 at 09:19:00AM -0800, Matthew Wilcox wrote: > On Fri, Nov 23, 2018 at 01:56:44PM +0300, Kirill A. Shutemov wrote: > > On Thu, Nov 22, 2018 at 01:32:24PM -0800, Matthew Wilcox wrote: > > > Transparent Huge Pages are currently stored in i_pages as pointers to > > > consecutive sub

Re: [RFC][PATCH 02/14] fgraph: Have set_graph_notrace only affect function_graph tracer

2018-11-23 Thread Steven Rostedt
On Fri, 23 Nov 2018 09:01:18 +0900 Namhyung Kim wrote: > Acked-by: Namhyung Kim Thanks Namhyung! -- Steve

[PATCH] clk: davinci: check for devm_kasprintf() failure

2018-11-23 Thread Nicholas Mc Guire
ere. Signed-off-by: Nicholas Mc Guire Fixes: c6ed4d734bc7 ("clk: davinci: New driver for davinci PSC clocks") --- Problem located with experimental coccinelle script Patch was compile tested with: davinci_all_defconfig Patch is against 4.20-rc3 (localversion-next is next-20181123)

Re: [RFC PATCH v4 1/5] glibc: Perform rseq(2) registration at nptl init and thread creation

2018-11-23 Thread Florian Weimer
* Rich Felker: > On Fri, Nov 23, 2018 at 12:05:20PM -0500, Mathieu Desnoyers wrote: >> There has been presumptions about signals being blocked when the thread >> exits throughout this email thread. Out of curiosity, what code is >> responsible for disabling signals in this situation ? Related to t

Greetings from Mr Noble

2018-11-23 Thread Abbott Noble
Greetings to you and your family. My name is Mr. Noble Abbott, the director general with the bank, Africa Develop bank (ADB) Ouagadougou, Burkina Faso, in West Africa. I am contacting you to seek our honesty and sincere cooperation in confidential manner to transfer the sum of 10.5 (Ten million f

Re: [PATCH] KVM: VMX: re-add ple_gap module parameter

2018-11-23 Thread Liran Alon
> On 23 Nov 2018, at 19:02, Luiz Capitulino wrote: > > > Apparently, the ple_gap parameter was accidentally removed > by commit c8e88717cfc6b36bedea22368d97667446318291. Add it > back. > > Signed-off-by: Luiz Capitulino Weird that nobody noticed this when patch was applied… Thanks. Reviewe

Re: [PATCH] x86: only use ERMS for user copies for larger sizes

2018-11-23 Thread Linus Torvalds
On Fri, Nov 23, 2018 at 8:36 AM Linus Torvalds wrote: > > Let me write a generic routine in lib/iomap_copy.c (which already does > the "user specifies chunk size" cases), and hook it up for x86. Something like this? ENTIRELY UNTESTED! It might not compile. Seriously. And if it does compile, it m

Re: [RFC PATCH v4 1/5] glibc: Perform rseq(2) registration at nptl init and thread creation

2018-11-23 Thread Rich Felker
On Fri, Nov 23, 2018 at 06:39:04PM +0100, Florian Weimer wrote: > * Rich Felker: > > > On Fri, Nov 23, 2018 at 12:05:20PM -0500, Mathieu Desnoyers wrote: > >> There has been presumptions about signals being blocked when the thread > >> exits throughout this email thread. Out of curiosity, what cod

[PATCH] find_bit_benchmark: align test_find_next_and_bit with others

2018-11-23 Thread Yury Norov
In contrary to other tests, the test_find_next_and_bit uses tab formatting in output and get_cycles() instead of ktime_get(). get_cycles() is not supported by some arches, so ktime_get() fits better in generic code. Fix it and minor style issues, so the output looks like this: Start testing find_

Re: [RESEND PATCH v3 2/2] PCI: uniphier: Add UniPhier PCIe host controller support

2018-11-23 Thread Lorenzo Pieralisi
On Tue, Nov 20, 2018 at 09:15:31PM +0900, Kunihiko Hayashi wrote: [...] > > > +static int uniphier_pcie_link_up(struct dw_pcie *pci) > > > > This function returns a bool value, make it return a bool. > > This function is registered in struct dw_pcie_ops.link_up, that is defined > in pcie-design

Re: [RFC PATCH v4 1/5] glibc: Perform rseq(2) registration at nptl init and thread creation

2018-11-23 Thread Mathieu Desnoyers
- On Nov 23, 2018, at 12:30 PM, Rich Felker dal...@libc.org wrote: > On Fri, Nov 23, 2018 at 12:05:20PM -0500, Mathieu Desnoyers wrote: >> - On Nov 23, 2018, at 9:28 AM, Rich Felker dal...@libc.org wrote: >> [...] >> > >> > Absolutely. As long as it's in libc, implicit destruction will ha

Re: [RFC][PATCH 06/14] fgraph: Move function graph specific code into fgraph.c

2018-11-23 Thread Steven Rostedt
On Thu, 22 Nov 2018 22:11:33 -0800 Joel Fernandes wrote: > On Wed, Nov 21, 2018 at 08:27:14PM -0500, Steven Rostedt wrote: > > From: "Steven Rostedt (VMware)" > > > > To make the function graph infrastructure more managable, the code needs to > > be in its own file (fgraph.c). Move the code tha

Re: [PATCH 1/2] module: Overwrite st_size instead of st_info

2018-11-23 Thread Dave Martin
On Mon, Nov 19, 2018 at 05:25:12PM +0100, Vincent Whitchurch wrote: > st_info is currently overwritten after relocation and used to store the > elf_type(). However, we're going to need it fix kallsyms on ARM's > Thumb-2 kernels, so preserve st_info and overwrite the st_size field > instead. st_si

Re: [PATCH 1/2] mm: Remove redundant test from find_get_pages_contig

2018-11-23 Thread Matthew Wilcox
On Fri, Nov 23, 2018 at 01:47:32PM +0300, Kirill A. Shutemov wrote: > On Thu, Nov 22, 2018 at 01:32:23PM -0800, Matthew Wilcox wrote: > > After we establish a reference on the page, we check the pointer continues > > to be in the correct position in i_pages. There's no need to check the > > page->

Re: [RFC PATCH v4 1/5] glibc: Perform rseq(2) registration at nptl init and thread creation

2018-11-23 Thread Florian Weimer
* Rich Felker: > On Fri, Nov 23, 2018 at 06:39:04PM +0100, Florian Weimer wrote: >> * Rich Felker: >> >> > On Fri, Nov 23, 2018 at 12:05:20PM -0500, Mathieu Desnoyers wrote: >> >> There has been presumptions about signals being blocked when the thread >> >> exits throughout this email thread. Out

Re: dcache_readdir NULL inode oops

2018-11-23 Thread Will Deacon
Hi all, I've now managed to reproduce this on x86 (log below) but I'm out of my depth with this one. Looping in Greg and Jiri because I fear this is specific to the pty code. Rest of the thread is here: http://lkml.kernel.org/r/20181109143744.GA12128@hc On Wed, Nov 21, 2018 at 01:19:06PM +,

Re: [RFCv3 PATCH 1/6] uacce: Add documents for WarpDrive/uacce

2018-11-23 Thread Jason Gunthorpe
On Fri, Nov 23, 2018 at 04:02:42PM +0800, Kenneth Lee wrote: > It is already part of Jean's patchset. And that's why I built my solution on > VFIO in the first place. But I think the concept of SVA and PASID is not > compatible with the original VFIO concept space. You would not share your > whol

<    1   2   3   4   5   >