Re: [PATCHv7] x86/kdump: bugfix, make the behavior of crashkernel=X consistent with kaslr

2019-01-30 Thread Dave Young
On 01/25/19 at 03:08pm, Borislav Petkov wrote: > On Fri, Jan 25, 2019 at 09:45:18PM +0800, Dave Young wrote: > > AFAIK, some people prefer to explictly reserve crash memory at high > > region even if it is possible to reserve at low area. May because > > <4G memory is limited on large server,

Re: System crash with perf_fuzzer (kernel: 5.0.0-rc3)

2019-01-30 Thread Ravi Bangoria
Hi Andi, On 1/25/19 9:30 PM, Andi Kleen wrote: >> [Fri Jan 25 10:28:53 2019] perf: interrupt took too long (2501 > 2500), >> lowering kernel.perf_event_max_sample_rate to 79750 >> [Fri Jan 25 10:29:08 2019] perf: interrupt took too long (3136 > 3126), >> lowering

Re: [PATCH v8 5/7] tpm: move tpm_chip definition to include/linux/tpm.h

2019-01-30 Thread Roberto Sassu
On 1/29/2019 9:34 PM, Jarkko Sakkinen wrote: On Thu, Jan 24, 2019 at 04:49:08PM +0100, Roberto Sassu wrote: -enum tpm_const { - TPM_MINOR = 224,/* officially assigned */ - TPM_BUFSIZE = 4096, - TPM_NUM_DEVICES = 65536, - TPM_RETRY = 50, /* 5 seconds */ -

Darlehensangebot für 2% Zinssatz. Keine Vorabgebühren

2019-01-30 Thread Mr Davis Wright
Hallo, Wir bieten persönlichen Bedienung für alle Ihre finanziellen Bedürfnisse zu einem sehr niedrigen Zinssatz von 2%, bieten wir persönliche Darlehen, Schuldenkonsolidierung Darlehen, Risiko kapital, Geschäft-Darlehen, Bildungs kredite, Home kredit und Darlehen aus welchen Gründen auch

[PATCH] mmc: mmc: Fix HS setting in mmc_hs400_to_hs200()

2019-01-30 Thread Chaotian Jing
mmc_hs400_to_hs200() begins with the card and host in HS400 mode. Therefore, any commands sent to the card should use HS400 timing. It is incorrect to reduce frequency to 50Mhz before sending the switch command, in this case, only reduce clock frequency to 50Mhz but without host timming change,

Re: [PATCH] PCI: Mediatek: Use resource_size function on resource object

2019-01-30 Thread Honghui Zhang
On Thu, 2019-01-31 at 11:03 +0800, Honghui Zhang wrote: > On Wed, 2019-01-30 at 09:49 -0600, Bjorn Helgaas wrote: > > On Wed, Jan 02, 2019 at 02:03:53PM +0800, honghui.zh...@mediatek.com wrote: > > > From: Honghui Zhang > > > > > > drivers/pci/pcie-mediatek.c:720:13-16: WARNING: Suspicious code.

Re: [PATCH 4.20 000/117] 4.20.6-stable review

2019-01-30 Thread Greg Kroah-Hartman
On Wed, Jan 30, 2019 at 07:04:39PM +0530, Naresh Kamboju wrote: > On Tue, 29 Jan 2019 at 17:08, Greg Kroah-Hartman > wrote: > > > > This is the start of the stable review cycle for the 4.20.6 release. > > There are 117 patches in this series, all will be posted as a response > > to this one. If

Re: [PATCH 4.14 00/68] 4.14.97-stable review

2019-01-30 Thread Greg Kroah-Hartman
On Wed, Jan 30, 2019 at 12:51:12PM +, Jon Hunter wrote: > > On 29/01/2019 11:35, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.97 release. > > There are 68 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH v2] usb: chipidea: Grab the (legacy) USB PHY by phandle first

2019-01-30 Thread Sergei Shtylyov
Hello! On 30.01.2019 19:30, Paul Kocialkowski wrote: According to the chipidea driver bindings, the USB PHY is specified via the "phys" phandle node. However, this only takes effect for USB PHYs that use the common PHY framework. For legacy USB PHYs, a simple lookup based on the USB PHY type

Re: [PATCH v7 0/3] Move pm_runtime accounted time to raw nsec

2019-01-30 Thread Ulf Hansson
On Thu, 31 Jan 2019 at 00:51, Rafael J. Wysocki wrote: > > On Wednesday, January 23, 2019 8:50:12 AM CET Vincent Guittot wrote: > > Move pm_runtime accounted time to raw nsec. The subject of the patchset > > has changed as 1st patch o the previous versions has been queued by > > Rafael. > > > >

Re: [PATCHv7] x86/kdump: bugfix, make the behavior of crashkernel=X consistent with kaslr

2019-01-30 Thread Dave Young
On 01/29/19 at 01:25pm, Pingfan Liu wrote: > On Fri, Jan 25, 2019 at 10:08 PM Borislav Petkov wrote: > > > > On Fri, Jan 25, 2019 at 09:45:18PM +0800, Dave Young wrote: > > > AFAIK, some people prefer to explictly reserve crash memory at high > > > region even if it is possible to reserve at low

答复: 答复: 答复: [PATCH][v4] tty: fix race between flush_to_ldisc and tty_open

2019-01-30 Thread Li,Rongqing
> -邮件原件- > 发件人: Greg KH [mailto:gre...@linuxfoundation.org] > 发送时间: 2019年1月31日 14:52 > 收件人: Li,Rongqing > 抄送: jsl...@suse.com; linux-kernel@vger.kernel.org; gko...@codeaurora.org; > linux-ser...@vger.kernel.org > 主题: Re: 答复: 答复: [PATCH][v4] tty: fix race between flush_to_ldisc and >

