Re: [RFC PATCH v2 02/19] fs/locks: Add Exclusive flag to user Layout lease

2019-08-26 Thread Jeff Layton
On Thu, 2019-08-15 at 07:56 +1000, Dave Chinner wrote: > On Wed, Aug 14, 2019 at 10:15:06AM -0400, Jeff Layton wrote: > > On Fri, 2019-08-09 at 15:58 -0700, ira.we...@intel.com wrote: > > > From: Ira Weiny > > > > > > Add an exclusive lease flag which indicates that the layout mechanism > > >

Re: [PATCH] /dev/mem: Bail out upon SIGKILL when reading memory.

2019-08-26 Thread Tetsuo Handa
On 2019/08/26 1:54, Linus Torvalds wrote: > On Sat, Aug 24, 2019 at 10:50 PM Tetsuo Handa > wrote: >> >> @@ -142,7 +144,7 @@ static ssize_t read_mem(struct file *file, char __user >> *buf, >> sz = size_inside_page(p, count); >> cond_resched(); >>

RE: [EXT] Re: [v2] rtc: pcf85363/pcf85263: fix error that failed to run hwclock -w

2019-08-26 Thread Biwen Li
> > Hi, > > On 26/08/2019 09:49:49+, Biwen Li wrote: > > > > > > On 8/26/19 7:29 AM, Biwen Li wrote: > > > >> > > > >> On 8/16/19 10:40 PM, Li Yang wrote: > > > >>> On Fri, Aug 16, 2019 at 11:30 AM Alexandre Belloni > > > >>> wrote: > > > > > > On 16/08/2019 10:50:49-0500, Li Yang

Re: [PATCH v2 0/5] 0/6] arm64: meson-sm1: add support for DVFS

2019-08-26 Thread Jerome Brunet
On Mon 26 Aug 2019 at 09:25, Neil Armstrong wrote: > Following DVFS support for the Amlogic G12A and G12B SoCs, this serie > enables DVFS on the SM1 SoC for the SEI610 board. > > The SM1 Clock structure is slightly different because of the Cortex-A55 > core used, having the capability for each

RE: [EXT] Re: [1/3] rtc/fsl: support flextimer for lx2160a

2019-08-26 Thread Biwen Li
> > On 26/08/2019 03:37:43+, Biwen Li wrote: > > > > > > On Fri, 2019-08-23 at 17:57 +0800, Biwen Li wrote: > > > > The patch supports flextimer for lx2160a > > > > > > > > Signed-off-by: Biwen Li > > > > --- > > > > drivers/rtc/rtc-fsl-ftm-alarm.c | 1 + > > > > 1 file changed, 1

Re: Linux-next-20190823: x86_64/i386: prot_hsymlinks.c:325: Failed to run cmd: useradd hsym

2019-08-26 Thread Cyril Hrubis
Hi! > Do you see this LTP prot_hsymlinks failure on linux next 20190823 on > x86_64 and i386 devices? > > test output log, > useradd: failure while writing changes to /etc/passwd > useradd: /home/hsym was created, but could not be removed This looks like an unrelated problem, failure to write to

Re: [PATCH v6 5/7] nfc: pn533: add UART phy driver

2019-08-26 Thread Claudiu.Beznea
Hi Lars, On 23.08.2019 13:06, Lars Poeschel wrote: > External E-Mail > > > On Thu, Aug 22, 2019 at 10:09:09AM +, claudiu.bez...@microchip.com wrote: >> Hi Lars, >> >> On 20.08.2019 15:03, Lars Poeschel wrote: >>> This adds the UART phy interface for the pn533 driver. >>> The pn533 driver

Re: [PATCH v2 1/5] ACPI: Enable driver and firmware hints to control power at probe time

2019-08-26 Thread Sakari Ailus
Hi Greg, On Mon, Aug 26, 2019 at 10:43:43AM +0200, Greg Kroah-Hartman wrote: ... > > diff --git a/include/linux/device.h b/include/linux/device.h > > index 6717adee33f01..4bc0ea4a3201a 100644 > > --- a/include/linux/device.h > > +++ b/include/linux/device.h > > @@ -248,6 +248,12 @@ enum

Re: [PATCH v2 1/5] ACPI: Enable driver and firmware hints to control power at probe time

2019-08-26 Thread Sakari Ailus
Hi Greg, Thanks for the comments. On Mon, Aug 26, 2019 at 10:46:34AM +0200, Greg Kroah-Hartman wrote: > On Mon, Aug 26, 2019 at 11:31:08AM +0300, Sakari Ailus wrote: > > Allow drivers and firmware tell ACPI that there's no need to power on a > > device for probe. This requires both a hint from

Re: [PATCH] PCI: Add missing link delays required by the PCIe spec

2019-08-26 Thread Mika Westerberg
On Fri, Aug 23, 2019 at 09:12:54PM -0500, Bjorn Helgaas wrote: > Hi Mika, Hi, > I'm trying to figure out specifically why we need this and where it > should go. Questions below. Thanks for looking at this. > On Wed, Aug 21, 2019 at 03:45:19PM +0300, Mika Westerberg wrote: > > Currently Linux

[PATCH v2 2/2] x86/apic: include the LDR when clearing out apic registers

2019-08-26 Thread Bandan Das
Although apic initialization will typically clear out the LDR before setting it, the apic cleanup code should reset the LDR. This was discovered with a 32 bit kvm guest loading the kdump kernel. Stale bits in the LDR exposed a bug in the kvm lapic code that creates logical destination maps for

[PATCH v2 1/2] x86/apic: Do not initialize LDR and DFR for bigsmp

2019-08-26 Thread Bandan Das
Legacy apic init uses bigsmp for > 8 smp systems. In these cases, PhysFlat will invariably be used and there is no point in initializing apic LDR and DFR. Furthermore, calculate_ldr() helper function was incorrectly setting multiple bits in the LDR. This was discovered with a 32 bit KVM guest

