[PATCH 1/3] ntb_hw_switchtec: Remove redundant steps of switchtec_ntb_reinit_peer() function

2019-04-07 Thread Wesley Sheng
From: Joey Zhang When a re-initialization is caused by a link event, the driver will re-setup the shared memory window. But at that time, the shared memory is still valid, and it's unnecessary to free, reallocate and then initialize it again. We only need to reconfigure the hardware registers. Re

[PATCH 2/3] ntb_hw_switchtec: Skip unnecessary re-setup of shared memory window for crosslink case

2019-04-07 Thread Wesley Sheng
In case of NTB crosslink topology, the setting of shared memory window in the virtual partition doesn't reset on peer's reboot. So skip the unnecessary re-setup of shared memory window for that case. Signed-off-by: Wesley Sheng --- drivers/ntb/hw/mscc/ntb_hw_switchtec.c | 3 +++ 1 file changed,

[PATCH 3/3] ntb_hw_switchtec: Fix setup MW with failure bug

2019-04-07 Thread Wesley Sheng
From: Joey Zhang Switchtec does not support setting multiple MWs simultaneously. The driver takes a hardware lock to ensure that two peers are not doing this simultaneously and it fails if someone else takes the lock. In most cases, this is fine as clients only setup the MWs once on one side of

Re: [patch V2 28/29] x86/irq/64: Remap the IRQ stack with guard pages

2019-04-07 Thread Thomas Gleixner
On Sun, 7 Apr 2019, Andy Lutomirski wrote: > On Sun, Apr 7, 2019 at 3:44 PM Thomas Gleixner wrote: > > Actually we have: save_stack_trace() > > > > Like I did here: > > https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git/log/?h=WIP.x86/stackguards Kinda, but what that code wants is t

[PATCH 0/3] Redundant steps removal and bug fix of ntb_hw_switchtec

2019-04-07 Thread Wesley Sheng
Hi, Everyone, This patch series remove redundant steps and fix one bug of the ntb_hw_switchtec module. When a re-initialization is caused by a link event, the driver will re-setup the shared memory windows. But at that time, the shared memory is still valid, and it's unnecessary to free, realloc

Re: [PATCH V2 10/20] Documentation: devicetree: spi: add spi-lsbyte-first propery

2019-04-07 Thread Mark Brown
On Thu, Apr 04, 2019 at 05:14:09PM -0700, Sowjanya Komatineni wrote: > spi-lsbyte-first optional property allows SPI slaves to choose byte > order of little endian for transfers. Why make this a DT property - surely it's either a fixed property of the relevant devices if they are LSB first (in whi

Re: [PATCH V2 11/20] spi: expand mode support and add LSBYTE_FIRST mode

2019-04-07 Thread Mark Brown
On Thu, Apr 04, 2019 at 05:14:10PM -0700, Sowjanya Komatineni wrote: > Some SPI Master controllers support configuring Least significant byte > first or Most significant byte first order for transfers. Also some SPI > slave devices expect bytes to be in Least significant first order and > some devi

Re: [PATCH v2 1/3] ASoC: rt5677: allow multiple interrupt sources

2019-04-07 Thread Mark Brown
On Fri, Apr 05, 2019 at 02:42:55PM -0600, Fletcher Woodruff wrote: > This patch allows headphone plug detect and mic present > detect to be enabled at the same time. This patch implements > an irq_chip with irq_domain directly instead of using > regmap_irq, so that interrupt source line polarities

Re: [PATCH V2 14/20] spi: tegra114: add support for gpio based cs

2019-04-07 Thread Mark Brown
On Thu, Apr 04, 2019 at 05:14:13PM -0700, Sowjanya Komatineni wrote: > + if (cstate->cs_gpio_valid) { > + int val = (spi->mode & SPI_CS_HIGH) ? 1 : 0; > + > + gpio_set_value(spi->cs_gpio, val); > + } This is adding new usage of the n

[PATCH 0/2] Fix two bugs of switchtec module

2019-04-07 Thread Wesley Sheng
Hi, Everyone, This patch series fix two bugs of switchtec module. The first is introduced by device spec definition issue: the maximum supported PCIe function number by hardware should be 255 instead of the false number of 48. Rectify it in driver and for backward compatible, a new ioctl and co

[PATCH 2/2] switchtec: Fix unintended mask of MRPC event

2019-04-07 Thread Wesley Sheng
When running application tool switchtec-user's `firmware update` and `event wait` commands concurrently, sometimes the firmware update speed reduced evidently. It is because when the MRPC event happened right after MRPC event occurrence check but before event mask loop reach to its header register

[PATCH 1/2] switchtec: Fix false maximum supported PCIe function number issue

2019-04-07 Thread Wesley Sheng
The hardware supports up to 255 PFFs and the driver only supports 48, so this patch updates the driver to support them all. To be backward compatible, a new ioctl and corresponding data structure are created, while keep the deprecated one. Signed-off-by: Wesley Sheng --- drivers/pci/switch/switc

Hello Beautiful

2019-04-07 Thread Jack
Hi Dear, my name is Jack and i am seeking for a relationship in which i will feel loved after a series of failed relationships. I am hoping that you would be interested and we could possibly get to know each other more if you do not mind. I am open to answering questions from you as i think my

Re: [PATCH] alarmtimer: return correct remaining time