Re: linux-next: powerpc le qemu boot failure after merge of the akpm tree

2019-01-30 Thread Mike Rapoport
(added Andrey Konovalov) On Thu, Jan 31, 2019 at 07:15:26AM +0100, Christophe Leroy wrote: > > Le 31/01/2019 à 07:06, Stephen Rothwell a écrit : > >Hi all, > > > >On Thu, 31 Jan 2019 16:38:54 +1100 Stephen Rothwell > >wrote: > >> > >>[I am guessing that is is something in Andrew's tree that

Re: System crash with perf_fuzzer (kernel: 5.0.0-rc3)

2019-01-30 Thread Jiri Olsa
On Wed, Jan 30, 2019 at 07:36:48PM +0100, Jiri Olsa wrote: > On Fri, Jan 25, 2019 at 12:16:27PM +0530, Ravi Bangoria wrote: > > SNIP > > > [ 1432.176374] general protection fault: [#1] SMP PTI > > [ 1432.182253] CPU: 1 PID: 0 Comm: swapper/1 Tainted: GW > >

Re: [PATCH] can: flexcan: fix timeout when set small bitrate

2019-01-30 Thread Marc Kleine-Budde
On 1/31/19 7:58 AM, Joakim Zhang wrote: > From: Dong Aisheng > > Current we can meet timeout issue when setting a small bitrate > like 1 as follows: > root@imx6qdlsolo:~# ip link set can0 up type can bitrate 1 > A link change request failed with some changes committed already. >

Re: [PATCH] usb: typec: tcpm: Correct the PPS out_volt calculation

2019-01-30 Thread Heikki Krogerus
On Wed, Jan 30, 2019 at 11:13:53AM +0800, Kyle Tso wrote: > When Sink negotiates PPS, the voltage range of selected PPS APDO might > not cover the previous voltage (out_volt). If the previous out_volt is > lower than the new min_volt, the output voltage in RDO might be set to > an invalid value.

With due respect

2019-01-30 Thread Mr Duna Wattara
Dear Friend, I know that this mail will come to you as a surprise as we have never met before, but need not to worry as I am contacting you independently of my investigation and no one is informed of this communication. I need your urgent assistance in transferring the sum of $11.3million

Re: [PATCH V11 1/4] dt-bindings: mmc: Add supports-cqe property

2019-01-30 Thread Ulf Hansson
On Wed, 23 Jan 2019 at 20:30, Sowjanya Komatineni wrote: > > Add supports-cqe optional property for MMC hosts. > > This property is used to identify the specific host controller > supporting command queue. > > Signed-off-by: Sowjanya Komatineni > Reviewed-by: Thierry Reding Applied for next,

Re: [PATCH V11 3/4] mmc: sdhci: Add ADMA3 DMA support for V4 enabled host

2019-01-30 Thread Ulf Hansson
On Wed, 23 Jan 2019 at 20:31, Sowjanya Komatineni wrote: > > Below are the supported DMA types in Host Control1 Register > with Version 4 enable > b'00 - SDMA > b'01 - Not Used > b'10 - ADMA2 > b'11 - ADMA2 or ADMA3 > > ADMA3 uses Command Descriptor to issue an SD command. > A multi-block data

Re: [PATCH V11 2/4] arm64: dts: tegra: Add CQE Support for SDMMC4

2019-01-30 Thread Ulf Hansson
On Wed, 23 Jan 2019 at 20:30, Sowjanya Komatineni wrote: > > Add CQE Support for Tegra186 and Tegra194 SDMMC4 controller > > Signed-off-by: Sowjanya Komatineni To be clear, I am not picking this one as this should go via arm-soc. Kind regards Uffe > --- >

Re: [PATCH V11 4/4] mmc: tegra: HW Command Queue Support for Tegra SDMMC

2019-01-30 Thread Ulf Hansson
On Wed, 23 Jan 2019 at 20:31, Sowjanya Komatineni wrote: > > This patch adds HW Command Queue for supported Tegra SDMMC > controllers. > > Signed-off-by: Sowjanya Komatineni > Acked-by: Adrian Hunter > Acked-by: Thierry Reding Applied for next, thanks! Kind regards Uffe > --- > [v11]:

Re: [PATCH V2 3/4] irq: imx-irqsteer: change to use reg_num instead of irq_group

2019-01-30 Thread Dong Aisheng
On Wed, Jan 30, 2019 at 9:23 PM Lucas Stach wrote: [...] > > > + /* one register bit map represents 32 input interrupts */ > > > + data->reg_num /= 32; > > + > > > if (IS_ENABLED(CONFIG_PM_SLEEP)) { > > > data->saved_reg = devm_kzalloc(>dev, > > > -

Re: [PATCH v2 1/5] PM / OPP: Introduce a power estimation helper

2019-01-30 Thread Viresh Kumar
On 30-01-19, 17:05, Quentin Perret wrote: > +static int __maybe_unused _get_cpu_power(unsigned long *mW, unsigned long > *kHz, > + int cpu) > +{ > + struct device *cpu_dev; > + struct dev_pm_opp *opp; > + struct device_node *np; > + unsigned

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

2019-01-30 Thread Michal Hocko
On Wed 30-01-19 22:52:04, Oscar Salvador wrote: > On Tue, Jan 22, 2019 at 11:37:04AM +0100, Oscar Salvador wrote: > > I yet have to check a couple of things like creating an accounting item > > like VMEMMAP_PAGES to show in /proc/meminfo to ease to spot the memory that > > went in there, testing

Re: [PATCH v2 1/5] PM / OPP: Introduce a power estimation helper

2019-01-30 Thread Viresh Kumar
On 30-01-19, 11:07, Matthias Kaehlcke wrote: > On Wed, Jan 30, 2019 at 05:05:02PM +, Quentin Perret wrote: > > +static int __maybe_unused _get_cpu_power(unsigned long *mW, unsigned long > > *kHz, > > +int cpu) > > why __maybe_unused? Yeah, it isn't

Re: [PATCH 4.20 000/117] 4.20.6-stable review

2019-01-30 Thread Greg Kroah-Hartman
On Wed, Jan 30, 2019 at 02:14:35PM -0800, Guenter Roeck wrote: > On Tue, Jan 29, 2019 at 12:34:11PM +0100, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.20.6 release. > > There are 117 patches in this series, all will be posted as a response > > to this one.

Re: [PATCH v2 19/21] treewide: add checks for the return value of memblock_alloc*()

2019-01-30 Thread Mike Rapoport
On Thu, Jan 31, 2019 at 08:07:29AM +0100, Christophe Leroy wrote: > > > Le 31/01/2019 à 07:44, Christophe Leroy a écrit : > > > > > >Le 31/01/2019 à 07:41, Mike Rapoport a écrit : > >>On Thu, Jan 31, 2019 at 07:07:46AM +0100, Christophe Leroy wrote: > >>> > >>> > >>>Le 21/01/2019 à 09:04, Mike

Re: linux-next: powerpc le qemu boot failure after merge of the akpm tree

2019-01-30 Thread Stephen Rothwell
Hi Mike, On Thu, 31 Jan 2019 08:39:30 +0200 Mike Rapoport wrote: > > On Thu, Jan 31, 2019 at 07:15:26AM +0100, Christophe Leroy wrote: > > > > Le 31/01/2019 à 07:06, Stephen Rothwell a écrit : > > >>My qemu boot of the powerpc pseries_le_defconfig config failed like this: > > >> > >

Re: [PATCH v2] mm, oom: Tolerate processes sharing mm with different view of oom_score_adj.

2019-01-30 Thread Michal Hocko
On Thu 31-01-19 07:49:35, Tetsuo Handa wrote: > This patch reverts both commit 44a70adec910d692 ("mm, oom_adj: make sure > processes sharing mm have same view of oom_score_adj") and commit > 97fd49c2355ffded ("mm, oom: kill all tasks sharing the mm") in order to > close a race and reduce the

Re: [PATCH v2 19/21] treewide: add checks for the return value of memblock_alloc*()

2019-01-30 Thread Christophe Leroy
Le 31/01/2019 à 07:44, Christophe Leroy a écrit : Le 31/01/2019 à 07:41, Mike Rapoport a écrit : On Thu, Jan 31, 2019 at 07:07:46AM +0100, Christophe Leroy wrote: Le 21/01/2019 à 09:04, Mike Rapoport a écrit : Add check for the return value of memblock_alloc*() functions and call

Re: [PATCH] usb: typec: tcpm: Export partner Source Capabilities

2019-01-30 Thread Greg KH
On Thu, Jan 31, 2019 at 11:54:11AM +0800, Kyle Tso wrote: > Provide a function to get the partner Source Capabilities. > > Signed-off-by: Kyle Tso > --- > drivers/usb/typec/tcpm/tcpm.c | 23 +++ > include/linux/usb/tcpm.h | 1 + > 2 files changed, 24 insertions(+) > >

[PATCH] csky: fixup dead loop in show_stack

2019-01-30 Thread guoren
From: Guo Ren When STACKTRACE is enabled, we must pass fp as stack for unwind, otherwise random value in stack will casue a dead loop. Signed-off-by: Guo Ren Reported-by: Lu Baoquan --- arch/csky/kernel/dumpstack.c | 4 1 file changed, 4 insertions(+) diff --git

Re: general protection fault in debugfs_create_files

2019-01-30 Thread Greg Kroah-Hartman
On Thu, Jan 31, 2019 at 02:34:56PM +0900, Tetsuo Handa wrote: > Hello, again. > > syzbot is hitting a similar crash due to debugfs_create_dir() returning > -EEXIST. > Should debugfs_create_dir() return NULL as well? Or should the caller use > IS_ERR_OR_NULL() ? > > --- a/block/blk-mq-debugfs.c

Re: [PATCH] powerpc/prom_init: add __init markers to all functions

2019-01-30 Thread kbuild test robot
Hi Masahiro, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.0-rc4 next-20190130] [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/linux

Re: [PATCH v6 06/20] iommu/io-pgtable-arm-v7s: Extend MediaTek 4GB Mode

2019-01-30 Thread Yong Wu
On Wed, 2019-01-30 at 10:28 -0800, Evan Green wrote: > On Mon, Dec 31, 2018 at 7:57 PM Yong Wu wrote: > > > > MediaTek extend the arm v7s descriptor to support the dram over 4GB. > > > > In the mt2712 and mt8173, it's called "4GB mode", the physical address > > is from 0x4000_ to

[PATCH] can: flexcan: fix timeout when set small bitrate

2019-01-30 Thread Joakim Zhang
From: Dong Aisheng Current we can meet timeout issue when setting a small bitrate like 1 as follows: root@imx6qdlsolo:~# ip link set can0 up type can bitrate 1 A link change request failed with some changes committed already. Interface can0 may have been left with an inconsistent

Re: 答复: 答复: [PATCH][v4] tty: fix race between flush_to_ldisc and tty_open

2019-01-30 Thread Greg KH
On Thu, Jan 31, 2019 at 02:15:35AM +, Li,Rongqing wrote: > > > > -邮件原件- > > 发件人: Greg KH [mailto:gre...@linuxfoundation.org] > > 发送时间: 2019年1月30日 21:17 > > 收件人: Li,Rongqing > > 抄送: jsl...@suse.com; linux-kernel@vger.kernel.org; gko...@codeaurora.org; > > linux-ser...@vger.kernel.org

[LSF/MM ATTEND ] memory reclaim with NUMA rebalancing

2019-01-30 Thread Aneesh Kumar K.V
Michal Hocko writes: > Hi, > I would like to propose the following topic for the MM track. Different > group of people would like to use NVIDMMs as a low cost & slower memory > which is presented to the system as a NUMA node. We do have a NUMA API > but it doesn't really fit to "balance the

Re: [RFC v2 PATCH] mm: vmscan: do not iterate all mem cgroups for global direct reclaim

2019-01-30 Thread Michal Hocko
On Wed 30-01-19 06:11:17, Yang Shi wrote: > In current implementation, both kswapd and direct reclaim has to iterate > all mem cgroups. It is not a problem before offline mem cgroups could > be iterated. But, currently with iterating offline mem cgroups, it > could be very time consuming. In

Re: [PATCH v2 19/21] treewide: add checks for the return value of memblock_alloc*()

2019-01-30 Thread Christophe Leroy
Le 31/01/2019 à 07:41, Mike Rapoport a écrit : On Thu, Jan 31, 2019 at 07:07:46AM +0100, Christophe Leroy wrote: Le 21/01/2019 à 09:04, Mike Rapoport a écrit : Add check for the return value of memblock_alloc*() functions and call panic() in case of error. The panic message repeats the

Re: [PATCH v2 19/21] treewide: add checks for the return value of memblock_alloc*()

2019-01-30 Thread Mike Rapoport
On Thu, Jan 31, 2019 at 07:07:46AM +0100, Christophe Leroy wrote: > > > Le 21/01/2019 à 09:04, Mike Rapoport a écrit : > >Add check for the return value of memblock_alloc*() functions and call > >panic() in case of error. > >The panic message repeats the one used by panicing memblock allocators

Re: [RFC PATCH v3 06/10] devicetree: bindings: Document first ROHM BD70528 bindings

2019-01-30 Thread Matti Vaittinen
Hello Rob, Thanks for taking the carefull look once again =) On Wed, Jan 30, 2019 at 12:53:44PM -0600, Rob Herring wrote: > On Wed, Jan 30, 2019 at 11:09:55AM +0200, Matti Vaittinen wrote: > > Document bindings for regulators (3 bucks, 3 LDOs and 2 LED > > drivers) and 4 GPIO pins which can be

Re: linux-next: powerpc le qemu boot failure after merge of the akpm tree

2019-01-30 Thread Mike Rapoport
On Thu, Jan 31, 2019 at 07:15:26AM +0100, Christophe Leroy wrote: > > > Le 31/01/2019 à 07:06, Stephen Rothwell a écrit : > >Hi all, > > > >On Thu, 31 Jan 2019 16:38:54 +1100 Stephen Rothwell > >wrote: > >> > >>[I am guessing that is is something in Andrew's tree that has caused > >>this.] >

Commit 594cc251fdd0 (user_access_begin does access_ok) made arch/sh stop booting on qemu.

2019-01-30 Thread Rob Landley
That's what I bisected it to, anyway. Commit before that boots to a shell prompt under qemu-system-sh4 (built from today's git), after produces no console output (no boot messages, no nothin'). Rob # make ARCH=sh allnoconfig KCONFIG_ALLCONFIG=sh4.miniconf # make ARCH=sh -j $(nproc) # boot

[PATCH] arm: dts: gta04: add pinctrl settings for wkup domain

2019-01-30 Thread Andreas Kemnade
There is one button and a notifier for incoming phone calls/text messages for which we should wakeup from suspend. Signed-off-by: Andreas Kemnade --- arch/arm/boot/dts/omap3-gta04.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi

[PATCH V8 3/5] i2c: tegra: Add DMA Support

2019-01-30 Thread Sowjanya Komatineni
This patch adds DMA support for Tegra I2C. Tegra I2C TX and RX FIFO depth is 8 words. PIO mode is used for transfer size of the max FIFO depth and DMA mode is used for transfer size higher than max FIFO depth to save CPU overhead. PIO mode needs full intervention of CPU to fill or empty FIFO's

[PATCH V8 1/5] i2c: tegra: Sort all the include headers alphabetically

2019-01-30 Thread Sowjanya Komatineni
This patch sorts all the include headers alphabetically for the I2C tegra driver Signed-off-by: Sowjanya Komatineni --- [V3/V4/V5/V7/V8] : Removed unsued headers in tegra I2C [V2] : Added this in V2 to sort the headers in tegra I2C drivers/i2c/busses/i2c-tegra.c | 19 --- 1

[PATCH V8 5/5] i2c: tegra: Add I2C interface timing support

2019-01-30 Thread Sowjanya Komatineni
This patch adds I2C interface timing registers support for proper bus rate configuration along with meeting the i2c spec setup and hold times based on the tuning performed on Tegra210, Tegra186 and Tegra194 platforms. I2C_INTERFACE_TIMING_0 register contains TLOW and THIGH field and Tegra I2C

[PATCH V8 4/5] i2c: tegra: Update transfer timeout

2019-01-30 Thread Sowjanya Komatineni
Tegra194 allows max of 64K bytes and Tegra186 and prior allows max of 4K bytes of transfer per packet. one sec timeout is not enough for transfers more than 10K bytes at STD bus rate. This patch updates I2C transfer timeout based on the transfer size and I2C bus rate to allow enough time during

[PATCH V8 2/5] i2c: tegra: Add Bus Clear Master Support

2019-01-30 Thread Sowjanya Komatineni
Bus clear feature of tegra i2c controller helps to recover from bus hang when i2c master loses the bus arbitration due to the slave device holding SDA LOW continuously for some unknown reasons. Per I2C specification, the device that held the bus LOW should release it within 9 clock pulses.

Re: linux-next: powerpc le qemu boot failure after merge of the akpm tree

2019-01-30 Thread Christophe Leroy
Le 31/01/2019 à 07:06, Stephen Rothwell a écrit : Hi all, On Thu, 31 Jan 2019 16:38:54 +1100 Stephen Rothwell wrote: [I am guessing that is is something in Andrew's tree that has caused this.] My qemu boot of the powerpc pseries_le_defconfig config failed like this: htab_hash_mask=

linux-next: Tree for Jan 31

2019-01-30 Thread Stephen Rothwell
Hi all, Changes since 20190130: The drm-intel-fixes tree lost its build failure. The ext3 tree gained a build failure for which I reverted a commit. The vfs tree still had its build failure for which I applied a patch. The vhost tree gained a conflict against the pci tree. The akpm-current

Re: [RFC v3 5/5] cros_ec: differentiate SCP from EC by feature bit.

2019-01-30 Thread Pi-Hsun Shih
Hi Enric, On Wed, Jan 30, 2019 at 11:06 PM Enric Balletbo Serra wrote: > > Hi Lee, Pi-Hsun, > > Missatge de Lee Jones del dia dc., 30 de gen. > 2019 a les 14:07: > > > > On Mon, 21 Jan 2019, Pi-Hsun Shih wrote: > > > > > Since a SCP and EC would both exist on a system, and use the cros_ec_dev >

Re: [PATCH v2 19/21] treewide: add checks for the return value of memblock_alloc*()

2019-01-30 Thread Christophe Leroy
Le 21/01/2019 à 09:04, Mike Rapoport a écrit : Add check for the return value of memblock_alloc*() functions and call panic() in case of error. The panic message repeats the one used by panicing memblock allocators with adjustment of parameters to include only relevant ones. The replacement

Re: linux-next: powerpc le qemu boot failure after merge of the akpm tree

2019-01-30 Thread Stephen Rothwell
Hi all, On Thu, 31 Jan 2019 16:38:54 +1100 Stephen Rothwell wrote: > > [I am guessing that is is something in Andrew's tree that has caused > this.] > > My qemu boot of the powerpc pseries_le_defconfig config failed like this: > > htab_hash_mask= 0x1 >

Re: [PATCH 0/3] slub: Do trivial comments fixes

2019-01-30 Thread Pekka Enberg
On 31/01/2019 6.10, Tobin C. Harding wrote: From: "Tobin C. Harding" Hi Christopher, Here is a trivial patchset to wet my toes. This is my first patchset to mm, if there are some mm specific nuances in relation to when in the dev cycle (if ever) that minor (*cough* trivial) pathsets are

Re: [PATCH] mm: Prevent mapping slab pages to userspace

2019-01-30 Thread Pekka Enberg
On 25/01/2019 19.38, Matthew Wilcox wrote: It's never appropriate to map a page allocated by SLAB into userspace. A buggy device driver might try this, or an attacker might be able to find a way to make it happen. Signed-off-by: Matthew Wilcox Acked-by: Pekka Enberg A WARN_ON_ONCE() would

Re: [PATCH] phy: ti-pipe3: Add set_mode callback to configure usb3 phy as pcie phy

2019-01-30 Thread Kishon Vijay Abraham I
Roger, On 30/01/19 8:28 PM, Roger Quadros wrote: > Kishon, > > On 24/01/19 12:48, Kishon Vijay Abraham I wrote: >> DRA72 platform has the second instance of PHY shared between USB3 >> controller and PCIe controller with default as USB3 controller. >> Since it is used with USB3 controller by

Re: [PATCH] arch/arm/mm: Remove duplicate header

2019-01-30 Thread Souptick Joarder
On Thu, Jan 17, 2019 at 4:58 PM Mike Rapoport wrote: > > On Thu, Jan 17, 2019 at 04:53:44PM +0530, Souptick Joarder wrote: > > On Mon, Jan 7, 2019 at 10:54 PM Souptick Joarder > > wrote: > > > > > > Remove duplicate headers which are included twice. > > > > > > Signed-off-by: Souptick Joarder

Re: [PATCH] lib: zstd: Mark expected switch fall-throughs

2019-01-30 Thread Kees Cook
On Thu, Jan 31, 2019 at 12:30 PM Gustavo A. R. Silva wrote: > > > > On 1/30/19 1:58 AM, Kees Cook wrote: > > On Wed, Jan 30, 2019 at 12:34 PM Gustavo A. R. Silva > > wrote: > >> > >> In preparation to enabling -Wimplicit-fallthrough, mark switch > >> cases where we are expecting to fall through.

Re: [PATCH 0/4] powerpc/livepatch: reliable stack unwinder fixes

2019-01-30 Thread Michael Ellerman
Jiri Kosina writes: > On Wed, 30 Jan 2019, Michael Ellerman wrote: > >> I'm happy to take it, unless there's some reason you'd rather it go via >> the LP tree? > > As this is more about reliable stack unwinding than live patching per se > (which is only a user of that facility), I'd actually

Re: [PATCH 1/4] powerpc/64s: Clear on-stack exception marker upon exception return

2019-01-30 Thread Michael Ellerman
Nicolai Stange writes: > Michael Ellerman writes: > >> Joe Lawrence writes: >>> From: Nicolai Stange >>> >>> The ppc64 specific implementation of the reliable stacktracer, >>> save_stack_trace_tsk_reliable(), bails out and reports an "unreliable >>> trace" whenever it finds an exception frame

Re: [PATCH 09/10] mm/hmm: allow to mirror vma of a file on a DAX backed filesystem

2019-01-30 Thread Dan Williams
On Wed, Jan 30, 2019 at 8:17 PM Jerome Glisse wrote: > On Wed, Jan 30, 2019 at 07:28:12PM -0800, Dan Williams wrote: [..] > > > Again HMM API can evolve, i am happy to help with any such change, given > > > it provides benefit to either mm or device driver (ie changing the HMM > > > just for the

Re: general protection fault in debugfs_create_files

2019-01-30 Thread Tetsuo Handa
mm: a.out Not tainted 5.0.0-rc4-next-20190130+ #744 [ 55.638349] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 04/13/2018 [ 55.644608] RIP: 0010:debugfs_create_files+0x5/0x60 [ 55.647245] Code: 00 48 8d bb 28 05 00 00 e8 f8 34 43 00 48 8d bb 1

linux-next: powerpcle qemu boot failure after merge of the akpm tree

2019-01-30 Thread Stephen Rothwell
Hi all, [I am guessing that is is something in Andrew's tree that has caused this.] My qemu boot of the powerpc pseries_le_defconfig config failed like this: htab_hash_mask= 0x1 - numa: NODE_DATA [mem 0x7ffe7000-0x7ffebfff] Kernel

Re: [PATCH] ipconfig: make the wait for carrier timeout configurable

2019-01-30 Thread David Miller
From: Martin Kepplinger Date: Mon, 28 Jan 2019 12:30:05 +0100 > From: Manfred Schlaegl > > commit 3fb72f1e6e61 ("ipconfig wait for carrier") added a > "wait for carrier" policy, with a fixed worst case maximum wait > of two minutes. > > This makes the wait for carrier timeout configurable (0

Re: [PATCH] Bluetooth: hci_uart: Switch pty driver to slave side in tty_set_termios()

2019-01-30 Thread Myungho Jung
On Wed, Jan 30, 2019 at 11:07:38AM +0100, Johan Hovold wrote: > On Sun, Jan 27, 2019 at 10:53:02PM -0800, Myungho Jung wrote: > > tty_set_termios() should be called with slave side of pty driver. So, If > > tty driver is pty master, it needs to be switched to ->link. > > I'm not sure that's the

Re: [PATCH v2] iio: adc: ti-ads7950: inconsistency with spi msg

2019-01-30 Thread Justin Chen
On Sat, Jan 26, 2019 at 10:30 AM Jonathan Cameron wrote: > > On Fri, 25 Jan 2019 10:20:22 -0800 > justinpo...@gmail.com wrote: > > > From: Justin Chen > > > > To read a channel we require 3 cycles to send, process, and receive > > the data. The transfer buffer for the third transaction is left

[PATCH v2] arm64: dts: qcom: sdm845: Add clocks and iommus to WCN3990 WLAN node

2019-01-30 Thread Bjorn Andersson
From: Douglas Anderson When commit be7019103469 ("dts: arm64/sdm845: Add WCN3990 WLAN module device node") was posted upstream no clocks were specified. However, when the pack was picked into the Chrome OS kernel tree (allegedly directly from the mailing list post) it had clock properties. I

Re: [PATCH] Bluetooth: Add NULL check for tiocmget() and tiocmset()

2019-01-30 Thread Myungho Jung
On Wed, Jan 30, 2019 at 10:59:38AM +0100, Johan Hovold wrote: > On Sun, Jan 27, 2019 at 10:59:13PM -0800, Myungho Jung wrote: > > tiocmget() and tiocmset() operations are optional and some tty drivers > > like pty miss the operations. We need NULL check before referencing > > them. > > Good

linux-next: build warning after merge of the akpm-current tree

2019-01-30 Thread Stephen Rothwell
Hi all, After merging the akpm-current tree, today's linux-next build (x86_64 allmodconfig) produced this warning: In file included from arch/x86/include/asm/percpu.h:45, from arch/x86/include/asm/current.h:6, from include/linux/sched.h:12, from

Re: [PATCH v5 07/10] remoteproc: q6v5-mss: Vote for rpmh power domains

2019-01-30 Thread Bjorn Andersson
On Wed 30 Jan 16:39 PST 2019, Bjorn Andersson wrote: > From: Rajendra Nayak > > With rpmh ARC resources being modelled as power domains with performance > state, we need to proxy vote on these for SDM845. > Add support to vote on multiple of them, now that genpd supports > associating mutliple

Re: [PATCH v5 08/10] remoteproc: q6v5-mss: Active powerdomain for SDM845

2019-01-30 Thread Bjorn Andersson
On Wed 30 Jan 16:39 PST 2019, Bjorn Andersson wrote: > The SDM845 MSS needs the load_state powerdomain voted for during the > duration of the MSS being powered on, to let the AOSS know that it may > not perform certain power save measures. So vote for this. > > Tested-by: Sibi Sankar >

Re: [PATCH V7 3/4] powerpc/mm/iommu: Allow migration of cma allocated pages during mm_iommu_do_alloc

2019-01-30 Thread Aneesh Kumar K.V
Michael Ellerman writes: > "Aneesh Kumar K.V" writes: > >> The current code doesn't do page migration if the page allocated is a >> compound page. >> With HugeTLB migration support, we can end up allocating hugetlb pages from >> CMA region. Also, THP pages can be allocated from CMA region.

[PATCH 1/2] mfd: at91-usart: Constify at91_usart_spi_subdev and at91_usart_serial_subdev

2019-01-30 Thread Axel Lin
They are never get changed, make them constant. While at it, fix indent as well. Signed-off-by: Axel Lin --- drivers/mfd/at91-usart.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/mfd/at91-usart.c b/drivers/mfd/at91-usart.c index

[PATCH 2/2] mfd: at91-usart: No need to copy mfd_cell in probe

2019-01-30 Thread Axel Lin
Use pointer instead. Signed-off-by: Axel Lin --- drivers/mfd/at91-usart.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/mfd/at91-usart.c b/drivers/mfd/at91-usart.c index 684d3a8db661..6a8351a4588e 100644 --- a/drivers/mfd/at91-usart.c +++

linux-next: manual merge of the akpm-current tree with the tip tree

2019-01-30 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the akpm-current tree got a conflict in: include/linux/sched.h between commit: 15917dc02841 ("sched: Remove stale PF_MUTEX_TESTER bit") from the tip tree and commit: ca299cb98649 ("mm/cma: add PF flag to force non cma alloc") from the akpm-current

Re: [PATCH V7 5/5] i2c: tegra: Add I2C interface timing support

2019-01-30 Thread Dmitry Osipenko
В Wed, 30 Jan 2019 08:01:36 -0800 Sowjanya Komatineni пишет: > This patch adds I2C interface timing registers support for > proper bus rate configuration along with meeting the i2c spec > setup and hold times based on the tuning performed on Tegra210, > Tegra186 and Tegra194 platforms. > >

Re: [PATCH v3 1/2] mm: add probe_user_read()

2019-01-30 Thread Michael Ellerman
Christophe Leroy writes: > In powerpc code, there are several places implementing safe > access to user data. This is sometimes implemented using > probe_kernel_address() with additional access_ok() verification, > sometimes with get_user() enclosed in a pagefault_disable()/enable() > pair, etc.

Re: [RESEND PATCH v2] arm64: dts: qcom: msm8998: Add rpmcc node

2019-01-30 Thread Sai Prakash Ranjan
On 1/30/2019 10:01 PM, Marc Gonzalez wrote: Add MSM8998 Resource Power Manager Clock Controller DT node. Reviewed-by: Jeffrey Hugo Reviewed-by: Bjorn Andersson Signed-off-by: Marc Gonzalez --- Detach this patch from UFS series Resend because SMTP server was blacklisted. ---

Re: [PATCH v3 2/2] powerpc: use probe_user_read()

2019-01-30 Thread Michael Ellerman
Christophe Leroy writes: > Instead of opencoding, use probe_user_read() to failessly > read a user location. > > Signed-off-by: Christophe Leroy > --- > v3: No change > > v2: Using probe_user_read() instead of probe_user_address() > > arch/powerpc/kernel/process.c | 12 +--- >

Re: [PATCH 09/10] mm/hmm: allow to mirror vma of a file on a DAX backed filesystem

2019-01-30 Thread Jerome Glisse
On Wed, Jan 30, 2019 at 07:28:12PM -0800, Dan Williams wrote: > On Wed, Jan 30, 2019 at 10:36 AM Jerome Glisse wrote: > [..] > > > > This > > > > is one of the motivation behind HMM ie have it as an impedence layer > > > > between mm and device drivers so that mm folks do not have to under- > > >

Re: [PATCH] arm64: dts: qcom: qcs404: Add rpmcc node

2019-01-30 Thread Vinod Koul
On 25-01-19, 10:14, Bjorn Andersson wrote: > Add the rpm clock controller node, to provide the low-noise baseband > clock for the USB PHYs, among other things. Reviewed-by: Vinod Koul -- ~Vinod

linux-next: build failure after merge of the ext3 tree

2019-01-30 Thread Stephen Rothwell
Hi Jan, After merging the ext3 tree, today's linux-next build (powerpc ppc44x_defconfig) failed like this: ld: fs/ext2/super.o: in function `ext2_fill_super': super.c:(.text+0x1494): undefined reference to `__divdi3' ld: super.c:(.text+0x14bc): undefined reference to `__divdi3' Caused by commit

[PATCH 1/3] slub: Fix comment spelling mistake

2019-01-30 Thread Tobin C. Harding
From: "Tobin C. Harding" SLUB include file contains spelling mistake. Fix up spelling mistake. Signed-off-by: Tobin C. Harding --- include/linux/slub_def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/slub_def.h b/include/linux/slub_def.h index

[PATCH 3/3] slub: Use C89 comment style

2019-01-30 Thread Tobin C. Harding
From: "Tobin C. Harding" SLUB include file uses a c99 comment style. In line with the rest of the kernel lets use c89 comment style. Use C89 comment style. Signed-off-by: Tobin C. Harding --- include/linux/slub_def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 2/3] slub: Capitialize comment string

2019-01-30 Thread Tobin C. Harding
From: "Tobin C. Harding" SLUB include file has particularly clean comments, one comment string is holding us back. Capitialize comment string. Signed-off-by: Tobin C. Harding --- include/linux/slub_def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 0/3] slub: Do trivial comments fixes

2019-01-30 Thread Tobin C. Harding
From: "Tobin C. Harding" Hi Christopher, Here is a trivial patchset to wet my toes. This is my first patchset to mm, if there are some mm specific nuances in relation to when in the dev cycle (if ever) that minor (*cough* trivial) pathsets are acceptable please say so This patchset fixes

[PATCH] staging: prefix header search paths with $(srctree)/

2019-01-30 Thread Masahiro Yamada
Currently, the Kbuild core manipulates header search paths in a crazy way [1]. To fix this mess, I want all Makefiles to add explicit $(srctree)/ to the search paths in the srctree. Some Makefiles are already written in that way, but not all. The goal of this work is to make the notation

Re: [PATCH V7 3/5] i2c: tegra: Add DMA Support

2019-01-30 Thread Dmitry Osipenko
В Thu, 31 Jan 2019 03:34:59 + Sowjanya Komatineni пишет: > > I2C_INT_ALL_PACKETS_XFER_COMPLETE shall be masked for the PIO mode > > I2C_INT_PACKET_XFER_COMPLETE shall be masked for the DMA mode, if > > I'm not missing something. > for packets with repeated start or continue xfer, >

Re: [PATCH 4/6] mfd: Add support for the MediaTek MT6358 PMIC

2019-01-30 Thread Pi-Hsun Shih
On Wed, Jan 30, 2019 at 5:19 PM Hsin-Hsiung Wang wrote: > > This adds support for the MediaTek MT6358 PMIC. This is a > multifunction device with the following sub modules: > > - Regulator > - RTC > - Codec > - Interrupt > > It is interfaced to the host controller using SPI interface > by a

[PATCH] drm: prefix header search paths with $(srctree)/

2019-01-30 Thread Masahiro Yamada
Currently, the Kbuild core manipulates header search paths in a crazy way [1]. To fix this mess, I want all Makefiles to add explicit $(srctree)/ to the search paths in the srctree. Some Makefiles are already written in that way, but not all. The goal of this work is to make the notation

Re: [PATCH v3 2/3] drivers: platform: goldfish: goldfish_address_space: add a driver

2019-01-30 Thread Roman Kiryanov
> Also, why does the other Android "emulator", cuttlefish, not need > special drivers like this and the other goldfish drivers? Shouldn't you > be using the same interfaces that they use that are already merged > upstream? > Actually, now that cuttlefish works on a mainline kernel, can't we just

[PATCH] usb: typec: tcpm: Export partner Source Capabilities

2019-01-30 Thread Kyle Tso
Provide a function to get the partner Source Capabilities. Signed-off-by: Kyle Tso --- drivers/usb/typec/tcpm/tcpm.c | 23 +++ include/linux/usb/tcpm.h | 1 + 2 files changed, 24 insertions(+) diff --git a/drivers/usb/typec/tcpm/tcpm.c b/drivers/usb/typec/tcpm/tcpm.c

Re: [PATCH] acpi_pm: Reduce PMTMR counter read contention

2019-01-30 Thread Zhenzhong Duan
On 2019/1/30 16:06, Thomas Gleixner wrote: On Tue, 22 Jan 2019, Zhenzhong Duan wrote: On a large system with many CPUs, using PMTMR as the clock source can have a significant impact on the overall system performance because of the following reasons: 1) There is a single PMTMR counter shared

Re: [patch 0/2] genirq, proc: Speedup /proc/stat interrupt statistics

2019-01-30 Thread Waiman Long
On 01/30/2019 05:00 PM, Thomas Gleixner wrote: > On Wed, 30 Jan 2019, Andrew Morton wrote: >> On Wed, 30 Jan 2019 13:31:30 +0100 Thomas Gleixner >> wrote: >> >>> Waiman reported that on large systems with a large amount of interrupts the >>> readout of /proc/stat takes a long time to sum up the

Re: [PATCH v5 15/20] memory: mtk-smi: Invoke pm runtime_callback to enable clocks

2019-01-30 Thread Yong Wu
On Wed, 2019-01-30 at 11:05 -0800, Evan Green wrote: > On Mon, Dec 31, 2018 at 7:59 PM Yong Wu wrote: > > > > This patch only move the clk_prepare_enable and config_port into the > > runtime suspend/resume callback. It doesn't change the code content > > and sequence. > > > > This is a preparing

edge case in posix file lock deadlock detection

2019-01-30 Thread Theodore Dubois
I'm having trouble figuring out how the kernel handles a particular case in deadlock detection on posix file locks. Here's the scenario: PID 1: locks byte 2 PID 3: locks byte 0 PID 2: locks byte 10 PID 1: locks byte 10 PID 2: locks bytes 0-2 inclusive The last step fails with EDEADLK, but I'm

RE: [PATCH V7 3/5] i2c: tegra: Add DMA Support

2019-01-30 Thread Sowjanya Komatineni
> I2C_INT_ALL_PACKETS_XFER_COMPLETE shall be masked for the PIO mode > I2C_INT_PACKET_XFER_COMPLETE shall be masked for the DMA mode, if I'm not > missing something. > for packets with repeated start or continue xfer, PACKET_XFER_COMPLETE will be triggers for packets with stop bit, both

[PATCH] kvm: vmx: Fix typos in vmentry/vmexit control setting

2019-01-30 Thread Yu Zhang
Previously, 'commit f99e3daf94ff ("KVM: x86: Add Intel PT virtualization work mode")' work mode' offered framework to support Intel PT virtualization. However, the patch has some typos in vmx_vmentry_ctrl() and vmx_vmexit_ctrl(), e.g. used wrong flags and wrong variable, which will cause the VM

  1   2   3   4   5   6   7   8   9   10   >