Re: [PATCH] dt-bindings: i2c: Use correct vendor prefix for Atmel

2018-11-23 Thread Thierry Reding
On Fri, Nov 23, 2018 at 12:40:19PM +, Peter Rosin wrote: > On 2018-11-23 13:10, Thierry Reding wrote: > > From: Thierry Reding > > > > The "at," prefix was never correct for Atmel, so fix the few occurrences > > that got it wrong. Use "atmel," instead. > > Fully agreed. However, given that

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

2018-11-23 Thread Miroslav Benes
On Thu, 22 Nov 2018, Jessica Yu wrote: > +++ Vincent Whitchurch [22/11/18 13:24 +0100]: > >On Thu, Nov 22, 2018 at 12:01:54PM +, Dave Martin wrote: > >> On Mon, Nov 19, 2018 at 05:25:12PM +0100, Vincent Whitchurch wrote: > >> > st_info is currently overwritten after relocation and used to

Re: [PATCH v1] mm/memory_hotplug: drop "online" parameter from add_memory_resource()

2018-11-23 Thread David Hildenbrand
On 23.11.18 13:54, Michal Hocko wrote: > On Fri 23-11-18 13:37:40, David Hildenbrand wrote: >> User space should always be in charge of how to online memory and >> if memory should be onlined automatically in the kernel. Let's drop the >> parameter to overwrite this - XEN passes memhp_auto_online,

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: >> I'm not entirely sure because the glibc terminology is confusing, but I >> think it places intial-exec TLS into the static TLS area (so that it has >> a fixed offset from the TCB). The static TLS area is placed on the >> user-supplied stack. > > This is an implementation detail

Re: [PATCH 3/3] gpio: Add reference counting for non-exclusive GPIOs

2018-11-23 Thread Mark Brown
On Fri, Nov 23, 2018 at 10:57:29AM +, Charles Keepax wrote: > It's fixing something in the case of two regulators using the > same GPIO. The direction this patch chain takes is that the end > drivers own the GPIOs not the regulator core (except for the > legacy case). So both of the end

Re: [PATCH] printk: Make printk_emit() local function.

2018-11-23 Thread Tetsuo Handa
On 2018/11/23 21:24, Petr Mladek wrote: > On Thu 2018-11-22 23:59:28, Tetsuo Handa wrote: >> printk_emit() is called from only devkmsg_write() in the same file. >> Save object size by making it a local function. >> >> Signed-off-by: Tetsuo Handa >> --- >> include/linux/printk.h | 5 - >>

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

2018-11-23 Thread Florian Weimer
* Mathieu Desnoyers: I don't think you need unregistering if the memory is initial-exec TLS memory. Initial-exec TLS memory is tied directly to the TCB and cannot be freed while the thread is running, so it should be safe to put the rseq area there even if glibc knows nothing

Re: [PATCH V2] exportfs: do not read dentry after free

2018-11-23 Thread Al Viro
On Fri, Nov 23, 2018 at 03:56:33PM +0800, Pan Bian wrote: > The function dentry_connected calls dput(dentry) to drop the previously > acquired reference to dentry. In this case, dentry can be released. > After that, IS_ROOT(dentry) checks the condition > (dentry == dentry->d_parent), which may

Re: [PATCH v2 2/4] clk: meson: clk-regmap: add read-only gate ops

2018-11-23 Thread Neil Armstrong
On 22/11/2018 22:40, Martin Blumenstingl wrote: > Some of the gate clocks are described as "just in case" bits in the > datasheet. Examples are the ABP, PERIPH, AXI and L2 DRAM clocks on > Meson8b. > The datasheet suggests that these bits are not touched. The full > explanation is: > "Set to 1 to

Re: [for-next][PATCH 15/18] function_graph: Use new curr_ret_depth to manage depth instead of curr_ret_stack

2018-11-23 Thread Steven Rostedt
On Thu, 22 Nov 2018 11:03:22 +0100 Peter Zijlstra wrote: > On Wed, Nov 21, 2018 at 07:28:16PM -0500, Steven Rostedt wrote: > > @@ -188,14 +186,20 @@ int function_graph_enter(unsigned long ret, unsigned > > long func, > > struct ftrace_graph_ent trace; > > > > trace.func = func; > > -

Re: [PATCH 2/3] regulator: Only free GPIOs if the core requested them

2018-11-23 Thread Mark Brown
On Thu, Nov 22, 2018 at 05:30:14PM +, Charles Keepax wrote: > Currently, the regulator core will take ownership of any GPIO passed > into it. Makes end driver code fairly error prone as the normal devm_ > patterns of allocation don't work. Update the regulator core to only > free the GPIO if

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 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 PTEPMD

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

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] 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 ---

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

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

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

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 */ > +

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

[PATCH v2] dt-bindings: i2c: Use correct vendor prefix for Atmel