[PATCH v2 0/2] x86/apic: reset LDR in clear_local_APIC

2019-08-26 Thread Bandan Das
v2: 1/2: clear out the bogus initialization in bigsmp_init_apic_ldr 2/2: reword commit message as suggested by Thomas v1 posted at https://lkml.org/lkml/2019/8/14/1 On a 32 bit RHEL6 guest with greater than 8 cpus, the kdump kernel hangs when calibrating apic. This happens because when apic

Re: [PATCH] udf: augment owner permissions on new inodes

2019-08-26 Thread Jan Kara
On Mon 19-08-19 09:27:07, Steven J. Magnani wrote: > Windows presents files created within Linux as read-only, even when > permissions in Linux indicate the file should be writable. > > > UDF defines a slightly different set of basic file permissions than Linux. > Specifically, UDF has

Re: [PATCH 1/3] ftrace: introdue ftrace_call_init

2019-08-26 Thread Jisheng Zhang
Hi all, On Tue, 20 Aug 2019 11:27:38 +0200 (CEST) Miroslav Benes wrote: > > Hi, > > On Mon, 19 Aug 2019, Jisheng Zhang wrote: > > > On some arch, the FTRACE_WITH_REGS is implemented with gcc's > > -fpatchable-function-entry (=2), gcc adds 2 NOPs at the beginning > > of each function, so this

Re: [PATCH v2 4/8] sched/fair: rework load_balance

2019-08-26 Thread Vincent Guittot
On Tue, 6 Aug 2019 at 19:17, Valentin Schneider wrote: > > Second batch, get it while it's hot... > > On 01/08/2019 15:40, Vincent Guittot wrote: > [...] > > @@ -7438,19 +7453,53 @@ static int detach_tasks(struct lb_env *env) > > if (!can_migrate_task(p, env)) > >

[PATCH v2 3/6] mm/memory_hotplug: Process all zones when removing memory

2019-08-26 Thread David Hildenbrand
It is easier than I though to trigger a kernel bug by removing memory that was never onlined. With CONFIG_DEBUG_VM the memmap is initialized with garbage, resulting in the detection of a broken zone when removing memory. Without CONFIG_DEBUG_VM it is less likely - but we could still have garbage

Re: [EXT] Re: [1/3] rtc/fsl: support flextimer for lx2160a

2019-08-26 Thread Alexandre Belloni
On 26/08/2019 03:37:43+, Biwen Li wrote: > > > > On Fri, 2019-08-23 at 17:57 +0800, Biwen Li wrote: > > > The patch supports flextimer for lx2160a > > > > > > Signed-off-by: Biwen Li > > > --- > > > drivers/rtc/rtc-fsl-ftm-alarm.c | 1 + > > > 1 file changed, 1 insertion(+) > > > > > > diff

[PATCH v2 5/6] mm: Introduce for_each_zone_nid()

2019-08-26 Thread David Hildenbrand
Allow to iterate all zones belonging to a nid. Cc: Andrew Morton Cc: Vlastimil Babka Cc: Dan Williams Cc: Mel Gorman Cc: Michal Hocko Cc: Wei Yang Cc: Johannes Weiner Cc: Arun KS Signed-off-by: David Hildenbrand --- include/linux/mmzone.h | 5 + 1 file changed, 5 insertions(+) diff

[PATCH v2 4/6] mm/memory_hotplug: Cleanup __remove_pages()

2019-08-26 Thread David Hildenbrand
Let's drop the basically unused section stuff and simplify. Also, let's use a shorter variant to calculate the number of pages to the next section boundary. Cc: Andrew Morton Cc: Oscar Salvador Cc: Michal Hocko Cc: Pavel Tatashin Cc: Dan Williams Cc: Wei Yang Signed-off-by: David

[PATCH v2 2/6] mm: Exit early in set_zone_contiguous() if already contiguous

2019-08-26 Thread David Hildenbrand
No need to recompute in case the zone is already marked contiguous. We will soon exploit this on the memory removal path, where we will only clear zone->contiguous on zones that intersect with the memory to be removed. Cc: Andrew Morton Cc: Michal Hocko Cc: Vlastimil Babka Cc: Oscar Salvador

[PATCH v2 1/6] mm/memory_hotplug: Exit early in __remove_pages() on BUGs

2019-08-26 Thread David Hildenbrand
The error path should never happen in practice (unless bringing up a new device driver, or on BUGs). However, it's clearer to not touch anything in case we are going to return right away. Move the check/return. Cc: Andrew Morton Cc: Oscar Salvador Cc: Michal Hocko Cc: David Hildenbrand Cc:

Re: [EXT] Re: [v2] rtc: pcf85363/pcf85263: fix error that failed to run hwclock -w

2019-08-26 Thread Alexandre Belloni
Hi, On 26/08/2019 09:49:49+, Biwen Li wrote: > > > > On 8/26/19 7:29 AM, Biwen Li wrote: > > >> > > >> On 8/16/19 10:40 PM, Li Yang wrote: > > >>> On Fri, Aug 16, 2019 at 11:30 AM Alexandre Belloni > > >>> wrote: > > > > On 16/08/2019 10:50:49-0500, Li Yang wrote: > > > On

Re: [PATCH] x86/mce: show the status of cmci_disabled to user

2019-08-26 Thread Borislav Petkov
On Mon, Aug 26, 2019 at 02:16:04PM +0800, Xiaochun Lee wrote: > From: Xiaochun Lee > > When enabled Firmware First mode in UEFI, we need to > set the cmci_disabled and ignore_ce in mca cfg > that users can check correct status from >

[PATCH] bus: imx-weim: remove __init from 2 functions