2019-04-07 Thread Mukesh Ojha
On 4/8/2019 9:45 AM, Andrei Vagin wrote: To calculate a remaining time, we need to subtract the current time from the expiration time. Currently, arguments of ktime_sub are swapped. Signed-off-by: Andrei Vagin --- kernel/time/alarmtimer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(

Re: shmem_recalc_inode: unable to handle kernel NULL pointer dereference

2019-04-07 Thread Hugh Dickins
On Fri, 5 Apr 2019, Konstantin Khlebnikov wrote: > On 05.04.2019 5:12, Hugh Dickins wrote: > > Hi Alex, could you please give the patch below a try? It fixes a > > problem, but I'm not sure that it's your problem - please let us know. > > > > I've not yet written up the commit description, and thi

Re: [PATCH 1/2] arm64: dts: allwinner: a64-amarula-relic: Add GT5663 CTP node

2019-04-07 Thread Chen-Yu Tsai
On Mon, Apr 8, 2019 at 1:54 PM Jagan Teki wrote: > > Add Goodix GT5663 capacitive touch controller node on > Amarula A64-Relic board. > > The CTP connected to board with, > - SDA, SCK from i2c1 > - GPIO-LD0 as AVDD28 supply > - PH4 gpio as interrupt pin > - PH8 gpio as reset pin > - X axis is inve

Re: [PATCH 6/6] arm64/mm: Enable ZONE_DEVICE

2019-04-07 Thread Anshuman Khandual
On 04/08/2019 09:33 AM, Ira Weiny wrote: > On Sun, Apr 07, 2019 at 03:11:00PM -0700, Dan Williams wrote: >> On Thu, Apr 4, 2019 at 2:47 AM Robin Murphy wrote: >>> >>> On 04/04/2019 06:04, Dan Williams wrote: On Wed, Apr 3, 2019 at 9:42 PM Anshuman Khandual wrote: > > > >>

Re: [PATCH] x86/reboot: Use efi reboot for Acer TravelMate X514-51T

2019-04-07 Thread Jian-Hong Pan
Thomas Gleixner 於 2019年4月6日 週六 上午5:14寫道: > > On Mon, 1 Apr 2019, Jian-Hong Pan wrote: > > +/* > > + * Some machines require the "reboot=e" commandline options > > + */ > > +static int __init set_efi_reboot(const struct dmi_system_id *d) > > +{ > > + if (reboot_type != BOOT_EFI) { > > +

[PATCH v4 2/2] x86/boot/KASLR: skip the specified crashkernel region

2019-04-07 Thread Pingfan Liu
crashkernel=x@y or or =range1:size1[,range2:size2,...]@offset option may fail to reserve the required memory region if KASLR puts kernel into the region. To avoid this uncertainty, asking KASLR to skip the required region. Signed-off-by: Pingfan Liu Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Boris

[PATCH v4 1/2] kernel/crash_core: separate the parsing routines to lib/parse_crashkernel.c

2019-04-07 Thread Pingfan Liu
Beside kernel, at early boot stage, the KASLR code also needs to parse the crashkernel=x@y or crashkernel=ramsize-range:size[,...][@offset] option, and avoid to put randomized kernel in the region. Extracting the parsing related routines to lib/parse_crashkernel.c, so it will be handy included by

[PATCH v4 0/2] x86/boot/KASLR: skip the specified crashkernel region

2019-04-07 Thread Pingfan Liu
crashkernel=x@y or or =range1:size1[,range2:size2,...]@offset option may fail to reserve the required memory region if KASLR puts kernel into the region. To avoid this uncertainty, asking KASLR to skip the required region. And the parsing routine can be re-used at this early boot stage. Cc: Thomas

Re: [Update][PATCH v3 3/4] cpufreq: schedutil: Simplify iowait boosting

2019-04-07 Thread Viresh Kumar
On 28-03-19, 11:33, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > There is not reason for the minimum iowait boost value in the > schedutil cpufreq governor to depend on the available range of CPU > frequencies. In fact, that dependency is generally confusing, > because it causes the io

Re: Regression in suspend-to-ram (TPM related) with 5.1-rc1 (BISECTED)

2019-04-07 Thread Martin Kepplinger
On 21.03.19 14:41, Jarkko Sakkinen wrote: > On Tue, Mar 19, 2019 at 04:03:37PM -0700, Paul Zimmerman wrote: >> So I bisected this down to: >> >> # first bad commit: [a3fbfae82b4cb3ff9928e29f34c64d0507cad874] tpm: >> take TPM chip power gating out of tpm_transmit() >> >> but this doesn't revert clea

[PATCH 1/2] arm64: dts: allwinner: a64-amarula-relic: Add GT5663 CTP node

2019-04-07 Thread Jagan Teki
Add Goodix GT5663 capacitive touch controller node on Amarula A64-Relic board. The CTP connected to board with, - SDA, SCK from i2c1 - GPIO-LD0 as AVDD28 supply - PH4 gpio as interrupt pin - PH8 gpio as reset pin - X axis is inverted - Y axis is inverted Signed-off-by: Jagan Teki --- .../allwin

[PATCH 2/2] arm64: dts: allwinner: a64-oceanic-5205-5inmfd: Enable GT911 CTP

2019-04-07 Thread Jagan Teki
Goodix GT911 CTP is bound with Oceanic 5205 5inMFD board. The CTP connected to board with, - SDA, SCK from i2c0 - GPIO-LD0 as AVDD28 supply - PH4 gpio as interrupt pin - PH11 gpio as reset pin - X axis is inverted - Y axis is inverted Signed-off-by: Jagan Teki --- .../sun50i-a64-oceanic-5205-5i

linux-next: Fixes tag needs some work in the nvdimm-fixes tree

2019-04-07 Thread Stephen Rothwell
Hi Dan, In commit 7c33bd4e3e97 ("libnvdimm/pmem: fix a possible OOB access when read and write pmem") Fixes tag Fixes: 98cc093cba1e "(block, THP: make block_device_operations.rw_page support THP)" has these problem(s): - Subject does not match target commit subject Just use

Re: Adding plain accesses and detecting data races in the LKMM

2019-04-07 Thread Andrea Parri
> > > > I'd have: > > > > > > > > *x = 1; /* A */ > > > > smp_mb__before_atomic(); > > > > r0 = xchg_relaxed(x, 2); /* B (read or write part) */ > > > > > > > > => (A ->barrier B) > > > > > > Perhaps so. It wasn't clear initially how these should be treated, so >

Re: [PATCH v4 1/2] drm/bridge: sil_sii8620: make remote control optional.

2019-04-07 Thread Andrzej Hajda
On 07.04.2019 07:03, Ronald Tschalär wrote: > commit d6abe6df706c (drm/bridge: sil_sii8620: do not have a dependency > of RC_CORE) changed the driver to select both RC_CORE and INPUT. > However, this causes problems with other drivers, in particular an input > driver that depends on MFD_INTEL_LPSS_

[PATCH] intel-lpss: Set the device in reset state when init

2019-04-07 Thread Binbin Wu
In virtualized setup, when system reboots due to warm reset interrupt storm is seen. Call Trace: dump_stack+0x70/0xa5 __report_bad_irq+0x2e/0xc0 note_interrupt+0x248/0x290 ? add_interrupt_randomness+0x30/0x220 handle_irq_event_percpu+0x54/0x80 handle_irq_event+0x39/0x60 handle_fasteoi_irq+0x91/0x

Re: [RESENT PATCH] mm/memory_hotplug: Do not unlock when fails to take the device_hotplug_lock

2019-04-07 Thread Michal Hocko
On Mon 08-04-19 12:07:17, zhong jiang wrote: > When adding the memory by probing memory block in sysfs interface, there is an > obvious issue that we will unlock the device_hotplug_lock when fails to takes > it. > > That issue was introduced in Commit 8df1d0e4a265 > ("mm/memory_hotplug: make add_

linux-next: Tree for Apr 8

2019-04-07 Thread Stephen Rothwell
Hi all, Changes since 20190405: The kspp-gustavo tree gained a conflict against Linus' tree. The drm tree inherited the build failure from the drm-misc tree for which I disabled a driver. The audit tree gained a conflict against Linus' tree. The staging tree gained a conflict against the stagi

Re: [PATCH] cpufreq: stats: Use lock by stat to replace global spin lock

2019-04-07 Thread Viresh Kumar
On 26-03-19, 11:43, Matthias Kaehlcke wrote: > On Mon, Mar 25, 2019 at 03:29:33PM +0800, Kyle Lin wrote: > > Stats is updated by each policy, using the lock by stat can > > reduce the contention. > > > > Signed-off-by: Kyle Lin > > --- > > drivers/cpufreq/cpufreq_stats.c | 15 --- > >

Re: [PATCH] slab: fix a crash by reading /proc/slab_allocators

2019-04-07 Thread Linus Torvalds
On Sat, Apr 6, 2019 at 12:59 PM Qian Cai wrote: > > The commit 510ded33e075 ("slab: implement slab_root_caches list") > changes the name of the list node within "struct kmem_cache" from > "list" to "root_caches_node", but leaks_show() still use the "list" > which causes a crash when reading /proc/

[PATCH 2/2] ARM: dts: exynos: Remove console argument from bootargs

2019-04-07 Thread Krzysztof Kozlowski
Remove the "console=ttySAC..." argument from DTSes having a proper stdout-path property. To make the code functionally equivalent, add the serial port baud rate and parity. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos4210-origen.dts | 4 ++-- arch/arm/boot/dts/exynos4

[PATCH 1/2] ARM: dts: exynos: Use stdout-path property instead of console in bootargs

2019-04-07 Thread Krzysztof Kozlowski
Replacing bootargs with stdout-path property in chosen node allows using early console by adding just 'earlycon' parameter to the kernel command line. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos4412-trats2.dts| 3 ++- arch/arm/boot/dts/exynos5250-smdk5250.dts | 3 ++- ar

Re: [PATCH] slab: fix a crash by reading /proc/slab_allocators

2019-04-07 Thread Tobin C. Harding
On Sat, Apr 06, 2019 at 06:59:01PM -0400, Qian Cai wrote: > The commit 510ded33e075 ("slab: implement slab_root_caches list") > changes the name of the list node within "struct kmem_cache" from > "list" to "root_caches_node", but leaks_show() still use the "list" > which causes a crash when reading

[PATCH] pinctrl:intel: Retain HOSTSW_OWN for requested gpio pin

2019-04-07 Thread Chris Chiu
The touchpad of the ASUS laptops E403NA, X540NA, X541NA are not responsive after suspend/resume. The following error message shows after resume. i2c_hid i2c-ELAN1200:00: failed to reset device. On these laptops, the touchpad interrupt is connected via a GPIO pin which is controlled by Intel pinct

[PATCH] alarmtimer: return correct remaining time

2019-04-07 Thread Andrei Vagin
To calculate a remaining time, we need to subtract the current time from the expiration time. Currently, arguments of ktime_sub are swapped. Signed-off-by: Andrei Vagin --- kernel/time/alarmtimer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/time/alarmtimer.c b/ker

Re: [PATCH] mm/memory_hotplug: Do not unlock when fails to take the device_hotplug_lock

2019-04-07 Thread zhong jiang
I am sorry, It is incorrect. please ignore the patch. I will resent it. Thanks, zhong jiang On 2019/4/8 12:00, zhong jiang wrote: > When adding the memory by probing memory block in sysfs interface, there is an > obvious issue that we will unlock the device_hotplug_lock when fails to takes > i

[RESENT PATCH] mm/memory_hotplug: Do not unlock when fails to take the device_hotplug_lock

2019-04-07 Thread zhong jiang
When adding the memory by probing memory block in sysfs interface, there is an obvious issue that we will unlock the device_hotplug_lock when fails to takes it. That issue was introduced in Commit 8df1d0e4a265 ("mm/memory_hotplug: make add_memory() take the device_hotplug_lock") We should drop o

Re: [PATCH 6/6] arm64/mm: Enable ZONE_DEVICE

2019-04-07 Thread Ira Weiny
On Sun, Apr 07, 2019 at 03:11:00PM -0700, Dan Williams wrote: > On Thu, Apr 4, 2019 at 2:47 AM Robin Murphy wrote: > > > > On 04/04/2019 06:04, Dan Williams wrote: > > > On Wed, Apr 3, 2019 at 9:42 PM Anshuman Khandual > > > wrote: > > >> > > >> > > >> > > >> On 04/03/2019 07:28 PM, Robin Murphy

[PATCH] mm/memory_hotplug: Do not unlock when fails to take the device_hotplug_lock

2019-04-07 Thread zhong jiang
When adding the memory by probing memory block in sysfs interface, there is an obvious issue that we will unlock the device_hotplug_lock when fails to takes it. That issue was introduced in Commit 8df1d0e4a265 ("mm/memory_hotplug: make add_memory() take the device_hotplug_lock") We should drop o

Re: [PATCH] ACPI / LPSS: Don't skip late system PM ops for hibernate on BYT/CHT

2019-04-07 Thread Kai Heng Feng
at 4:58 AM, Robert R. Howell wrote: On 4/3/19 2:54 AM, Hans de Goede wrote: Hi, On 03-04-19 07:43, Kai-Heng Feng wrote: i2c-designware-platdrv fails to work after the system restored from hibernation: [ 272.775692] i2c_designware 80860F41:00: Unknown Synopsys component type: 0x

Re: [RFC PATCH v2 1/3] arch/x86: add the support of ACRN guest

2019-04-07 Thread Zhao, Yakui
On 2019年04月06日 03:01, Thomas Gleixner wrote: Zhao, On Tue, 26 Mar 2019, Zhao Yakui wrote: Vs. the Subject line: arch/x86: add the support of ACRN guest The proper prefix for x86 is surprisingly 'x86:' not 'arch/x86:'. Also please start the first word after the colon with an upper case lette

Re: [PATCH] dt-bindings: cpu: Fix JSON schema

2019-04-07 Thread Sugaya, Taichi
On 2019/04/08 7:13, Olof Johansson wrote: On Tue, Apr 02, 2019 at 08:42:02PM +0900, Sugaya, Taichi wrote: Hi, On 2019/04/01 22:02, Sugaya, Taichi wrote: Hi, On 2019/04/01 20:35, Maxime Ripard wrote: Hi, On Mon, Apr 01, 2019 at 07:52:06PM +0900, Sugaya, Taichi wrote: On 2019/04/01 18:10,

Re: [RFC PATCH v2 2/3] arch/x86/acrn: Use HYPERVISOR_CALLBACK_VECTOR for Acrn upcall vector

2019-04-07 Thread Zhao, Yakui
On 2019年04月06日 03:07, Thomas Gleixner wrote: On Tue, 26 Mar 2019, Zhao Yakui wrote: diff --git a/arch/x86/include/asm/hardirq.h b/arch/x86/include/asm/hardirq.h index d9069bb..a8f4d08 100644 --- a/arch/x86/include/asm/hardirq.h +++ b/arch/x86/include/asm/hardirq.h @@ -37,7 +37,8 @@ typedef st

Re: [RFC PATCH v2 3/3] arch/x86/acrn: add hypercall for acrn_guest

2019-04-07 Thread Zhao, Yakui
On 2019年04月06日 03:19, Thomas Gleixner wrote: On Tue, 26 Mar 2019, Zhao Yakui wrote: When acrn_hypervisor is detected, the hypercall is needed so that the acrn guest can query/config some settings. For example: it can be used to query the resources in hypervisor and manage the CPU/memory/devi

linux-next: manual merge of the staging tree with the staging.current tree

2019-04-07 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the staging tree got a conflict in: drivers/iio/industrialio-buffer.c between commit: 20ea39ef9f2f ("iio: Fix scan mask selection") from the staging.current tree and commit: 3862828a903d ("iio: buffer: Switch to bitmap_zalloc()") from the staging tre

[PATCH 2/2] lib/scatterlist.c: add more commit for sg_alloc_table_from_pages

2019-04-07 Thread Huang Shijie
The get_user_pages_fast() may mess up the page order in @pages array, We will get the wrong DMA results in this case. Add more commit to clarify it. Signed-off-by: Huang Shijie --- lib/scatterlist.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/scatterlist.c b/lib/scatterlist.c ind

[PATCH 1/2] mm/gup.c: fix the wrong comments

2019-04-07 Thread Huang Shijie
When CONFIG_HAVE_GENERIC_GUP is defined, the kernel will use its own get_user_pages_fast(). In the following scenario, we will may meet the bug in the DMA case: . get_user_pages_fast(start,,, pages); .. sg_alloc_table_from

Re: [PATCH v13 1/3] /proc/pid/status: Add support for architecture specific output

2019-04-07 Thread Li, Aubrey
On 2019/4/8 9:52, Andy Lutomirski wrote: > On Sun, Apr 7, 2019 at 5:38 PM Li, Aubrey wrote: >> >> On 2019/4/8 1:34, Andy Lutomirski wrote: >>> On Fri, Apr 5, 2019 at 12:32 PM Thomas Gleixner wrote: On Sun, 24 Feb 2019, Aubrey Li wrote: > The architecture specific information of

Re: [PATCH v2] srcu: Remove unused vmlinux srcu linker entries

2019-04-07 Thread Paul E. McKenney
On Sun, Apr 07, 2019 at 08:47:19PM -0400, Joel Fernandes (Google) wrote: > The SRCU for modules optimization (commit title "srcu: Allocate per-CPU > data for DEFINE_SRCU() in modules") introduced vmlinux linker entries > which is unused since it applies only to the built-in vmlinux. So remove > it

Re: [patch V2 28/29] x86/irq/64: Remap the IRQ stack with guard pages

2019-04-07 Thread Andy Lutomirski
On Sun, Apr 7, 2019 at 3:44 PM Thomas Gleixner wrote: > > On Sat, 6 Apr 2019, Andy Lutomirski wrote: > > On Fri, Apr 5, 2019 at 8:11 AM Thomas Gleixner wrote: > > > > > > From: Andy Lutomirski > > > > > > The IRQ stack lives in percpu space, so an IRQ handler that overflows it > > > will overwri

Re: [PATCH] slab: fix a crash by reading /proc/slab_allocators

2019-04-07 Thread Qian Cai
On 4/7/19 9:59 PM, Tobin C. Harding wrote: > On Sat, Apr 06, 2019 at 06:59:01PM -0400, Qian Cai wrote: >> The commit 510ded33e075 ("slab: implement slab_root_caches list") >> changes the name of the list node within "struct kmem_cache" from >> "list" to "root_caches_node" > > Are you sure? It l

RE: [EXT] Re: [PATCH] iio: accell: mma8452: free iio trigger pointer when cleanup

2019-04-07 Thread Anson Huang
Hi, Jonathan Best Regards! Anson Huang > -Original Message- > From: Jonathan Cameron [mailto:ji...@kernel.org] > Sent: 2019年4月7日 18:40 > To: Anson Huang > Cc: knaac...@gmx.de; l...@metafoo.de; pme...@pmeerw.net; Leonard > Crestez ; gust...@embeddedor.com; > mart...@posteo.de; rtres...@el

Re: [PATCH v9 1/2] dt-bindings: misc: aspeed-p2a-ctrl: add support

2019-04-07 Thread Andrew Jeffery
On Fri, 5 Apr 2019, at 01:55, Patrick Venture wrote: > Document the ast2400, ast2500 PCI-to-AHB bridge control driver bindings. > > Signed-off-by: Patrick Venture > Reviewed-by: Rob Herring > --- > Changes for v9: > - Added missing details about syscon parent > Changes for v8: > - None > Cha

Re: [PATCH] slab: fix a crash by reading /proc/slab_allocators

2019-04-07 Thread Tobin C. Harding
On Sat, Apr 06, 2019 at 06:59:01PM -0400, Qian Cai wrote: > The commit 510ded33e075 ("slab: implement slab_root_caches list") > changes the name of the list node within "struct kmem_cache" from > "list" to "root_caches_node" Are you sure? It looks to me like it adds a member to the memcg_cache_arr

Re: [PATCH v13 1/3] /proc/pid/status: Add support for architecture specific output

2019-04-07 Thread Andy Lutomirski
On Sun, Apr 7, 2019 at 5:38 PM Li, Aubrey wrote: > > On 2019/4/8 1:34, Andy Lutomirski wrote: > > On Fri, Apr 5, 2019 at 12:32 PM Thomas Gleixner wrote: > >> > >> On Sun, 24 Feb 2019, Aubrey Li wrote: > >> > >>> The architecture specific information of the running processes could > >>> be useful

Re: [PATCH 08/14] powercap/intel_rapl: Support multi-die/package

2019-04-07 Thread Zhang Rui
On 五, 2019-04-05 at 20:27 +0200, Thomas Gleixner wrote: > On Tue, 26 Feb 2019, Len Brown wrote: > > > > > From: Zhang Rui > > > > On the new dual-die/package systems, the RAPL MSR becomes die- > > scope. > > Thus instead of one powercap device per physical package, now there > > should be one p

linux-next: manual merge of the audit tree with Linus' tree

2019-04-07 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the audit tree got conflicts in: arch/mips/kernel/ptrace.c kernel/seccomp.c between commit: b35f549df1d7 ("syscalls: Remove start and number from syscall_get_arguments() args") from Linus' tree and commit: 16add411645c ("syscall_get_arch: add "stru

Re: Using device tree overlays in Linux

2019-04-07 Thread Chris Packham
Hi Frank, On 8/04/19 1:05 PM, Frank Rowand wrote: > Hi Chris, > > On 4/3/19 6:50 PM, Chris Packham wrote: >> Hi, >> >> I'm implementing support for some modular Linux based systems using >> device tree overlays. The code is working but it seems a little more >> fiddly that than it should be so I'

Re: [PATCH] mm/gup.c: fix the wrong comments

2019-04-07 Thread Huang Shijie
On Thu, Apr 04, 2019 at 09:50:47AM -0700, Ira Weiny wrote: > On Thu, Apr 04, 2019 at 03:23:47PM +0800, Huang Shijie wrote: > > When CONFIG_HAVE_GENERIC_GUP is defined, the kernel will use its own > > get_user_pages_fast(). > > > > In the following scenario, we will may meet the bug in the DMA case

Re: [PATCH] of: Documentation: Correct return value from of_overlay_fdt_apply

2019-04-07 Thread Frank Rowand
On 4/3/19 7:25 PM, Chris Packham wrote: > The return from of_overlay_fdt_apply() just indicates success or fail. > The cookie is returned via reference. > > Signed-off-by: Chris Packham > --- > Documentation/devicetree/overlay-notes.txt | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >

Re: Using device tree overlays in Linux

2019-04-07 Thread Frank Rowand
Hi Chris, On 4/3/19 6:50 PM, Chris Packham wrote: > Hi, > > I'm implementing support for some modular Linux based systems using > device tree overlays. The code is working but it seems a little more > fiddly that than it should be so I'm wondering if I'm doing it right. Let me start by saying

Re: [PATCH] kprobes: fix compilation when KPROBE_EVENTS is enabled without kretpobes

2019-04-07 Thread Masami Hiramatsu
On Sat, 6 Apr 2019 17:55:43 +0200 Sven Schnelle wrote: > While implementing kprobes on PA-RISC (without kretprobes) compilation > fails when CONFIG_KPROBE_EVENTS is enabled: > > kernel/trace/trace_kprobe.o: in function `trace_kprobe_create': > kernel/trace/trace_kprobe.c:666: undefined referenc

[PATCH v2] srcu: Remove unused vmlinux srcu linker entries

2019-04-07 Thread Joel Fernandes (Google)
The SRCU for modules optimization (commit title "srcu: Allocate per-CPU data for DEFINE_SRCU() in modules") introduced vmlinux linker entries which is unused since it applies only to the built-in vmlinux. So remove it to prevent any space usage due to the 8 byte alignment it added. vmlinux.lds.h ha

Re: [PATCH v13 1/3] /proc/pid/status: Add support for architecture specific output

2019-04-07 Thread Li, Aubrey
On 2019/4/7 23:46, Alexey Dobriyan wrote: > On Sun, Apr 07, 2019 at 09:02:38PM +0800, Li, Aubrey wrote: >> On 2019/4/7 5:41, Alexey Dobriyan wrote: >>> On Fri, Apr 05, 2019 at 09:32:35PM +0200, Thomas Gleixner wrote: > +/* Add support for architecture specific output in /proc/pid/status */

[PATCH] srcu: Remove unused vmlinux srcu linker entries

2019-04-07 Thread Joel Fernandes (Google)
The SRCU for modules optimization introduced vmlinux linker entries which is unused since it applies only to the built-in vmlinux. So remove it to prevent any space usage due to the 8 byte alignment it added. Tested with SRCU torture_type and rcutorture. Put prints in module loader to confirm it i

Re: [PATCH v13 1/3] /proc/pid/status: Add support for architecture specific output

2019-04-07 Thread Li, Aubrey
On 2019/4/8 1:34, Andy Lutomirski wrote: > On Fri, Apr 5, 2019 at 12:32 PM Thomas Gleixner wrote: >> >> On Sun, 24 Feb 2019, Aubrey Li wrote: >> >>> The architecture specific information of the running processes could >>> be useful to the userland. Add support to examine process architecture >>> s

Linux 5.1-rc4

2019-04-07 Thread Linus Torvalds
Another week, another rc. Smaller than rc3, I'm happy to say. Nothing particularly big in here, just a number of small things all over. And it really is all over. Drivers are about a third (networking, block, gpu, scsi), with the rest being a mix of arch updates, filesystem updates, documentation

Re: [PATCH] arm64: ptrace: Add function argument access API

2019-04-07 Thread Masami Hiramatsu
Hi Will, On Wed, 3 Apr 2019 13:06:49 +0100 Will Deacon wrote: > On Mon, Mar 18, 2019 at 04:59:02PM +0900, Masami Hiramatsu wrote: > > Add regs_get_argument() which returns N th argument of the function > > call. On arm64, it supports up to 8th argument. > > Note that this chooses most probably a

Dear Friend (Assalamu Alaikum),

2019-04-07 Thread AISHA GADDAFI
-- Dear Friend (Assalamu Alaikum), I came across your e-mail contact prior a private search while in need of your assistance. My name is Aisha Al-Qaddafi a single Mother and a Widow with three Children. I am the only biological Daughter of late Libyan President (Late Colonel Muammar Gaddafi). I

Re: [PATCH 1/3] fs: stream_open - opener for stream-like files so that read and write can run simultaneously without deadlock

2019-04-07 Thread Linus Torvalds
On Sun, Apr 7, 2019 at 10:04 AM Kirill Smelkov wrote: > > Fixing regression on FUSE side is my reason to do this whole work - > that's why I care about it the most and ask. Yeah, we can do the actual FUSE fix, I think. Preferably through the FUSE tree. Miklos? Linus

Re: [GIT PULL] ARM: SoC fixes

2019-04-07 Thread pr-tracker-bot
The pull request you sent on Sun, 7 Apr 2019 15:50:20 -0700: > git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git tags/armsoc-fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/d8491223bc243b960ee1c4a8aa5219eca0d69acf Thank you! -- Deet-doot-dot, I am a bot

Re: [RFC][PATCH 0/3] tracing: Make error_log per instance

2019-04-07 Thread Masami Hiramatsu
Hi Steve, Sorry for replying late. On Tue, 02 Apr 2019 14:29:51 -0400 Steven Rostedt wrote: > Hi Tom, > > I noticed that you created an error_log file in every instance, but > they all show the same errors. These three patches make it so that > the errors appear in the instance directory that

[PATCH v2] Input: i8042 - disable KBD port on Razer Blade Stealth V2 (2017 model)

2019-04-07 Thread Lyude Paul
The late 2017 model of the Razer Blade Stealth has a built-in USB keyboard, but for some reason the BIOS exposes an i8042 controller with a connected KBD port. While this fake AT Keyboard device doesn't appear to report any events, attempting to change the state of the caps lock LED on it from on t

Re: [PATCH 03/16] staging: m57621-mmc: delete driver from the tree.

2019-04-07 Thread NeilBrown
On Wed, Apr 03 2019, George Hilliard wrote: > On Tue, Apr 2, 2019 at 3:45 PM Christian Lütke-Stetzkamp > wrote: >> There are two other larger differences that I found during my >> work. One is that drivers/mmc/host/mtk-sd.c has much more features, >> like voltage and clock handling and some suppo

[PATCH 3/5] x86/MCE/AMD: Don't cache block addresses on SMCA systems

2019-04-07 Thread Ghannam, Yazen
From: Yazen Ghannam On legacy systems, the addresses of the MCA_MISC* registers need to be recursively discovered based on a Block Pointer field in the registers. On Scalable MCA systems, the register space is fixed, and particular addresses can be derived by regular offsets for bank and registe

[PATCH 4/5] x86/MCE: Make number of MCA banks per_cpu

2019-04-07 Thread Ghannam, Yazen
From: Yazen Ghannam The number of MCA banks is provided per logical CPU. Historically, this number has been the same across all CPUs, but this is not an architectural guarantee. Future AMD systems may have MCA bank counts that vary between logical CPUs in a system. This issue was partially addre

[PATCH 0/5] Handle MCA banks in a per_cpu way

2019-04-07 Thread Ghannam, Yazen
From: Yazen Ghannam The focus of this patchset is define and use the MCA bank structures and bank count per logical CPU. With the exception of patch 4, this set applies to systems in production today. Patch 1: Moves the declaration of struct mce_banks[] to the only file it's used. Patch 2: Spl

[PATCH 5/5] x86/MCE: Save MCA control bits that get set in hardware

2019-04-07 Thread Ghannam, Yazen
From: Yazen Ghannam The OS is expected to write all bits in MCA_CTL. However, only implemented bits get set in the hardware. Read back MCA_CTL so that the value in the hardware is saved and reported through sysfs. Signed-off-by: Yazen Ghannam --- arch/x86/kernel/cpu/mce/core.c | 15 ++

[PATCH 2/5] x86/MCE: Handle MCA controls in a per_cpu way

2019-04-07 Thread Ghannam, Yazen
From: Yazen Ghannam Current AMD systems have unique MCA banks per logical CPU even though the type of the banks may all align to the same bank number. Each CPU will have control of a set of MCA banks in the hardware and these are not shared with other CPUs. For example, bank 0 may be the Load-St

[PATCH 1/5] x86/MCE: Make struct mce_banks[] static

2019-04-07 Thread Ghannam, Yazen
From: Yazen Ghannam The struct mce_banks[] array is only used in mce/core.c so move the definition of struct mce_bank to mce/core.c and make the array static. Also, change the "init" field to bool type. Signed-off-by: Yazen Ghannam --- arch/x86/kernel/cpu/mce/core.c | 11 ++- arch

Re: [GIT PULL] ARM: SoC fixes

2019-04-07 Thread Olof Johansson
On Sun, Apr 7, 2019 at 3:50 PM Olof Johansson wrote: > > Hi Linus, > > The following changes since commit 79a3aaa7b82e3106be97842dedfd8429248896e6: > > Linux 5.1-rc3 (2019-03-31 14:39:29 -0700) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/soc/so

Re: [PATCH] Input: i8042 - disable KBD port on Late-2016 Razer Blade Stealth

2019-04-07 Thread Lyude Paul
On Sun, 2019-04-07 at 15:10 -0700, Dmitry Torokhov wrote: > Hi Lyude, > > On Sun, Apr 07, 2019 at 05:37:34PM -0400, Lyude Paul wrote: > > The late 2016 model of the Razer Blade Stealth has a built-in USB > > keyboard, but for some reason the BIOS exposes an i8042 controller with > > a connected KB

Re: [GIT PULL v2] LM3532 backlight support improvements and relocation

2019-04-07 Thread Pavel Machek
Hi! > > Changes since v1: > > > > - synchronized DT label properties in DT bindings with what has been agreed > > for the patch "ARM: dts: omap4-droid4: Update backlight dt properties" > > > > The following changes since commit 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b: > > > > Linux 5.1-rc1

[GIT PULL] ARM: SoC fixes

2019-04-07 Thread Olof Johansson
Hi Linus, The following changes since commit 79a3aaa7b82e3106be97842dedfd8429248896e6: Linux 5.1-rc3 (2019-03-31 14:39:29 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git tags/armsoc-fixes for you to fetch changes up to 9a8f32038a74cb

Re: [patch V2 28/29] x86/irq/64: Remap the IRQ stack with guard pages

2019-04-07 Thread Thomas Gleixner
On Sat, 6 Apr 2019, Andy Lutomirski wrote: > On Fri, Apr 5, 2019 at 8:11 AM Thomas Gleixner wrote: > > > > From: Andy Lutomirski > > > > The IRQ stack lives in percpu space, so an IRQ handler that overflows it > > will overwrite other data structures. > > > > Use vmap() to remap the IRQ stack so

Re: [PATCH] ARM: milbeaut: fix build with !CONFIG_HOTPLUG_CPU

2019-04-07 Thread Olof Johansson
On Wed, Mar 13, 2019 at 10:19:16PM +0100, Arnd Bergmann wrote: > When HOTPLUG_CPU is disabled, some fields in the smp operations > are not available or needed: > > arch/arm/mach-milbeaut/platsmp.c:90:3: error: field designator 'cpu_die' does > not refer to any field in type > 'struct smp_op

Re: [PATCH v5 2/3] platform/chrome: Add Wilco EC keyboard backlight LEDs support

2019-04-07 Thread Dmitry Torokhov
On Sun, Apr 7, 2019 at 3:18 PM Pavel Machek wrote: > > > > > > This document also states "The naming scheme above leaves scope > > > > for further attributes should they be needed". It does not permit, > > > > however, to redefine one of the fields to mean "location", much less > > > > the declara

Re: [PATCH] dt-bindings: cpu: Fix JSON schema

2019-04-07 Thread Olof Johansson
On Tue, Apr 02, 2019 at 08:42:02PM +0900, Sugaya, Taichi wrote: > Hi, > > On 2019/04/01 22:02, Sugaya, Taichi wrote: > > Hi, > > > > On 2019/04/01 20:35, Maxime Ripard wrote: > > > Hi, > > > > > > On Mon, Apr 01, 2019 at 07:52:06PM +0900, Sugaya, Taichi wrote: > > > > On 2019/04/01 18:10, Maxime

Re: [PATCH 1/2] ARM: orion: don't use using 64-bit DMA masks

2019-04-07 Thread Olof Johansson
On Mon, Mar 25, 2019 at 04:50:42PM +0100, Arnd Bergmann wrote: > clang warns about statically defined DMA masks from the DMA_BIT_MASK > macro with length 64: > > arch/arm/plat-orion/common.c:625:29: error: shift count >= width of type > [-Werror,-Wshift-count-overflow] > .coherent

Re: [PATCH 2/2] ARM: iop: don't use using 64-bit DMA masks

2019-04-07 Thread Olof Johansson
On Mon, Mar 25, 2019 at 04:50:43PM +0100, Arnd Bergmann wrote: > clang warns about statically defined DMA masks from the DMA_BIT_MASK > macro with length 64: > > arch/arm/mach-iop13xx/setup.c:303:35: error: shift count >= width of type > [-Werror,-Wshift-count-overflow] > static u64 iop13xx_adm

Re: [PATCH v5 2/3] platform/chrome: Add Wilco EC keyboard backlight LEDs support

2019-04-07 Thread Pavel Machek
> > > This document also states "The naming scheme above leaves scope > > > for further attributes should they be needed". It does not permit, > > > however, to redefine one of the fields to mean "location", much less > > > the declaration that a devicename of "platform" shall refer to an > > > "i

Re: [PATCH v2 2/3] Input: add a driver for GPIO controllable vibrators

2019-04-07 Thread Dmitry Torokhov
Hi Luca, On Sun, Apr 07, 2019 at 05:58:41PM +0200, Luca Weiss wrote: > Provide a simple driver for GPIO controllable vibrators. > It will be used by the Fairphone 2. > > Signed-off-by: Luca Weiss > --- > drivers/input/misc/Kconfig | 12 ++ > drivers/input/misc/Makefile | 1 + > driv

Re: [GIT PULL v2] LM3532 backlight support improvements and relocation

2019-04-07 Thread Pavel Machek
Hi! > Changes since v1: > > - synchronized DT label properties in DT bindings with what has been agreed > for the patch "ARM: dts: omap4-droid4: Update backlight dt properties" > > The following changes since commit 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b: > > Linux 5.1-rc1 (2019-03-17 14:

Re: [PATCH 6/6] arm64/mm: Enable ZONE_DEVICE

2019-04-07 Thread Dan Williams
On Thu, Apr 4, 2019 at 2:47 AM Robin Murphy wrote: > > On 04/04/2019 06:04, Dan Williams wrote: > > On Wed, Apr 3, 2019 at 9:42 PM Anshuman Khandual > > wrote: > >> > >> > >> > >> On 04/03/2019 07:28 PM, Robin Murphy wrote: > >>> [ +Dan, Jerome ] > >>> > >>> On 03/04/2019 05:30, Anshuman Khandual

Re: [PATCH] Input: i8042 - disable KBD port on Late-2016 Razer Blade Stealth

2019-04-07 Thread Dmitry Torokhov
Hi Lyude, On Sun, Apr 07, 2019 at 05:37:34PM -0400, Lyude Paul wrote: > The late 2016 model of the Razer Blade Stealth has a built-in USB > keyboard, but for some reason the BIOS exposes an i8042 controller with > a connected KBD port. While this fake AT Keyboard device doesn't appear > to report

Re: [PATCH v5 3/3] platform/chrome: Standardize Chrome OS keyboard backlight name

2019-04-07 Thread Dmitry Torokhov
Hi Jacek, On Fri, Apr 5, 2019 at 1:00 PM Jacek Anaszewski wrote: > > Hi all, > > On 4/5/19 10:42 AM, Enric Balletbo i Serra wrote: > > Hi, > > > > On 5/4/19 0:42, Guenter Roeck wrote: > >> On Thu, Apr 4, 2019 at 3:05 PM Pavel Machek wrote: > >>> > >>> On Thu 2019-04-04 14:48:35, Dmitry Torokhov

Re: [PATCH v5 2/3] platform/chrome: Add Wilco EC keyboard backlight LEDs support

2019-04-07 Thread Dmitry Torokhov
On Sat, Apr 6, 2019 at 1:41 AM Pavel Machek wrote: > > On Fri 2019-04-05 13:15:34, Guenter Roeck wrote: > > On Thu, Apr 04, 2019 at 11:10:08AM -0600, Nick Crews wrote: > > > The EC is in charge of controlling the keyboard backlight on > > > the Wilco platform. We expose a standard LED class device

  1   2   3   >