2018-11-23 Thread Thierry Reding
From: Thierry Reding The "at," prefix was never correct for Atmel, so fix the few occurrences that got it wrong. Use "atmel," instead. While at it, remove the at,24c08 compatible string from the list of trivial devices because it is already documented in eeprom/at24.txt. Signed-off-by: Thierry

Re: [PATCH v2 31/43] drm/sun4i: Add a dedicated ioctl call for allocating tiled buffers

2018-11-23 Thread Paul Kocialkowski
Hi, On Fri, 2018-11-23 at 11:30 +, Brian Starkey wrote: > Hi Paul, > > On Fri, Nov 23, 2018 at 10:25:03AM +0100, Paul Kocialkowski wrote: > > This introduces a dedicated ioctl for allocating buffers for the VPU > > tiling mode. It allows setting up buffers that comply to the hardware > >

Re: [RFC PATCH 0/4] mm, memory_hotplug: allocate memmap from hotadded memory

2018-11-23 Thread David Hildenbrand
On 23.11.18 13:42, Michal Hocko wrote: > On Fri 23-11-18 12:55:41, Oscar Salvador wrote: >> On Thu, Nov 22, 2018 at 10:21:24AM +0100, David Hildenbrand wrote: >>> 1. How are we going to present such memory to the system statistics? >>> >>> In my opinion, this vmemmap memory should >>> a) still

Re: [PATCH 08/10] ARM64: dts: renesas: Add all CPUs in cooling maps

2018-11-23 Thread Simon Horman
On Fri, Nov 16, 2018 at 03:34:31PM +0530, Viresh Kumar wrote: > Each CPU can (and does) participate in cooling down the system but the > DT only captures a handful of them, normally CPU0, in the cooling maps. > Things work by chance currently as under normal circumstances its the > first CPU of

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

2018-11-23 Thread Petr Mladek
On Sat 2018-11-10 17:52:17, Tetsuo Handa wrote: > On 2018/11/10 0:43, Petr Mladek wrote: > > On Fri 2018-11-09 18:55:26, Tetsuo Handa wrote: > >> How early_printk requirement affects line buffered printk() API? > >> > >> I don't think it is impossible to convert from > >> > >> printk("Testing

unsubcribe

2018-11-23 Thread Zorg

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 >> --- >>