2019-08-26 Thread Ilie Halip
A previous commit removed __init from weim_probe(), but this attribute is still present for other functions called from it. Thus, these warnings are triggered: WARNING: Section mismatch in reference from the function weim_probe() to the function .init.text:imx_weim_gpr_setup() WARNING:

Re: [PATCH 4/5] x86/intel: Aggregate microserver naming

2019-08-26 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Mon, Aug 26, 2019 at 11:27:50AM +0200, Ingo Molnar wrote: > > > > * Peter Zijlstra wrote: > > > > > Currently big microservers have _XEON_D while small microservers have > > > _X, Make it uniformly: _D. > > > > > > for i in `git grep -l

Re: linux-next: build warning after merge of the staging tree

2019-08-26 Thread Gao Xiang
On Mon, Aug 26, 2019 at 05:43:41PM +0800, Gao Xiang wrote: > Hi Stephen, > > On Mon, Aug 26, 2019 at 04:54:08PM +0800, Gao Xiang wrote: > > Hi Stephen, > > > > On Mon, Aug 26, 2019 at 04:38:01PM +0800, Gao Xiang wrote: > > > Hi Greg, > > > > > > On Mon, Aug 26, 2019 at 08:30:24AM +0200, Greg KH

Re: [PATCH v2 1/2] dt-bindings: reset: Add YAML schemas for the Intel Reset controller

2019-08-26 Thread Dilip Kota
Hi Rob, On 8/23/2019 8:25 PM, Rob Herring wrote: On Fri, Aug 23, 2019 at 12:28 AM Dilip Kota wrote: Add YAML schemas for the reset controller on Intel Lightening Mountain (LGM) SoC. Signed-off-by: Dilip Kota --- Changes on v2: Address review comments Update the compatible

[PATCH] PCI: hotplug: Remove surplus return from a void function

2019-08-26 Thread Krzysztof Wilczynski
Remove unnecessary empty return statement at the end of a void function in the following: - drivers/pci/hotplug/cpci_hotplug_core.c: cleanup_slots() - drivers/pci/hotplug/cpqphp_core.c: pci_print_IRQ_route() - drivers/pci/hotplug/cpqphp_ctrl.c: cpqhp_pushbutton_thread() -

Re: [PATCH] sched/cpufreq: Align trace event behavior of fast switching

2019-08-26 Thread Dietmar Eggemann
On 26/08/2019 11:40, Peter Zijlstra wrote: > On Mon, Aug 26, 2019 at 11:10:52AM +0200, Rafael J. Wysocki wrote: >> On Wednesday, August 7, 2019 5:33:40 PM CEST Douglas RAILLARD wrote: >>> Fast switching path only emits an event for the CPU of interest, whereas the >>> regular path emits an event

Re: [PATCH v8 1/4] mtd: spi-nor: add support for is25wp256

2019-08-26 Thread Bin Meng
On Tue, Aug 13, 2019 at 8:40 PM Sagar Shrikant Kadam wrote: > > Update spi_nor_id table for is25wp256 (32MB) device from ISSI, > present on HiFive Unleashed dev board (Rev: A00). > > Set method to enable quad mode for ISSI device in flash parameters > table. > > Based on code originally written

RE: [EXT] Re: [v2] rtc: pcf85363/pcf85263: fix error that failed to run hwclock -w

2019-08-26 Thread Biwen Li
> > On 8/26/19 7:29 AM, Biwen Li wrote: > >> > >> On 8/16/19 10:40 PM, Li Yang wrote: > >>> On Fri, Aug 16, 2019 at 11:30 AM Alexandre Belloni > >>> wrote: > > On 16/08/2019 10:50:49-0500, Li Yang wrote: > > On Fri, Aug 16, 2019 at 3:05 AM Alexandre Belloni > > wrote: > >>

RE: [PATCH v2 08/10] PCI: layerscape: Add EP mode support for ls1088a and ls2088a

2019-08-26 Thread Xiaowei Bao
> -Original Message- > From: Andrew Murray > Sent: 2019年8月23日 22:28 > To: Xiaowei Bao > Cc: bhelg...@google.com; robh...@kernel.org; mark.rutl...@arm.com; > shawn...@kernel.org; Leo Li ; kis...@ti.com; > lorenzo.pieral...@arm.co; a...@arndb.de; gre...@linuxfoundation.org; M.h. > Lian ;

Re: [PATCH 4/5] x86/intel: Aggregate microserver naming

2019-08-26 Thread Ingo Molnar
Plus re-running your scripts gave the final missing piece: Signed-off-by: Ingo Molnar --- tools/power/x86/turbostat/turbostat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c index

Linux-next-20190823: x86_64/i386: prot_hsymlinks.c:325: Failed to run cmd: useradd hsym

2019-08-26 Thread Naresh Kamboju
Do you see this LTP prot_hsymlinks failure on linux next 20190823 on x86_64 and i386 devices? test output log, useradd: failure while writing changes to /etc/passwd useradd: /home/hsym was created, but could not be removed userdel: user 'hsym' does not exist prot_hsymlinks1 TBROK :

Re: [PATCH] net: Adding parameter detection in __ethtool_get_link_ksettings.

2019-08-26 Thread Dongxu Liu
> On 8/26/19 9:23 AM, Dongxu Liu wrote: > The __ethtool_get_link_ksettings symbol will be exported, > and external users may use an illegal address. > We should check the parameters before using them, > otherwise the system will crash. > > [ 8980.991134] BUG: unable to handle kernel NULL pointer

Re: [PATCH 4/5] x86/intel: Aggregate microserver naming

2019-08-26 Thread Ingo Molnar
* Ingo Molnar wrote: > arch/x86/kernel/cpu/common.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Plus this too: --- drivers/edac/sb_edac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/edac/sb_edac.c b/drivers/edac/sb_edac.c index

Re: [PATCH 4/5] x86/intel: Aggregate microserver naming

2019-08-26 Thread Peter Zijlstra
On Mon, Aug 26, 2019 at 11:27:50AM +0200, Ingo Molnar wrote: > > * Peter Zijlstra wrote: > > > Currently big microservers have _XEON_D while small microservers have > > _X, Make it uniformly: _D. > > > > for i in `git grep -l "INTEL_FAM6_.*_\(X\|XEON_D\)"` > > do > > sed -i -e

Re: linux-next: Fixes tags need some work in the arm-soc tree

2019-08-26 Thread Alexandre Torgue
Hi guys On 8/13/19 11:47 PM, Stephen Rothwell wrote: Hi Arnd, On Tue, 13 Aug 2019 21:35:58 +0200 Arnd Bergmann wrote: On Tue, Aug 13, 2019 at 4:28 PM Stephen Rothwell wrote: Please do not split Fixes tags over more than one line. Also, please keep them with the rest of the other tags.

Re: linux-next: build warning after merge of the staging tree

2019-08-26 Thread Gao Xiang
Hi Stephen, On Mon, Aug 26, 2019 at 04:54:08PM +0800, Gao Xiang wrote: > Hi Stephen, > > On Mon, Aug 26, 2019 at 04:38:01PM +0800, Gao Xiang wrote: > > Hi Greg, > > > > On Mon, Aug 26, 2019 at 08:30:24AM +0200, Greg KH wrote: > > > On Mon, Aug 26, 2019 at 04:24:32PM +1000, Stephen Rothwell

[PATCH V2 4/4] clk: imx: imx8mn: fix pll mux bit

2019-08-26 Thread Peng Fan
From: Peng Fan pll BYPASS bit should be kept inside pll driver for glitchless freq setting following spec. If exposing the bit, that means pll driver and clk driver has two paths to touch this bit, which is wrong. So use EXT_BYPASS bit here. And drop uneeded set parent, because EXT_BYPASS

RE: [PATCH net v2 1/2] Revert "r8152: napi hangup fix after disconnect"

2019-08-26 Thread Hayes Wang
Jiri Slaby [mailto:jsl...@suse.cz] > Sent: Monday, August 26, 2019 4:55 PM [...] > Could you clarify *why* it conflicts? And how is the problem fixed by > 0ee1f473496 avoided now? In rtl8152_disconnect(), the flow would be as following. static void rtl8152_disconnect(struct usb_interface *intf)

[PATCH V2 3/4] clk: imx: imx8mm: fix pll mux bit

2019-08-26 Thread Peng Fan
From: Peng Fan pll BYPASS bit should be kept inside pll driver for glitchless freq setting following spec. If exposing the bit, that means pll driver and clk driver has two paths to touch this bit, which is wrong. So use EXT_BYPASS bit here. And drop uneeded set parent, because EXT_BYPASS

[PATCH V2 2/4] clk: imx: clk-pll14xx: unbypass PLL by default

2019-08-26 Thread Peng Fan
From: Peng Fan When registering the PLL, unbypass the PLL. The PLL has two bypass control bit, BYPASS and EXT_BYPASS. we will expose EXT_BYPASS to clk driver for mux usage, and keep BYPASS inside pll14xx usage. The PLL has a restriction that when M/P change, need to RESET/BYPASS pll to avoid

[PATCH V2 1/4] clk: imx: pll14xx: avoid glitch when set rate

2019-08-26 Thread Peng Fan
From: Peng Fan According to PLL1443XA and PLL1416X spec, "When BYPASS is 0 and RESETB is changed from 0 to 1, FOUT starts to output unstable clock until lock time passes. PLL1416X/PLL1443XA may generate a glitch at FOUT." So set BYPASS when RESETB is changed from 0 to 1 to avoid glitch. In the

Re: [PATCH] sched/cpufreq: Align trace event behavior of fast switching

2019-08-26 Thread Peter Zijlstra
On Mon, Aug 26, 2019 at 11:10:52AM +0200, Rafael J. Wysocki wrote: > On Wednesday, August 7, 2019 5:33:40 PM CEST Douglas RAILLARD wrote: > > Fast switching path only emits an event for the CPU of interest, whereas the > > regular path emits an event for all the CPUs that had their frequency > >

Re: [PATCH v2 4/8] sched/fair: rework load_balance

2019-08-26 Thread Vincent Guittot
On Tue, 6 Aug 2019 at 17:56, Peter Zijlstra wrote: > > On Thu, Aug 01, 2019 at 04:40:20PM +0200, Vincent Guittot wrote: > > The load_balance algorithm contains some heuristics which have becomes > > meaningless since the rework of metrics and the introduction of PELT. > > > > Furthermore, it's

Re: [PATCH 4/5] x86/intel: Aggregate microserver naming

2019-08-26 Thread Ingo Molnar
* Peter Zijlstra wrote: > Currently big microservers have _XEON_D while small microservers have > _X, Make it uniformly: _D. > > for i in `git grep -l "INTEL_FAM6_.*_\(X\|XEON_D\)"` > do > sed -i -e 's/\(INTEL_FAM6_ATOM_.*\)_X/\1_D/g' \ >-e

Re: [PATCH v2 4/8] sched/fair: rework load_balance

2019-08-26 Thread Vincent Guittot
On Mon, 5 Aug 2019 at 19:07, Valentin Schneider wrote: > > Hi Vincent, > > Here's another batch of comments, still need to go through some more of it. > > On 01/08/2019 15:40, Vincent Guittot wrote: > > The load_balance algorithm contains some heuristics which have becomes > > s/becomes/become/

Re: [PATCH v2] sched/fair: don't assign runtime for throttled cfs_rq

2019-08-26 Thread Peter Zijlstra
On Sat, Aug 24, 2019 at 05:15:58PM +0800, Liangyan wrote: > do_sched_cfs_period_timer() will refill cfs_b runtime and call > distribute_cfs_runtime() to unthrottle cfs_rq, sometimes cfs_b->runtime > will allocate all quota to one cfs_rq incorrectly. > This will cause other cfs_rq can't get runtime

Re: [PATCH] Add support for Macronix NAND randomizer

2019-08-26 Thread masonccyang
Hi Miquel, > > Re: [PATCH] Add support for Macronix NAND randomizer > > Hi Mason, > > masonccy...@mxic.com.tw wrote on Mon, 26 Aug 2019 10:52:31 +0800: > > > Hi Miquel, > > > > > > Mason Yang wrote on Tue, 20 Aug 2019 13:53:48 > > > +0800: > > > > > > > Macronix NANDs support randomizer

Re: [PATCH] x86/mm: Do not split_large_page() for set_kernel_text_rw()

2019-08-26 Thread Peter Zijlstra
On Mon, Aug 26, 2019 at 04:40:23AM +, Song Liu wrote: > Cc: Steven Rostedt and Suresh Siddha > > Hi Peter, > > > On Aug 23, 2019, at 2:36 AM, Peter Zijlstra wrote: > > > > On Thu, Aug 22, 2019 at 10:23:35PM -0700, Song Liu wrote: > >> As 4k pages check was removed from cpa [1],

Re: [PATCH] cpufreq: Print driver name if cpufreq_suspend() fails

2019-08-26 Thread Rafael J. Wysocki
On Thursday, August 22, 2019 6:21:20 PM CEST Florian Fainelli wrote: > On 8/21/19 7:42 PM, Viresh Kumar wrote: > > On 21-08-19, 16:16, Florian Fainelli wrote: > >> Instead of printing the policy, which is incidentally a kernel pointer, > >> so with limited interest, print the cpufreq driver name

Re: [PATCH v4 0/2] PM / wakeup: Fix wakeup class wrecakge in -next

2019-08-26 Thread Rafael J. Wysocki
On Tuesday, August 20, 2019 12:41:56 AM CEST Stephen Boyd wrote: > Resending the patch series to pick up the tags and fix the subject > on patch #2. I didn't drop the "Fixes" tags even though they're > just in -next and the patches have been dropped in the latest version. > Please update them in

Re: [PATCH v3 0/8] thunderbolt: Intel Ice Lake support

2019-08-26 Thread Mika Westerberg
On Mon, Aug 19, 2019 at 02:22:15PM +0300, Mika Westerberg wrote: > Hi all, > > This is third iteration of the patch series adding support for the Intel > Ice Lake integrated Thunderbolt controller. The biggest difference from the > previous discrete controllers is that the Ice Lake Thunderbolt

Re: [PATCH] cpufreq: remove redundant assignment to ret

2019-08-26 Thread Rafael J. Wysocki
On Monday, August 19, 2019 8:58:14 AM CEST Viresh Kumar wrote: > On 13-08-19, 13:21, Colin King wrote: > > From: Colin Ian King > > > > Variable ret is initialized to a value that is never read and it is > > re-assigned later. The initialization is redundant and can be removed. > > > >

Re: [PATCH v4 3/8] PM/sleep: Replace strncmp with str_has_prefix

2019-08-26 Thread Rafael J. Wysocki
On Friday, August 9, 2019 9:10:23 AM CEST Chuhong Yuan wrote: > strncmp(str, const, len) is error-prone because len > is easy to have typo. > The example is the hard-coded len has counting error > or sizeof(const) forgets - 1. > So we prefer using newly introduced str_has_prefix() > to substitute

Re: [PATCH V5 2/2] cpufreq: intel_pstate: Implement QoS supported freq constraints

2019-08-26 Thread Rafael J. Wysocki
On Friday, August 9, 2019 4:22:49 AM CEST Viresh Kumar wrote: > Intel pstate driver exposes min_perf_pct and max_perf_pct sysfs files, > which can be used to force a limit on the min/max P state of the driver. > Though these files eventually control the min/max frequencies that the > CPUs will run

Re: [EXT] Re: [v2] rtc: pcf85363/pcf85263: fix error that failed to run hwclock -w

2019-08-26 Thread Nandor Han
On 8/26/19 7:29 AM, Biwen Li wrote: On 8/16/19 10:40 PM, Li Yang wrote: On Fri, Aug 16, 2019 at 11:30 AM Alexandre Belloni wrote: On 16/08/2019 10:50:49-0500, Li Yang wrote: On Fri, Aug 16, 2019 at 3:05 AM Alexandre Belloni wrote: On 16/08/2019 10:46:36+0800, Biwen Li wrote: Issue:

Re: [PATCH v8 0/3] PM / wakeup: Show wakeup sources stats in sysfs

2019-08-26 Thread Rafael J. Wysocki
On Wednesday, August 7, 2019 3:48:43 AM CEST Tri Vo wrote: > Userspace can use wakeup_sources debugfs node to plot history of suspend > blocking wakeup sources over device's boot cycle. This information can > then be used (1) for power-specific bug reporting and (2) towards > attributing battery

RE: [Patch v3] drivers: mtd: spi-nor: Add flash property for mt25qu512a and mt35xu02g

2019-08-26 Thread Ashish Kumar
> -Original Message- > From: Ashish Kumar > Sent: Tuesday, August 13, 2019 4:08 PM > To: tudor.amba...@microchip.com; marek.va...@gmail.com; > dw...@infradead.org; computersforpe...@gmail.com; > miquel.ray...@bootlin.com; rich...@nod.at; vigne...@ti.com; linux- >

Re: [PATCH v2] PM/sleep: Expose suspend stats in sysfs

2019-08-26 Thread Rafael J. Wysocki
On Wednesday, July 31, 2019 11:29:33 PM CEST Kalesh Singh wrote: > Userspace can get suspend stats from the suspend stats debugfs node. > Since debugfs doesn't have stable ABI, expose suspend stats in > sysfs under /sys/power/suspend_stats. > > Signed-off-by: Kalesh Singh > --- > Changes in v2:

Build regressions/improvements in v5.3-rc6

2019-08-26 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v5.3-rc6[1] compared to v5.2[2]. Summarized: - build errors: +6/-1 - build warnings: +130/-133 JFYI, when comparing v5.3-rc6[1] to v5.3-rc5[3], the summaries are: - build errors: +0/-6 - build warnings: +69/-63 Happy

Re: [PATCH v2] udf: reduce leakage of blocks related to named streams

2019-08-26 Thread Jan Kara
On Mon 19-08-19 07:10:24, Steve Magnani wrote: > Jan - > > > On 8/15/19 7:42 AM, Jan Kara wrote: > > On Wed 14-08-19 07:50:02, Steven J. Magnani wrote: > > > Windows is capable of creating UDF files having named streams. > > > One example is the "Zone.Identifier" stream attached automatically

[PATCH] ftrace/x86: Remove mcount() declaration

2019-08-26 Thread Jisheng Zhang
Commit 562e14f72292 ("ftrace/x86: Remove mcount support") removed the support for using mcount, so we could remove the mcount() declaration to clean up. Signed-off-by: Jisheng Zhang --- arch/x86/include/asm/ftrace.h | 1 - 1 file changed, 1 deletion(-) diff --git

Re: [PATCH] tpm: tpm_crb: Add an AMD fTPM support feature

2019-08-26 Thread Seunghun Han
> > On Mon, Aug 26, 2019 at 02:40:19AM +0900, Seunghun Han wrote: > > I'm Seunghun Han and work at the Affiliated Institute of ETRI. I got an AMD > > system which had a Ryzen Threadripper 1950X and MSI mainboard, and I had > > a problem with AMD's fTPM. My machine showed an error message below,

Re: [PATCH v2] PM: QoS: Get rid of unused flags

2019-08-26 Thread Rafael J. Wysocki
On Thursday, July 11, 2019 4:21:25 PM CEST Amit Kucheria wrote: > The network_latency and network_throughput flags for PM-QoS have not > found much use in drivers or in userspace since they were introduced. > > Commit 4a733ef1bea7 ("mac80211: remove PM-QoS listener") removed the > only user

Re: [PATCH] gpiolib: acpi: Add gpiolib_acpi_run_edge_events_on_boot option and blacklist

2019-08-26 Thread Andy Shevchenko
On Fri, Aug 23, 2019 at 11:52:55PM +0200, Hans de Goede wrote: > Another day; another DSDT bug we need to workaround... > > Since commit ca876c7483b6 ("gpiolib-acpi: make sure we trigger edge events > at least once on boot") we call _AEI edge handlers at boot. > > In some rare cases this causes

Re: [PATCH] sched/cpufreq: Align trace event behavior of fast switching

2019-08-26 Thread Rafael J. Wysocki
On Wednesday, August 7, 2019 5:33:40 PM CEST Douglas RAILLARD wrote: > Fast switching path only emits an event for the CPU of interest, whereas the > regular path emits an event for all the CPUs that had their frequency changed, > i.e. all the CPUs sharing the same policy. > > With the current

Re: [PATCH] ASoC: es8316: limit headphone mixer volume

2019-08-26 Thread Hans de Goede
Hi, On 26-08-19 04:53, Daniel Drake wrote: On Mon, Aug 26, 2019 at 1:38 AM Hans de Goede wrote: On 24-08-19 23:04, Katsuhiro Suzuki wrote: This patch limits Headphone mixer volume to 4 from 7. Because output sound suddenly becomes very loudly with many noise if set volume over 4. That

Re: [PATCH -next] ACPI: SBS: remove unused variable 'SMBUS_PEC'

2019-08-26 Thread Rafael J. Wysocki
On Thursday, August 22, 2019 4:43:46 PM CEST YueHaibing wrote: > drivers/acpi/sbshc.h:18:17: warning: > SMBUS_PEC defined but not used [-Wunused-const-variable=] > > SMBUS_PEC is never used since introduction in > commit 91087dfa51a2 ("ACPI: SBS: Split host > controller (ACPI0001) from SBS

Re: [PATCH] ACPI/PCI: Remove surplus parentheses from a return statement

2019-08-26 Thread Rafael J. Wysocki
On Monday, August 19, 2019 3:53:24 PM CEST Krzysztof Wilczynski wrote: > Remove unnecessary parentheses enclosing the value in a return > statement in the drivers/acpi/pci_link.c. > > Signed-off-by: Krzysztof Wilczynski > --- > drivers/acpi/pci_link.c | 4 ++-- > 1 file changed, 2

Re: [PATCH 4.14 38/53] IB/hfi1: Fix Spectre v1 vulnerability

2019-08-26 Thread Greg Kroah-Hartman
On Mon, Aug 05, 2019 at 09:16:36AM -0500, Gustavo A. R. Silva wrote: > Hi Greg, > > Can you please add these other two patches to stable: > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d64062b57eeb58d4928aed945515bf53f7944913 Does not apply :( >

Re: [PATCH] ACPI / processor: don't print errors for processorIDs == 0xff

2019-08-26 Thread Rafael J. Wysocki
On Wednesday, August 7, 2019 1:10:37 PM CEST Jiri Slaby wrote: > Some platforms define their processors in this manner: > Device (SCK0) > { > Name (_HID, "ACPI0004" /* Module Device */) // _HID: Hardware ID > Name (_UID, "CPUSCK0") // _UID: Unique ID > Processor (CP00,

Re: [PATCH 3/3] acpi/hmat: Skip publishing target info for nodes with no online memory

2019-08-26 Thread Rafael J. Wysocki
On Monday, August 12, 2019 10:59:58 AM CEST Rafael J. Wysocki wrote: > On Mon, Aug 5, 2019 at 4:30 PM Keith Busch wrote: > > > > From: Dan Williams > > > > There are multiple scenarios where the HMAT may contain information > > about proximity domains that are not currently online. Rather than

Re: [PATCH v1 1/2] x86/rtc: Add option to skip using RTC

2019-08-26 Thread Tanwar, Rahul
Hi Andy, On 23/8/2019 8:56 PM, Andy Shevchenko wrote: get_wallclock() and set_wallclock() are function pointers of platform_ops which are initialized to mach_get_cmos_time() and mach_set_rtc_mmss() at init time. Since adding a new platform to override these functions is discouraged, so the

Re: rfc: treewide scripted patch mechanism? (was: Re: [PATCH] Makefile: Convert -Wimplicit-fallthrough=3 to just -Wimplicit-fallthrough for clang)QUILT

2019-08-26 Thread Geert Uytterhoeven
Hi Linus, On Wed, Aug 21, 2019 at 2:41 AM Linus Torvalds wrote: > On Tue, Aug 20, 2019 at 4:37 PM Joe Perches wrote: > > > So I'm putting my foot down on yet another broken string copy > > > interface from people who do not understand this fundamental issue. > > > > I think you are mistaken

Re: [PATCH] ASoC: es8316: limit headphone mixer volume

2019-08-26 Thread Katsuhiro Suzuki
Hello, Oops... I got mistake, > SOC_DOUBLE_TLV("Headphone Mixer Volume", ES8316_HPMIX_VOL, > 0, 4, 15, 0, hpmixer_gain_tlv), is wrong, > SOC_DOUBLE_TLV("Headphone Mixer Volume", ES8316_HPMIX_VOL, > 0, 4, 11, 0, hpmixer_gain_tlv), is correct. Best

Re: [PATCH] iio: imu: st_lsm6dsx: Fix FIFO diff mask for tagged fifo

2019-08-26 Thread Jonathan Cameron
On Mon, 26 Aug 2019 10:22:20 +0200 Lorenzo Bianconi wrote: > > On Thu, 22 Aug 2019 15:22:19 +0200 > > Mario Tesi wrote: > > > > > From: mario tesi > > > > > > According to the latest version of datasheet the mask > > > for number of unread sensor data in FIFO_STATUS registers > > >

Re: [RESEND PATCHv4 1/1] drivers/amba: add reset control to amba bus probe

2019-08-26 Thread Philipp Zabel
Hi Dinh, Linus, On Fri, 2019-08-23 at 10:42 -0500, Dinh Nguyen wrote: > > On 8/23/19 4:19 AM, Linus Walleij wrote: > > On Tue, Aug 20, 2019 at 4:58 PM Dinh Nguyen wrote: > > > > > @@ -401,6 +402,26 @@ static int amba_device_try_add(struct amba_device > > > *dev, struct resource *parent) > > >

Re: [PATCH net v2 1/2] Revert "r8152: napi hangup fix after disconnect"

2019-08-26 Thread Jiri Slaby
On 26. 08. 19, 10:41, Hayes Wang wrote: > This reverts commit 0ee1f4734967af8321ecebaf9c74221ace34f2d5. > > This conflicts with commit ffa9fec30ca0 ("r8152: set > RTL8152_UNPLUG only for real disconnection"). Could you clarify *why* it conflicts? And how is the problem fixed by 0ee1f473496

Re: linux-next: build warning after merge of the staging tree

2019-08-26 Thread Gao Xiang
Hi Stephen, On Mon, Aug 26, 2019 at 04:38:01PM +0800, Gao Xiang wrote: > Hi Greg, > > On Mon, Aug 26, 2019 at 08:30:24AM +0200, Greg KH wrote: > > On Mon, Aug 26, 2019 at 04:24:32PM +1000, Stephen Rothwell wrote: > > > Hi all, > > > > > > After merging the staging tree, today's linux-next build

Re: [PATCH v2 1/5] ACPI: Enable driver and firmware hints to control power at probe time

2019-08-26 Thread Greg Kroah-Hartman
On Mon, Aug 26, 2019 at 11:31:08AM +0300, Sakari Ailus wrote: > Allow drivers and firmware tell ACPI that there's no need to power on a > device for probe. This requires both a hint from the firmware as well as > an indication from a driver to leave the device off. > > Signed-off-by: Sakari Ailus

Re: numlist_push() barriers Re: [RFC PATCH v4 1/9] printk-rb: add a new printk ringbuffer implementation

2019-08-26 Thread Andrea Parri
Sorry for top posting, but I forgot to mention: as you might have noticed, my @amarulasolutions address is not active anymore; FWIW, you should still be able to reach me at this @gmail address. Thanks, Andrea On Mon, Aug 26, 2019 at 10:34:36AM +0200, Andrea Parri wrote: > > > + /* > > > + *

Re: [PATCH v2 1/5] ACPI: Enable driver and firmware hints to control power at probe time

2019-08-26 Thread Greg Kroah-Hartman
On Mon, Aug 26, 2019 at 11:31:08AM +0300, Sakari Ailus wrote: > Allow drivers and firmware tell ACPI that there's no need to power on a > device for probe. This requires both a hint from the firmware as well as > an indication from a driver to leave the device off. > > Signed-off-by: Sakari Ailus

[PATCH net v2 1/2] Revert "r8152: napi hangup fix after disconnect"

2019-08-26 Thread Hayes Wang
This reverts commit 0ee1f4734967af8321ecebaf9c74221ace34f2d5. This conflicts with commit ffa9fec30ca0 ("r8152: set RTL8152_UNPLUG only for real disconnection"). Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[PATCH net v2 2/2] r8152: remove calling netif_napi_del

2019-08-26 Thread Hayes Wang
Remove unnecessary use of netif_napi_del. This also avoids to call napi_disable() after netif_napi_del(). Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index ad3abe26b51b..04137ac373b0

Re: [PATCH] ASoC: es8316: limit headphone mixer volume

2019-08-26 Thread Katsuhiro Suzuki
Hello Daniel, On 2019/08/26 11:53, Daniel Drake wrote: On Mon, Aug 26, 2019 at 1:38 AM Hans de Goede wrote: On 24-08-19 23:04, Katsuhiro Suzuki wrote: This patch limits Headphone mixer volume to 4 from 7. Because output sound suddenly becomes very loudly with many noise if set volume over 4.

[PATCH net v2 0/2] r8152: fix side effect

2019-08-26 Thread Hayes Wang
v2: Replace patch #2 with "r8152: remove calling netif_napi_del". v1: The commit 0ee1f4734967 ("r8152: napi hangup fix after disconnect") add a check to avoid using napi_disable after netif_napi_del. However, the commit ffa9fec30ca0 ("r8152: set RTL8152_UNPLUG only for real disconnection") let

Re: [PATCH 00/14] per memcg lru_lock

2019-08-26 Thread Konstantin Khlebnikov
On 22/08/2019 18.20, Daniel Jordan wrote: On 8/22/19 7:56 AM, Alex Shi wrote: 在 2019/8/22 上午2:00, Daniel Jordan 写道:    https://git.kernel.org/pub/scm/linux/kernel/git/wfg/vm-scalability.git/tree/case-lru-file-readtwice> It's also synthetic but it stresses lru_lock more than just anon

Re: linux-next: build warning after merge of the staging tree

2019-08-26 Thread Gao Xiang
Hi Greg, On Mon, Aug 26, 2019 at 08:30:24AM +0200, Greg KH wrote: > On Mon, Aug 26, 2019 at 04:24:32PM +1000, Stephen Rothwell wrote: > > Hi all, > > > > After merging the staging tree, today's linux-next build (x86_64 > > allmodconfig) produced this warning: > > > > In file included from

Re: [RESEND PATCH v2 1/2] dt-bindings: reset: aoss: Add AOSS reset binding for SC7180 SoCs

2019-08-26 Thread Philipp Zabel
On Sat, 2019-08-24 at 20:54 +0530, Sibi Sankar wrote: > Add SC7180 AOSS reset to the list of possible bindings. > > Signed-off-by: Sibi Sankar > --- > Documentation/devicetree/bindings/reset/qcom,aoss-reset.txt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git

Re: numlist_push() barriers Re: [RFC PATCH v4 1/9] printk-rb: add a new printk ringbuffer implementation

2019-08-26 Thread Andrea Parri
> > + /* > > +* bA: > > +* > > +* Setup the node to be a list terminator: next_id == id. > > +*/ > > + WRITE_ONCE(n->next_id, id); > > Do we need WRITE_ONCE() here? > Both "n" and "id" are given as parameters and do not change. > The assigment must be done before "id" is set

Re: [PATCH] scsi: aic7xxx: Remove dead code

2019-08-26 Thread James Bottomley
On Sat, 2019-08-24 at 20:38 +0530, Souptick Joarder wrote: > These are dead code since 2.6.13. If there is no plan > to use it further, these can be removed forever. Unless you can articulate a clear useful reason for the removal I'd rather keep this and the other code. Most of the documentation

[PATCH v2 1/5] ACPI: Enable driver and firmware hints to control power at probe time

2019-08-26 Thread Sakari Ailus
Allow drivers and firmware tell ACPI that there's no need to power on a device for probe. This requires both a hint from the firmware as well as an indication from a driver to leave the device off. Signed-off-by: Sakari Ailus --- drivers/acpi/device_pm.c | 15 +--

[PATCH v2 5/5] at24: Support probing while off

2019-08-26 Thread Sakari Ailus
In certain use cases (where the chip is part of a camera module, and the camera module is wired together with a camera privacy LED), powering on the device during probe is undesirable. Add support for the at24 to execute probe while being powered off. For this to happen, a hint in form of a device

[PATCH v2 0/5] Support running driver's probe for a device powered off

2019-08-26 Thread Sakari Ailus
Hi all, These patches enable calling (and finishing) a driver's probe function without powering on the respective device on busses where the practice is to power on the device for probe. While it generally is a driver's job to check the that the device is there, there are cases where it might be

[PATCH v2 4/5] media: i2c: imx319: Support probe while the device is off

2019-08-26 Thread Sakari Ailus
From: Rajmohan Mani Tell ACPI device PM code that the driver supports the device being powered off when the driver's probe function is entered. Signed-off-by: Rajmohan Mani Signed-off-by: Sakari Ailus --- drivers/media/i2c/imx319.c | 23 ++- 1 file changed, 14

[PATCH v2 2/5] ACPI: Add a convenience function to tell a device is suspended in probe

2019-08-26 Thread Sakari Ailus
Add a convenience function to tell whether a device is suspended for probe or remove, for busses where the custom is that drivers don't need to resume devices in probe, or suspend them in their remove handlers. Returns false on non-ACPI systems. Suggested-by: Mika Westerberg Signed-off-by:

[PATCH v2 3/5] ov5670: Support probe whilst the device is in a low power state

2019-08-26 Thread Sakari Ailus
Tell ACPI device PM code that the driver supports the device being in a low power state when the driver's probe function is entered. Signed-off-by: Sakari Ailus --- drivers/media/i2c/ov5670.c | 23 ++- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git

<    3   4   5   6   7   8   9   10   >