[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

[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

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(-)

[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 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: [RFC PATCH 0/4] mm, memory_hotplug: allocate memmap from hotadded memory

2018-11-23 Thread Michal Hocko
On Fri 23-11-18 12:55:41, Oscar Salvador wrote: > On Thu, Nov 22, 2018 at 10:21:24AM +0100, David Hildenbrand wrote: > > 1. How are we going to present such memory to the system statistics? > > > > In my opinion, this vmemmap memory should > > a) still account to total memory > > b) show up as

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

2018-11-23 Thread Tetsuo Handa
On 2018/11/23 21:46, Petr Mladek wrote: > I am more and more wondering if the buffered printk is worth > the effort. The more buffers we use the more we risk that nobody > would see some important message. Even a part of the line > might be crucial in some situations. > > Steven told me on

Re: [RFC PATCH 0/4] mm, memory_hotplug: allocate memmap from hotadded memory

2018-11-23 Thread Michal Hocko
On Fri 23-11-18 13:51:57, David Hildenbrand wrote: > On 23.11.18 13:42, Michal Hocko wrote: > > On Fri 23-11-18 12:55:41, Oscar Salvador wrote: [...] > >> It is not memory that the system can use. > > > > same as bootmem ;) > > Fair enough, just saying that it represents a change :) > > (but

[PATCH 06/12] dt-bindings: PCI: aardvark: describe the reset-gpios property

2018-11-23 Thread Miquel Raynal
A GPIO might be used to reset the PCI IP. Describe the property needed in this case. Signed-off-by: Miquel Raynal --- Documentation/devicetree/bindings/pci/aardvark-pci.txt | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/aardvark-pci.txt

[PATCH 04/12] PCI: aardvark: add clock support

2018-11-23 Thread Miquel Raynal
The IP relies on a gated clock. When we will add S2RAM support, this clock will need to be resumed before any PCIe registers are accessed. Add support for this clock. Signed-off-by: Miquel Raynal --- drivers/pci/controller/pci-aardvark.c | 29 +++ 1 file changed, 29

[PATCH 12/12] ARM64: dts: marvell: armada-3720-espressobin: declare PCIe PHY

2018-11-23 Thread Miquel Raynal
The PCIe node is wired to the second PHY of the COMPHY IP. Signed-off-by: Miquel Raynal --- arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts

[PATCH 09/12] ARM64: dts: marvell: armada-37xx: declare PCIe reset pin

2018-11-23 Thread Miquel Raynal
One GPIO can be muxed as PCIe reset. Signed-off-by: Miquel Raynal --- arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi index

[PATCH v3 2/4] iio: adc: add STMPE ADC driver using IIO framework

2018-11-23 Thread Philippe Schenker
From: Stefan Agner This adds an ADC driver for the STMPE device using the industrial input/output interface. The driver supports raw reading of values. The driver depends on the MFD STMPE driver. If the touchscreen block is enabled too, only four of the 8 ADC channels are available.

[PATCH v3 1/4] mfd: stmpe: Move ADC related defines to header of mfd

2018-11-23 Thread Philippe Schenker
Move defines that are ADC related to the header of the overlying mfd, so they can be used from multiple sub-devices. Signed-off-by: Philippe Schenker --- Changes in v3: - None Changes in v2: - This is a new added commit. Separate commit for moving the defines out of

Re: [PATCH RFC 1/8] drm/bridge: dw-hdmi: Add SCDC and TMDS Scrambling support

2018-11-23 Thread Laurent Pinchart
Hi Neil, Thank you for the patch. On Friday, 23 November 2018 16:02:14 EET Neil Armstrong wrote: > Add support for SCDC Setup for TMDS Clock > 3.4GHz and enable TMDS > Scrambling when supported or mandatory. > > This patch also adds an helper to setup the control bit to support > the hight TMDS

[PATCH v3 3/4] iio: adc: add STMPE ADC devicetree bindings

2018-11-23 Thread Philippe Schenker
From: Stefan Agner This adds the devicetree bindings for the STMPE ADC. Signed-off-by: Stefan Agner Signed-off-by: Max Krummenacher Signed-off-by: Philippe Schenker --- Changes in v3: - Reformatted documentation for touchscreen to use tabs and have a better overview of the settings. -

[PATCH v3 4/4] ARM: dts: Add stmpe-adc driver to relevant devicetrees

2018-11-23 Thread Philippe Schenker
From: Philippe Schenker Activate the stmpe-adc driver as found on Apalis/Colibri iMX6/T30 modules Signed-off-by: Philippe Schenker --- Changes in v3: - None Changes in v2: - Put common ADC settings in mfd arch/arm/boot/dts/imx6qdl-apalis.dtsi | 22 ++

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 >

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,

[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

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

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).

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

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

Re: Sleeping in user_access section

2018-11-23 Thread Russell King - ARM Linux
On Fri, Nov 23, 2018 at 11:57:31AM +, Julien Thierry wrote: > > > On 23/11/18 10:50, Russell King - ARM Linux wrote: > >On Fri, Nov 23, 2018 at 01:57:12AM -0800, h...@zytor.com wrote: > >>You should never call a sleeping function from a user_access section. > >>It is intended for very

[PATCH 05/12] PCI: aardvark: add suspend to RAM support

2018-11-23 Thread Miquel Raynal
Add suspend and resume callbacks. The priority of these are "_noirq()", to workaround early access to the registers done by the PCI core through the ->read()/->write() callbacks at resume time. Signed-off-by: Miquel Raynal --- drivers/pci/controller/pci-aardvark.c | 52

[PATCH 02/12] PCI: aardvark: add reset GPIO support

2018-11-23 Thread Miquel Raynal
The IP supports a reset GPIO. When S2RAM will be added, we must ensure the reset line (if any) is deasserted when resuming. Add support for it. Signed-off-by: Miquel Raynal --- drivers/pci/controller/pci-aardvark.c | 57 +++ 1 file changed, 57 insertions(+) diff --git

[PATCH 03/12] PCI: aardvark: add PHY support

2018-11-23 Thread Miquel Raynal
The IP needs its PHY to be properly configured to work. While the PHY is usually already configured by the bootloader, we will need this feature when adding S2RAM support. Take care of registering and configuring the PHY from the driver itself. Signed-off-by: Miquel Raynal ---

[PATCH 00/12] Bring suspend to RAM support to PCIe Aardvark driver

2018-11-23 Thread Miquel Raynal
Hello, As part of an effort to bring suspend to RAM support to Armada 3700 SoCs (main target: ESPRESSObin), this series handles the work around the PCIe IP. First, more configuration is done in the 'setup' helper as inspired from the U-Boot driver. This is needed to entirely initialize the IP

[PATCH 01/12] PCI: aardvark: configure more registers in the configuration helper

2018-11-23 Thread Miquel Raynal
Mimic U-Boot configuration to be sure all hardware registers are set properly. This will be needed for future S2RAM operation. Signed-off-by: Miquel Raynal --- drivers/pci/controller/pci-aardvark.c | 14 ++ 1 file changed, 14 insertions(+) diff --git

[PATCH 10/12] ARM64: dts: marvell: armada-3720-espressobin: declare PCIe reset GPIO

2018-11-23 Thread Miquel Raynal
Add a reset-gpios property to the PCIe node. Signed-off-by: Miquel Raynal --- arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts

[PATCH 07/12] dt-bindings: PCI: aardvark: describe the clocks property

2018-11-23 Thread Miquel Raynal
Describe the missing gated clock feeding the PCIe IP. Signed-off-by: Miquel Raynal --- Documentation/devicetree/bindings/pci/aardvark-pci.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/aardvark-pci.txt

[PATCH 08/12] dt-bindings: PCI: aardvark: describe the PHY property

2018-11-23 Thread Miquel Raynal
Document the possibility to reference a PHY. Signed-off-by: Miquel Raynal --- Documentation/devicetree/bindings/pci/aardvark-pci.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/aardvark-pci.txt

[PATCH 11/12] ARM64: dts: marvell: armada-37xx: declare PCIe clock

2018-11-23 Thread Miquel Raynal
The PCIe IP is fed by a gated clock. Signed-off-by: Miquel Raynal --- arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi index 9f7e932c8144..854b1d59b2ca

[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: 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 ---

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 +-- >

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 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

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()

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

[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 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

Re: [PATCH v2] arm64: dts: rockchip: Add DT for nanopc-t4

2018-11-23 Thread Heiko Stuebner
Hi Tomeu, Am Freitag, 23. November 2018, 08:46:30 CET schrieb Tomeu Vizoso: > diff --git a/Documentation/devicetree/bindings/arm/rockchip.txt > b/Documentation/devicetree/bindings/arm/rockchip.txt > index 0cc71236d639..e907d309486e 100644 > ---

Re: [PATCH] dt-bindings: i2c: Use correct vendor prefix for Atmel

2018-11-23 Thread Peter Rosin
On 2018-11-23 13:10, Thierry Reding wrote: > From: Thierry Reding > > The "at," prefix was never correct for Atmel, so fix the few occurrences > that got it wrong. Use "atmel," instead. Fully agreed. However, given that atmel,24c08 is documented in .../eeprom/at24.txt I think it would be

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

2018-11-23 Thread Petr Mladek
On Sat 2018-11-10 11:42:03, Tetsuo Handa wrote: > On 2018/11/10 0:43, Petr Mladek wrote: > >> + * Line buffered printk() tries to assign a buffer when printk() from a > >> new > >> + * context identifier comes in. And it automatically releases that buffer > >> when > >> + * one of three

Re: [PATCH] btrfs: relocation: set trans to be NULL after free

2018-11-23 Thread David Sterba
On Fri, Nov 23, 2018 at 06:10:15PM +0800, Pan Bian wrote: > The function relocate_block_group calls btrfs_end_transaction to release > trans when update_backref_cache returns 1, and then continues the loop > body. If btrfs_block_rsv_refill fails this time, it will jump out the > loop and the freed

Re: Official Linux system wrapper library?

2018-11-23 Thread David Newall
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 portability issues. We need to abstract over these

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

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:

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: ;) > >

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: [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

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

[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 +-

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 >

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

2018-11-23 Thread Peter Ujfalusi
On 22/11/2018 17.12, Russell King - ARM Linux wrote: > On Thu, Nov 22, 2018 at 10:29:48AM +, Russell King - ARM Linux wrote: >> On Tue, Nov 20, 2018 at 11:04:06PM +0200, Aaro Koskinen wrote: >>> I had switched to PIO mode in 2015 since the WARNs about legacy DMA >>> API were too annoying

Linux 4.9.140

2018-11-23 Thread Greg KH
Sorry for the quick follow-on release, but this resolves two reported issues that should have gotten into the previous release. I'm announcing the release of the 4.9.140 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at:

Re: Linux 4.9.140

2018-11-23 Thread Greg KH
diff --git a/Makefile b/Makefile index a6959d96316d..a9aed2326233 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 139 +SUBLEVEL = 140 EXTRAVERSION = NAME = Roaring Lionus diff --git a/arch/x86/kernel/cpu/bugs.c b/arch/x86/kernel/cpu/bugs.c index

Re: [RFC PATCH 1/3] mm, proc: be more verbose about unstable VMA flags in /proc//smaps

2018-11-23 Thread Vlastimil Babka
On 11/20/18 11:35 AM, Michal Hocko wrote: > From: Michal Hocko > > Even though vma flags exported via /proc//smaps are explicitly > documented to be not guaranteed for future compatibility the warning > doesn't go far enough because it doesn't mention semantic changes to > those flags. And they

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 02:10:14PM +0100, Florian Weimer wrote: > * Rich Felker: > > >> I'm not entirely sure because the glibc terminology is confusing, but I > >> think it places intial-exec TLS into the static TLS area (so that it has > >> a fixed offset from the TCB). The static TLS area is

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]

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

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 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

[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

[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

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

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

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

2018-11-23 Thread Guenter Roeck
s [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 # good: [9ff

  1   2   3   4   5   >