Re: [PATCH v9 1/4] dt-bindings: phy: Add sparx5-serdes bindings

2020-12-07 Thread Rob Herring
On Mon, 07 Dec 2020 13:13:42 +0100, Steen Hegelund wrote: > Document the Sparx5 ethernet serdes phy driver bindings. > > Signed-off-by: Lars Povlsen > Signed-off-by: Steen Hegelund > --- > .../bindings/phy/microchip,sparx5-serdes.yaml | 100 ++ > 1 file changed, 100

Re: [PATCH v3 1/5] dt-bindings: irq: sun7i-nmi: Add binding documentation for the V3s NMI

2020-12-07 Thread Rob Herring
On Sun, 06 Dec 2020 17:51:27 +0100, Paul Kocialkowski wrote: > The V3s NMI controller seems register-compatible with the A80 (sun9i). > Add new items for the compatible string, with an entry specific to the V3s > and the A80 entry. > > Signed-off-by: Paul Kocialkowski > --- >

Re: [PATCH 02/22] dt-bindings: Add bindings for Keem Bay IPC driver

2020-12-07 Thread mark gross
On Mon, Dec 07, 2020 at 10:01:52AM -0600, Rob Herring wrote: > On Tue, Dec 01, 2020 at 02:34:51PM -0800, mgr...@linux.intel.com wrote: > > From: Daniele Alessandrelli > > > > Add DT binding documentation for the Intel Keem Bay IPC driver, which > > enables communication between the Computing

Re: [PATCH v1] HID: make arrays usage and value to be the same

2020-12-07 Thread Greg KH
On Mon, Dec 07, 2020 at 09:55:48AM -0800, Will McVicker wrote: > On Sat, Dec 05, 2020 at 09:59:57AM +0100, Greg KH wrote: > > On Sat, Dec 05, 2020 at 12:48:48AM +, Will McVicker wrote: > > > The HID subsystem allows an "HID report field" to have a different > > > number of "values" and

Re: [PATCH] ACPI: scan: Fix up _DEP-related terminology with supplier/consumer

2020-12-07 Thread Hans de Goede
Hi, On 12/7/20 6:46 PM, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The ACPI namespace scanning code uses the terms master/slave when > populating the list of _DEP dependencies, but that use has no > external exposures and is not mandated by nor associated with any > external

Re: [PATCH v13 0/3] scsi: ufs: Add Host Performance Booster Support

2020-12-07 Thread Greg KH
On Mon, Dec 07, 2020 at 06:06:55PM +, Christoph Hellwig wrote: > On Mon, Dec 07, 2020 at 06:56:23PM +0100, Greg KH wrote: > > On Tue, Nov 03, 2020 at 01:40:21PM +0900, Daejun Park wrote: > > > Changelog: > > > > > > v12 -> v13 > > > 1. Cleanup codes by comments from Can Guo. > > > 2. Add HPB

Re: [PATCH] pinctrl: remove the blank line in pinctrl_register()

2020-12-07 Thread Andy Shevchenko
On Mon, Dec 7, 2020 at 6:13 PM Zhaoyu Liu wrote: > > Remove the blank line in pinctrl_register() to keep the code neat. Probably you want to apply the same for other drivers at once? % git grep -n -B1 -w ^} -- drivers/pinctrl/ | grep -C1 '[0-9]-$' | less -- With Best Regards, Andy Shevchenko

Re: [patch 3/3] tick: Annotate tick_do_timer_cpu data races

2020-12-07 Thread Marco Elver
On Mon, 7 Dec 2020 at 18:46, Thomas Gleixner wrote: > On Mon, Dec 07 2020 at 13:09, Peter Zijlstra wrote: > > On Sun, Dec 06, 2020 at 10:12:56PM +0100, Thomas Gleixner wrote: > >> +if (data_race(tick_do_timer_cpu) == TICK_DO_TIMER_BOOT) { > > > > I prefer the form: > > > > if

Re: [PATCH] arm64: cpufeature: fix unused function warning

2020-12-07 Thread Catalin Marinas
On Fri, Dec 04, 2020 at 09:59:10AM +, Will Deacon wrote: > On Thu, Dec 03, 2020 at 11:32:11PM +0100, Arnd Bergmann wrote: > > From: Arnd Bergmann > > > > The __system_matches_cap() function is now only used in an #ifdef > > section: > > > > arch/arm64/kernel/cpufeature.c:2649:13: error:

[PATCH v2 3/3] platform/x86: ISST: Change PCI device macros

2020-12-07 Thread Srinivas Pandruvada
Use PCI_VDEVICE and PCI_DEVICE_DATA macros. No functional changes are expected. Signed-off-by: Srinivas Pandruvada --- .../platform/x86/intel_speed_select_if/isst_if_common.h | 8 .../platform/x86/intel_speed_select_if/isst_if_mbox_pci.c | 4 ++--

[PATCH v2 2/3] platform/x86: ISST: Allow configurable offset range

2020-12-07 Thread Srinivas Pandruvada
The mmio offset range can be different based on the PCI device id. Here for INTEL_RAPL_PRIO_DEVID_1, the range is increased from 45 to 64. Pass the range as the driver_data. Also account for different ranges during save/restore via suspend/resume callbacks. Reported-by: kernel test robot

Re: [PATCH v2 0/3] Intel Speed Select interface changes for 5.11

2020-12-07 Thread Hans de Goede
Hi, On 12/7/20 7:15 PM, Srinivas Pandruvada wrote: > v2 > Fix sparse warnings reported by LKP. > > Srinivas Pandruvada (3): > platform/x86: ISST: Check for unaligned mmio address > platform/x86: ISST: Allow configurable offset range > platform/x86: ISST: Change PCI device macros I've

Re: [PATCH v2] pwm: bcm2835: Support apply function for atomic configuration

2020-12-07 Thread Sean Young
Hi Uwe, On Mon, Dec 07, 2020 at 02:52:09PM +0100, Uwe Kleine-König wrote: > On Mon, Dec 07, 2020 at 09:43:20AM +, Sean Young wrote: > > On Mon, Dec 07, 2020 at 09:16:28AM +0100, Uwe Kleine-König wrote: > > > On Sun, Dec 06, 2020 at 02:19:41PM +, Sean Young wrote: > > > > On Sat, Dec 05,

[PATCH v2 1/3] platform/x86: ISST: Check for unaligned mmio address

2020-12-07 Thread Srinivas Pandruvada
The address should be aligned to 4 byte boundary. So send an error for unaligned address. Signed-off-by: Srinivas Pandruvada --- drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

Re: [f2fs-dev] [PATCH RESEND] f2fs: compress: deny setting unsupported compress algorithm

2020-12-07 Thread Eric Biggers
On Mon, Dec 07, 2020 at 05:56:09PM +0800, Chao Yu wrote: > If kernel doesn't support certain kinds of compress algorithm, deny to set > them as compress algorithm of f2fs via 'compress_algorithm=%s' mount option. > > Signed-off-by: Chao Yu > --- > no changes, just rebase on dev branch. This

[PATCH v2 0/3] Intel Speed Select interface changes for 5.11

2020-12-07 Thread Srinivas Pandruvada
v2 Fix sparse warnings reported by LKP. Srinivas Pandruvada (3): platform/x86: ISST: Check for unaligned mmio address platform/x86: ISST: Allow configurable offset range platform/x86: ISST: Change PCI device macros .../intel_speed_select_if/isst_if_common.h| 8 +--

Re: [PATCH v2 1/1] ath10k: add option for chip-id based BDF selection

2020-12-07 Thread Abhishek Kumar
Hi, > > (no changes since v1) > > I think you need to work on the method you're using to generate your > patches. There are most definitely changes since v1. You described > them in your cover letter (which you don't really need for a singleton > patch) instead of here. I agree, this was not

Re: [f2fs-dev] [PATCH v5 RESEND] f2fs: compress: add compress_inode to cache compressed blocks

2020-12-07 Thread Eric Biggers
On Mon, Dec 07, 2020 at 05:52:20PM +0800, Chao Yu wrote: > diff --git a/Documentation/filesystems/f2fs.rst > b/Documentation/filesystems/f2fs.rst > index dae15c96e659..fd413d319e93 100644 > --- a/Documentation/filesystems/f2fs.rst > +++ b/Documentation/filesystems/f2fs.rst > @@ -268,6 +268,9 @@

Re: [PATCH v3] venus: core: add support to dump FW region

2020-12-07 Thread Stephen Boyd
Quoting diksh...@codeaurora.org (2020-12-06 22:13:30) > From: Dikshita Agarwal > > Add support to dump video FW region during FW crash > using devcoredump helpers. > > Signed-off-by: Dikshita Agarwal > --- One nit below. Reviewed-by: Stephen Boyd Usually this contains a "Changes from v1"

Re: [PATCH] iommu: arm-smmu-impl: add NXP hook to preserve bootmappings

2020-12-07 Thread Robin Murphy
On 2020-12-02 10:29, Laurentiu Tudor wrote: Hi Robin, Sorry for the late reply, we had a few days of over here. Comments inline. On 11/25/2020 8:10 PM, Robin Murphy wrote: On 2020-11-25 15:50, laurentiu.tu...@nxp.com wrote: From: Laurentiu Tudor Add a NXP specific hook to preserve SMMU

Re: [PATCH v7 1/7] fpga: sec-mgr: fpga security manager class driver

2020-12-07 Thread Russ Weight
On 12/4/20 11:45 AM, Randy Dunlap wrote: > Hi-- > > On 12/3/20 1:09 PM, Russ Weight wrote: > >> --- >> diff --git a/Documentation/fpga/fpga-sec-mgr.rst >> b/Documentation/fpga/fpga-sec-mgr.rst >> new file mode 100644 >> index ..26dac599ead7 >> --- /dev/null >> +++

Re: [PATCH v13 0/3] scsi: ufs: Add Host Performance Booster Support

2020-12-07 Thread Christoph Hellwig
On Mon, Dec 07, 2020 at 06:56:23PM +0100, Greg KH wrote: > On Tue, Nov 03, 2020 at 01:40:21PM +0900, Daejun Park wrote: > > Changelog: > > > > v12 -> v13 > > 1. Cleanup codes by comments from Can Guo. > > 2. Add HPB related descriptor/flag/attributes in sysfs. > > 3. Change base commit from

Re: [PATCH] arch: fix spelling mistakes in Kconfig

2020-12-07 Thread Randy Dunlap
On 12/7/20 7:50 AM, Colin King wrote: > From: Colin Ian King > > There are a few spelling mistakes in the Kconfig comments and help > text. Fix these. > > Signed-off-by: Colin Ian King > --- > arch/Kconfig | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) Acked-by: Randy Dunlap

Re: [RFC PATCH v5] sched/fair: select idle cpu from idle cpumask for task wakeup

2020-12-07 Thread Peter Zijlstra
On Mon, Dec 07, 2020 at 04:52:24PM +, Valentin Schneider wrote: > > On 07/12/20 15:48, Peter Zijlstra wrote: > > On Wed, Nov 18, 2020 at 12:31:13PM +0800, Aubrey Li wrote: > >> diff --git a/kernel/sched/idle.c b/kernel/sched/idle.c > >> index f324dc36fc43..6f5947673e66 100644 > >> ---

Re: [PATCH v2 1/3] KVM: x86: implement KVM_{GET|SET}_TSC_STATE

2020-12-07 Thread Andy Lutomirski
> On Dec 7, 2020, at 9:00 AM, Maxim Levitsky wrote: > > On Mon, 2020-12-07 at 08:53 -0800, Andy Lutomirski wrote: On Dec 7, 2020, at 8:38 AM, Thomas Gleixner wrote: >>> >>> On Mon, Dec 07 2020 at 14:16, Maxim Levitsky wrote: > On Sun, 2020-12-06 at 17:19 +0100, Thomas Gleixner

Re: [PATCH v6 08/10] perf metricgroup: Support printing metric groups for system PMUs

2020-12-07 Thread John Garry
On 07/12/2020 17:23, Arnaldo Carvalho de Melo wrote: +struct metricgroup_print_sys_idata { + struct strlist *metriclist; + bool metricgroups; + char *filter; + bool raw; + bool details; + struct rblist *groups; +}; I'm doing some reorg to avoid these holes:

Re: [PATCH v24 4/5] dt-bindings: remoteproc: Add documentation for ZynqMP R5 rproc bindings

2020-12-07 Thread Mathieu Poirier
Rob Herring is the maintainer of all the yaml files - he is the one this patch needs to go to. I merely look at them to understand the platform device implementation. On Mon, Nov 30, 2020 at 07:57:16AM -0800, Ben Levinsky wrote: > Add binding for ZynqMP R5 OpenAMP. > > Represent the RPU domain

Re: [PATCH v2 2/2] devicetree: phy: rockchip-emmc: pulldown property

2020-12-07 Thread Rob Herring
On Sun, Nov 29, 2020 at 01:44:15PM +0800, Chris Ruehl wrote: > Update the documentation and add the bool property > enable-strobe-pulldown used to enable the internal pull-down for the > strobe line. > > Signed-off-by: Chris Ruehl > --- >

Re: [PATCH v13 1/3] scsi: ufs: Introduce HPB feature

2020-12-07 Thread Greg KH
On Tue, Nov 03, 2020 at 01:46:23PM +0900, Daejun Park wrote: > This is a patch for the HPB feature. > This patch adds HPB function calls to UFS core driver. Ok, I asked if there was anything left to do, and I see some stuff here. First off, this changelog is really really sparse. It needs to be

Re: [PATCH v6 06/10] perf metricgroup: Fix metrics using aliases covering multiple PMUs

2020-12-07 Thread John Garry
On 07/12/2020 17:19, Arnaldo Carvalho de Melo wrote: Next time please try to provides a Fixes: tag to help with backporting/sta...@kernel.org work. Hi Arnaldo, I know you asked me this before Re. fixes tags ... but I don't know any cases of "metrics using aliases covering multiple PMUs" in

Re: [PATCHSET] saner elf compat

2020-12-07 Thread Maciej W. Rozycki
On Thu, 3 Dec 2020, Al Viro wrote: > > Linux-mips was cc'd, but I'm adding Thomas B to the cc here explicitly > > just so that he has a heads-up on this thing and can go and look at > > the mailing list in case it goes to a separate mailbox for him.. > > I would certainly appreciate review and

Re: [PATCH V4 01/10] regulator: Update DA9121 dt-bindings

2020-12-07 Thread Rob Herring
On Tue, Dec 01, 2020 at 01:52:27PM +, Adam Ward wrote: > Update bindings for the Dialog Semiconductor DA9121 voltage regulator to > add device variants. > Because several variants have multiple regulators, and to regard potential > to add GPIO support in future, the 'regulators' sub-node is

[PATCH v3 2/5] arm64: dts: meson: fix PHY deassert timing requirements

2020-12-07 Thread Stefan Agner
According to the datasheet (Rev. 1.9) the RTL8211F requires at least 72ms "for internal circuits settling time" before accessing the PHY registers. This fixes an issue seen on ODROID-C2 where the Ethernet link doesn't come up when using ip link set down/up: [ 6630.714855] meson8b-dwmac

[PATCH v3 5/5] arm64: dts: meson: g12b: w400: fix PHY deassert timing requirements

2020-12-07 Thread Stefan Agner
According to the datasheet (Rev. 1.9) the RTL8211F requires at least 72ms "for internal circuits settling time" before accessing the PHY egisters. On similar boards with the same PHY this fixes an issue where Ethernet link would not come up when using ip link set down/up. Fixes: 2cd2310fca4c

[PATCH v3 4/5] arm64: dts: meson: g12a: x96-max: fix PHY deassert timing requirements

2020-12-07 Thread Stefan Agner
According to the datasheet (Rev. 1.9) the RTL8211F requires at least 72ms "for internal circuits settling time" before accessing the PHY registers. On similar boards with the same PHY this fixes an issue where Ethernet link would not come up when using ip link set down/up. Fixes: ed5e8f689154

[PATCH v3 1/5] arm64: dts: meson: g12b: odroid-n2: fix PHY deassert timing requirements

2020-12-07 Thread Stefan Agner
According to the datasheet (Rev. 1.9) the RTL8211F requires at least 72ms "for internal circuits settling time" before accessing the PHY registers. This fixes an issue where the Ethernet link doesn't come up when using ip link set down/up: [ 29.360965] meson8b-dwmac ff3f.ethernet eth0:

[PATCH v3 3/5] ARM: dts: meson: fix PHY deassert timing requirements

2020-12-07 Thread Stefan Agner
According to the datasheet (Rev. 1.9) the RTL8211F requires at least 72ms "for internal circuits settling time" before accessing the PHY registers. On similar boards with the same PHY this fixes an issue where Ethernet link would not come up when using ip link set down/up. Fixes: a2c6e82e5341

[PATCH] regulator: da9121: Potential Oops in da9121_assign_chip_model()

2020-12-07 Thread Dan Carpenter
There is a missing "return ret;" on this error path so we call "da9121_check_device_type(i2c, chip);" which will end up dereferencing "chip->regmap" and lead to an Oops. Fixes: c860476b9e3a ("regulator: da9121: Add device variant regmaps") Signed-off-by: Dan Carpenter ---

Re: [patch V2 9/9] tasklets: Prevent kill/unlock_wait deadlock on RT

2020-12-07 Thread Thomas Gleixner
On Mon, Dec 07 2020 at 15:27, Peter Zijlstra wrote: > On Mon, Dec 07, 2020 at 03:00:40PM +0100, Sebastian Andrzej Siewior wrote: >> On 2020-12-07 12:47:43 [+0100], Peter Zijlstra wrote: >> > On Fri, Dec 04, 2020 at 06:02:00PM +0100, Thomas Gleixner wrote: >> > > @@ -825,7 +848,20 @@ void

Re: [PATCH v1] HID: make arrays usage and value to be the same

2020-12-07 Thread Will McVicker
On Sat, Dec 05, 2020 at 09:59:57AM +0100, Greg KH wrote: > On Sat, Dec 05, 2020 at 12:48:48AM +, Will McVicker wrote: > > The HID subsystem allows an "HID report field" to have a different > > number of "values" and "usages" when it is allocated. When a field > > struct is created, the size of

Re: [PATCH v13 0/3] scsi: ufs: Add Host Performance Booster Support

2020-12-07 Thread Greg KH
On Tue, Nov 03, 2020 at 01:40:21PM +0900, Daejun Park wrote: > Changelog: > > v12 -> v13 > 1. Cleanup codes by comments from Can Guo. > 2. Add HPB related descriptor/flag/attributes in sysfs. > 3. Change base commit from 5.10/scsi-queue to 5.11/scsi-queue. What ever happened to this patchset?

Re: [PATCH] mtd: spi-nor: macronix: enable 4-bit BP support for MX25L6405D

2020-12-07 Thread Tudor.Ambarus
Hi, Sieng, On 12/7/20 4:46 AM, Sieng Piaw Liew wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > Enable 4-bit Block Protect support for MX256405D and its variants using > the same ID. > > Tested on Innacom W3400V6 router with MX25L6406E

Re: [PATCH v2 3/5] ARM: dts: meson: fix PHY deassert timing requirements

2020-12-07 Thread Stefan Agner
On 2020-12-05 14:04, Martin Blumenstingl wrote: > Hi Stefan, > > On Tue, Dec 1, 2020 at 2:21 PM Stefan Agner wrote: >> >> According to the datasheet (Rev. 1.9) the RTL8211F requires at least >> 72ms "for internal circuits settling time" before accessing the PHY >> egisters. On similar boards

Re: [patch V2 9/9] tasklets: Prevent kill/unlock_wait deadlock on RT

2020-12-07 Thread Thomas Gleixner
On Mon, Dec 07 2020 at 18:49, Thomas Gleixner wrote: > On Mon, Dec 07 2020 at 16:39, Sebastian Andrzej Siewior wrote: >> On 2020-12-07 16:22:07 [+0100], Thomas Gleixner wrote: >>> On Mon, Dec 07 2020 at 15:00, Sebastian Andrzej Siewior wrote: >>> > So we keep the RT part as-is and replace the

[PATCH] Bluetooth: smp: Fix biased random passkey generation

2020-12-07 Thread Mincheol Son
Since u32 range size is not a multiple of 1,000,000, current passkey generation logic is biased. Fixed this by adding a routine that selects passkey again if passkey is 4,200,000,000 or more. Signed-off-by: Mincheol Son --- net/bluetooth/smp.c | 4 +++- 1 file changed, 3 insertions(+), 1

Re: [patch V2 9/9] tasklets: Prevent kill/unlock_wait deadlock on RT

2020-12-07 Thread Thomas Gleixner
On Mon, Dec 07 2020 at 16:39, Sebastian Andrzej Siewior wrote: > On 2020-12-07 16:22:07 [+0100], Thomas Gleixner wrote: >> On Mon, Dec 07 2020 at 15:00, Sebastian Andrzej Siewior wrote: >> > So we keep the RT part as-is and replace the non-RT bits with this? >> >> No. It would work for both. > >

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

2020-12-07 Thread Jonathan Corbet
On Mon, 7 Dec 2020 08:47:04 -0800 "Paul E. McKenney" wrote: > I freely confess that I have absolutely no idea what it doesn't like. > It is complaining about this header comment, correct? > > /** > * kmem_last_alloc_stack - Get return address and stack for last allocation > * @object: object

[PATCH platform 0/2] platform/x86: mlx-platform: Fix item counter assignment

2020-12-07 Thread Vadim Pasternak
Fix array names to match assignments for data items and data items counter for power and fan attributes. Patch #1: Provide fixes for system types MSN2700, MSN24xx. Patch #1: Provide fixes for system type MSN2700/ComEx. Vadim Pasternak (2): platform/x86: mlx-platform: Fix item counter

[PATCH platform 1/2] platform/x86: mlx-platform: Fix item counter assignment for MSN2700, MSN24xx systems

2020-12-07 Thread Vadim Pasternak
Fix array names to match assignments for data items and data items counter in 'mlxplat_mlxcpld_default_items' structure for: .data = mlxplat_mlxcpld_default_pwr_items_data, .count = ARRAY_SIZE(mlxplat_mlxcpld_pwr), and .data = mlxplat_mlxcpld_default_fan_items_data,

[PATCH platform 2/2] platform/x86: mlx-platform: Fix item counter assignment for MSN2700/ComEx system

2020-12-07 Thread Vadim Pasternak
Fix array names to match assignments for data items and data items counter in 'mlxplat_mlxcpld_comex_items' structure for: .data = mlxplat_mlxcpld_default_pwr_items_data, .count = ARRAY_SIZE(mlxplat_mlxcpld_pwr), and .data = mlxplat_mlxcpld_default_fan_items_data,

Re: [patch 3/3] tick: Annotate tick_do_timer_cpu data races

2020-12-07 Thread Thomas Gleixner
On Mon, Dec 07 2020 at 13:09, Peter Zijlstra wrote: > On Sun, Dec 06, 2020 at 10:12:56PM +0100, Thomas Gleixner wrote: >> +if (data_race(tick_do_timer_cpu) == TICK_DO_TIMER_BOOT) { > > I prefer the form: > > if (data_race(tick_do_timer_cpu == TICK_DO_TIMER_BOOT)) { > > But there

[PATCH] ACPI: scan: Fix up _DEP-related terminology with supplier/consumer

2020-12-07 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The ACPI namespace scanning code uses the terms master/slave when populating the list of _DEP dependencies, but that use has no external exposures and is not mandated by nor associated with any external specifications. Change the language used through-out to

Re: [PATCH v5 0/2] MTE support for KVM guest

2020-12-07 Thread Dr. David Alan Gilbert
* Peter Maydell (peter.mayd...@linaro.org) wrote: > On Mon, 7 Dec 2020 at 16:44, Dr. David Alan Gilbert > wrote: > > * Steven Price (steven.pr...@arm.com) wrote: > > > Sorry, I know I simplified it rather by saying it's similar to protected > > > VM. > > > Basically as I see it there are three

Re: pci 0000:00:07.0: DPC: RP PIO log size 0 is invalid

2020-12-07 Thread Kuppuswamy, Sathyanarayanan
Hi, On 12/7/20 5:08 AM, Paul Menzel wrote: [Bringing the issue up on the list in case the Linux Bugzilla is not monitored/used.] Dear Linux folks, On Intel Tiger Lake Dell laptop, Linux logs the error below [1].     [    0.507307] pci :00:07.0: DPC: RP PIO log size 0 is invalid    

Re: [patch 1/3] tick: Remove pointless cpu valid check in hotplug code

2020-12-07 Thread Thomas Gleixner
On Mon, Dec 07 2020 at 12:59, Peter Zijlstra wrote: > On Sun, Dec 06, 2020 at 10:12:54PM +0100, Thomas Gleixner wrote: > >> void tick_handover_do_timer(void) >> { >> +if (tick_do_timer_cpu == smp_processor_id()) >> +tick_do_timer_cpu = cpumask_first(cpu_online_mask); > > For the

Re: [PATCH v2 1/3] KVM: x86: implement KVM_{GET|SET}_TSC_STATE

2020-12-07 Thread Thomas Gleixner
On Mon, Dec 07 2020 at 14:16, Vitaly Kuznetsov wrote: > Maxim Levitsky writes: >> But other than that I don't mind making TSC offset global per VM thing. >> Paulo, what do you think about this? >> > > Not Paolo here but personally I'd very much prefer we go this route but > unsynchronized TSCs

Re: [PATCH v3 3/6] remoteproc: pru: Add support for PRU specific interrupt configuration

2020-12-07 Thread Mathieu Poirier
On Fri, Dec 04, 2020 at 09:18:04PM +0100, Grzegorz Jaszczyk wrote: > The firmware blob can contain optional ELF sections: .resource_table > section and .pru_irq_map one. The second one contains the PRUSS > interrupt mapping description, which needs to be setup before powering > on the PRU core. To

[PATCH] RDMA/restrack: update kernel documentation for ib_create_named_qp()

2020-12-07 Thread Lukas Bulwahn
re/verbs.c:1206: warning: Function parameter or member 'caller' not described in 'ib_create_named_qp' Add a description for this new argument based on the description of the same argument in other related functions. Signed-off-by: Lukas Bulwahn --- applies on next-20201207 Doug, Jason, Leon, p

Re: [PATCH v2 1/3] KVM: x86: implement KVM_{GET|SET}_TSC_STATE

2020-12-07 Thread Oliver Upton
On Thu, Dec 3, 2020 at 11:12 AM Maxim Levitsky wrote: > > These two new ioctls allow to more precisly capture and > restore guest's TSC state. > > Both ioctls are meant to be used to accurately migrate guest TSC > even when there is a significant downtime during the migration. > > Suggested-by:

Re: [PATCH] mm/page_alloc: simplify kmem cgroup charge/uncharge code

2020-12-07 Thread Shakeel Butt
On Mon, Dec 7, 2020 at 6:22 AM Hui Su wrote: > > Since the commit 60cd4bcd6238 ("memcg: localize memcg_kmem_enabled() > check"), we have supplied the api which users don't have to explicitly > check memcg_kmem_enabled(). > > Signed-off-by: Hui Su > --- > mm/page_alloc.c | 12 ++-- > 1

Re: [PATCH] mtd: spi-nor: winbond: Add support for w25m512jw

2020-12-07 Thread Tudor.Ambarus
Hi, Lad, On 10/16/20 2:55 PM, Lad Prabhakar wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > This chip is (nearly) identical to the Winbond w25m512jv which is > already supported by Linux. Compared to the w25m512jv, the 'jw' > has a

Re: [PATCH v1 3/3] scsi: ufs: Make UPIU trace easier differentiate among CDB, OSF, and TM

2020-12-07 Thread Steven Rostedt
On Mon, 7 Dec 2020 16:40:51 + Avri Altman wrote: > > > > On Mon, 7 Dec 2020 07:57:27 + > > Avri Altman wrote: > > > > > > > > > > TP_printk( > > > > - "%s: %s: HDR:%s, CDB:%s", > > > > + "%s: %s: HDR:%s, %s:%s", > > > >

Re: [PATCH sl-b 1/6] mm: Add kmem_last_alloc() to return last allocation for memory block

2020-12-07 Thread Paul E. McKenney
On Mon, Dec 07, 2020 at 06:02:53PM +0900, Joonsoo Kim wrote: > Hello, Paul. > > On Fri, Dec 04, 2020 at 04:40:52PM -0800, paul...@kernel.org wrote: > > From: "Paul E. McKenney" > > > > There are kernel facilities such as per-CPU reference counts that give > > error messages in generic handlers

Re: [PATCH v12 12/15] PCI/RCEC: Add RCiEP's linked RCEC to AER/ERR

2020-12-07 Thread Kelley, Sean V
Hi Bjorn, > On Dec 5, 2020, at 1:30 PM, Bjorn Helgaas wrote: > > On Fri, Dec 04, 2020 at 05:17:58PM +, Kelley, Sean V wrote: >>> On Dec 3, 2020, at 4:01 PM, Bjorn Helgaas wrote: >>> On Thu, Dec 03, 2020 at 12:51:40AM +, Kelley, Sean V wrote: > On Dec 2, 2020, at 3:44 PM, Bjorn

Re: [PATCH v6 08/10] perf metricgroup: Support printing metric groups for system PMUs

2020-12-07 Thread Arnaldo Carvalho de Melo
Em Fri, Dec 04, 2020 at 07:10:14PM +0800, John Garry escreveu: > Currently printing metricgroups for core- or uncore-based events matched > by CPUID is supported. > > Extend this for system events. > > Signed-off-by: John Garry > Acked-by: Kajol Jain > --- > tools/perf/util/metricgroup.c | 64

Re: [PATCH] spi: dw: Fix error return code in dw_spi_bt1_probe()

2020-12-07 Thread Mark Brown
On Fri, 4 Dec 2020 16:42:37 +0800, Zhang Changzhong wrote: > Fix to return a negative error code from the error handling > case instead of 0, as done elsewhere in this function. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/1] spi: dw: Fix

Re: [PATCH 0/4] spi: atmel-quadspi: Fix AHB memory accesses

2020-12-07 Thread Mark Brown
On Mon, 7 Dec 2020 15:59:55 +0200, Tudor Ambarus wrote: > Starting with the move of the atmel-quadspi driver under SPI, > the following error could be seen when mounting a 16MByte ubifs: > UBIFS error (ubi0:0 pid 1893): check_lpt_type.constprop.6: invalid type (15) > in LPT node type > > 1/4

Re: [PATCH v4 net-next 1/2] net: dsa: add optional stats64 support

2020-12-07 Thread George McCollister
On Fri, Dec 4, 2020 at 8:59 AM Oleksij Rempel wrote: > > Allow DSA drivers to export stats64 > > Signed-off-by: Oleksij Rempel > Reviewed-by: Vladimir Oltean Reviewed-by: George McCollister I've already updated my xrs700x dsa driver for v3 to use this. I'm blocked on sending v3 until this is

Re: [PATCH 2/2] devicetree: phy: rockchip-emmc add output-tapdelay-select

2020-12-07 Thread Rob Herring
On Wed, Dec 02, 2020 at 04:25:07PM +0800, Chris Ruehl wrote: > Update the rockchip-emmc-phy.txt and add the u32 property > 'output-tapdelay-select'. This allow to set the otapdlysec register. > > Tested with our customized rk3399 board to tune eMMC. > > Signed-off-by: Chris Ruehl > --- >

Re: [PATCH v6 06/10] perf metricgroup: Fix metrics using aliases covering multiple PMUs

2020-12-07 Thread Arnaldo Carvalho de Melo
Em Fri, Dec 04, 2020 at 07:10:12PM +0800, John Garry escreveu: > Support for metric expressions using aliases which cover multiple PMUs is > broken. Consider the following test metric expression: > > "MetricExpr": "UNC_CBO_XSNP_RESPONSE.MISS_XCORE * > UNC_CBO_XSNP_RESPONSE.MISS_EVICTION" > >

[PATCH 1/2] regulator: da9121: Remove uninitialised string variable

2020-12-07 Thread Adam Ward
Erroneously left in when switched to using of_parse_cb() Signed-off-by: Adam Ward --- drivers/regulator/da9121-regulator.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/regulator/da9121-regulator.c b/drivers/regulator/da9121-regulator.c index db1c2cc..ed68259

[PATCH 2/2] regulator: da9121: Fix index used for DT property

2020-12-07 Thread Adam Ward
Signed-off-by: Adam Ward --- drivers/regulator/da9121-regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/da9121-regulator.c b/drivers/regulator/da9121-regulator.c index ed68259..9d5b02f 100644 --- a/drivers/regulator/da9121-regulator.c +++

[PATCH 0/2] regulator: da9121: bug fixes

2020-12-07 Thread Adam Ward
This patch fixes a couple of bugs in the DA9121 driver. One in an uninialised string I forgot to remove when changing to of_parse_cb() The other is an index for an optional DT property which overflows Adam Ward (2): regulator: da9121: Remove uninitialised string variable regulator: da9121:

Re: [PATCH v2 01/22] x86/fpu/xstate: Modify area init helper prototypes to access all the possible areas

2020-12-07 Thread Borislav Petkov
On Thu, Nov 19, 2020 at 03:32:36PM -0800, Chang S. Bae wrote: > The xstate infrastructure is not flexible to support dynamic areas in > task->fpu. task->fpu? Do you mean the fpu member in struct thread_struct ? > Change the fpstate_init() prototype to access task->fpu directly. It > treats a

Re: [PATCH 1/3] perf tools: Add evlist__disable_evsel/evlist__enable_evsel

2020-12-07 Thread Alexei Budankov
Hi, On 06.12.2020 20:05, Jiri Olsa wrote: > Adding interface to enable/disable single event in the > evlist based on its name. It will be used later in new > control enable/disable interface. > > Keeping the evlist::enabled true when one or more events > are enabled so the toggle can work

Re: [PATCH v15 07/26] x86/mm: Remove _PAGE_DIRTY_HW from kernel RO pages

2020-12-07 Thread Yu, Yu-cheng
On 12/7/2020 8:36 AM, Borislav Petkov wrote: On Tue, Nov 10, 2020 at 08:21:52AM -0800, Yu-cheng Yu wrote: Kernel read-only PTEs are setup as _PAGE_DIRTY_HW. Since these become shadow stack PTEs, remove the dirty bit. This commit message is laconic to say the least. You need to start

Re: [PATCH v5 0/2] MTE support for KVM guest

2020-12-07 Thread Peter Maydell
On Mon, 7 Dec 2020 at 16:44, Dr. David Alan Gilbert wrote: > * Steven Price (steven.pr...@arm.com) wrote: > > Sorry, I know I simplified it rather by saying it's similar to protected VM. > > Basically as I see it there are three types of memory access: > > > > 1) Debug case - has to go via a

Re: [RFC PATCH v5] sched/fair: select idle cpu from idle cpumask for task wakeup

2020-12-07 Thread Mel Gorman
On Mon, Dec 07, 2020 at 04:50:15PM +0100, Peter Zijlstra wrote: > On Wed, Nov 18, 2020 at 12:31:13PM +0800, Aubrey Li wrote: > > Add idle cpumask to track idle cpus in sched domain. When a CPU > > enters idle, if the idle driver indicates to stop tick, this CPU > > is set in the idle cpumask to be

Re: [PATCH 3/3] perf tools: Allow to list events via control file

2020-12-07 Thread Alexei Budankov
Hi, On 07.12.2020 19:28, Arnaldo Carvalho de Melo wrote: > Em Sun, Dec 06, 2020 at 06:05:19PM +0100, Jiri Olsa escreveu: >> Adding new control event to display all evlist events. >> >> The interface string for control file is 'list'. When >> received, perf will scan and print current evlist into

Re: [PATCH 3/3] dt-bindings: thermal: Add binding document for mt6873 thermal controller

2020-12-07 Thread Rob Herring
On Mon, Dec 07, 2020 at 02:31:27PM +0800, Michael Kao wrote: > This patch adds binding document for mt6873 thermal controller. > > Signed-off-by: Michael Kao > --- > .../thermal/mediatek-thermal-lvts.yaml| 80 +++ > 1 file changed, 80 insertions(+) > create mode 100644

Re: [PATCH V2 02/12] perf record: Support new sample type for data page size

2020-12-07 Thread Arnaldo Carvalho de Melo
Em Mon, Nov 30, 2020 at 09:27:53AM -0800, kan.li...@linux.intel.com escreveu: > From: Kan Liang > > Support new sample type PERF_SAMPLE_DATA_PAGE_SIZE for page size. > > Add new option --data-page-size to record sample data page size. So, trying this on a kernel without this feature I get:

[PATCH] lkdtm: don't move ctors to .rodata

2020-12-07 Thread Mark Rutland
When building with KASAN and LKDTM, clang may implictly generate an asan.module_ctor function in the LKDTM rodata object. The Makefile moves the lkdtm_rodata_do_nothing() function into .rodata by renaming the file's .text section to .rodata, and consequently also moves the ctor function into

Re: [PATCH 2/3] perf tools: Allow to enable/disable events via control file

2020-12-07 Thread Alexei Budankov
Hi, On 06.12.2020 20:05, Jiri Olsa wrote: > Adding new control events to enable/disable specific event. > The interface string for control file are: > > 'enable-' > 'disable-' > > when received the command, perf will scan the current evlist > for and if found it's enabled/disabled. >

Re: [PATCH 3/3] dt-bindings: thermal: Add binding document for mt6873 thermal controller

2020-12-07 Thread Rob Herring
On Mon, 07 Dec 2020 14:31:27 +0800, Michael Kao wrote: > This patch adds binding document for mt6873 thermal controller. > > Signed-off-by: Michael Kao > --- > .../thermal/mediatek-thermal-lvts.yaml| 80 +++ > 1 file changed, 80 insertions(+) > create mode 100644 >

Re: [PATCH v3 3/6] dt-bindings: display: imx: Add i.MX8qxp/qm DPR channel binding

2020-12-07 Thread Rob Herring
On Mon, Dec 07, 2020 at 11:20:57AM +0800, Liu Ying wrote: > This patch adds bindings for i.MX8qxp/qm Display Prefetch Resolve Channel. > > Signed-off-by: Liu Ying > --- > Note that this depends on the 'two cell binding' clock patch set which has > already landed in Shawn's i.MX clk/imx git

Re: [PATCH] powerpc/mm: Fix KUAP warning by providing copy_from_kernel_nofault_allowed()

2020-12-07 Thread Christophe Leroy
Le 07/12/2020 à 01:24, Michael Ellerman a écrit : Christophe Leroy writes: Since commit c33165253492 ("powerpc: use non-set_fs based maccess routines"), userspace access is not granted anymore when using copy_from_kernel_nofault() However, kthread_probe_data() uses

Re: [PATCH v3 2/6] dt-bindings: display: imx: Add i.MX8qxp/qm PRG binding

2020-12-07 Thread Rob Herring
On Mon, Dec 07, 2020 at 11:20:56AM +0800, Liu Ying wrote: > This patch adds bindings for i.MX8qxp/qm Display Prefetch Resolve Gasket. > > Signed-off-by: Liu Ying > --- > Note that this depends on the 'two cell binding' clock patch set which has > already landed in Shawn's i.MX clk/imx git

Re: [PATCH v2 1/3] KVM: x86: implement KVM_{GET|SET}_TSC_STATE

2020-12-07 Thread Maxim Levitsky
On Mon, 2020-12-07 at 08:53 -0800, Andy Lutomirski wrote: > > On Dec 7, 2020, at 8:38 AM, Thomas Gleixner wrote: > > > > On Mon, Dec 07 2020 at 14:16, Maxim Levitsky wrote: > > > > On Sun, 2020-12-06 at 17:19 +0100, Thomas Gleixner wrote: > > > > From a timekeeping POV and the guests

RE: [PATCH 2/3] rwsem: Implement down_read_interruptible

2020-12-07 Thread David Laight
From: Waiman Long > Sent: 07 December 2020 15:34 > > On 12/7/20 4:02 AM, Peter Zijlstra wrote: > > On Thu, Dec 03, 2020 at 08:59:13PM -0500, Waiman Long wrote: > >> On 12/3/20 3:11 PM, Eric W. Biederman wrote: > >>> +static inline int __down_read_interruptible(struct rw_semaphore *sem) > >>> +{

Re: [PATCH] ACPI: scan: Drop INT3396 from acpi_ignore_dep_ids[]

2020-12-07 Thread Hans de Goede
Hi, On 12/7/20 5:55 PM, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > According to Hans, all device objects where the _HID returns > "INT3396" also have a _CID returning "PNP0D80", so the former > need not be present in acpi_ignore_dep_ids[] any more. > > Link: >

[PATCH v2] powerpc/mm: Fix KUAP warning by providing copy_from_kernel_nofault_allowed()

2020-12-07 Thread Christophe Leroy
Since commit c33165253492 ("powerpc: use non-set_fs based maccess routines"), userspace access is not granted anymore when using copy_from_kernel_nofault() However, kthread_probe_data() uses copy_from_kernel_nofault() to check validity of pointers. When the pointer is NULL, it points to

Re: [PATCH v4 2/6] mmc: sdhci-of-aspeed: Expose clock phase controls

2020-12-07 Thread kernel test robot
Hi Andrew, I love your patch! Yet something to improve: [auto build test ERROR on joel-aspeed/for-next] [also build test ERROR on linus/master v5.10-rc7 next-20201207] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base

Re: [PATCH v3 1/6] dt-bindings: display: imx: Add i.MX8qxp/qm DPU binding

2020-12-07 Thread Rob Herring
On Mon, 07 Dec 2020 11:20:55 +0800, Liu Ying wrote: > This patch adds bindings for i.MX8qxp/qm Display Processing Unit. > > Signed-off-by: Liu Ying > --- > Note that this depends on the 'two cell binding' clock patch set which has > already landed in Shawn's i.MX clk/imx git branch. Otherwise,

Re: [PATCH] ath10k: Introduce a devicetree quirk to skip host cap QMI requests

2020-12-07 Thread Kalle Valo
Bjorn Andersson writes: > On Tue 03 Nov 01:48 CST 2020, Amit Pundir wrote: > >> Hi Rob, Bjorn, Kalle, >> >> On Thu, 29 Oct 2020 at 19:10, Bjorn Andersson >> wrote: >> > >> > On Tue 29 Sep 14:08 CDT 2020, Rob Herring wrote: >> > >> > > On Fri, Sep 25, 2020 at 11:59:41PM +0530, Amit Pundir

[PATCH] MAINTAINERS: crypto: s5p-sss: drop Kamil Konieczny

2020-12-07 Thread Krzysztof Kozlowski
E-mails to Kamil Konieczny to his Samsung address bounce with 550 (User unknown). Kamil no longer takes care about Samsung S5P SSS driver so remove the invalid email address from: - mailmap, - bindings maintainer entries, - maintainers entry for S5P Security Subsystem crypto accelerator.

[PATCH] ACPI: scan: Drop INT3396 from acpi_ignore_dep_ids[]

2020-12-07 Thread Rafael J. Wysocki
From: Rafael J. Wysocki According to Hans, all device objects where the _HID returns "INT3396" also have a _CID returning "PNP0D80", so the former need not be present in acpi_ignore_dep_ids[] any more. Link: https://lore.kernel.org/linux-acpi/52a2b98c-6bf3-760b-eca9-93cf05fb4...@redhat.com/

Re: [PATCH v2 1/3] KVM: x86: implement KVM_{GET|SET}_TSC_STATE

2020-12-07 Thread Andy Lutomirski
> On Dec 7, 2020, at 8:38 AM, Thomas Gleixner wrote: > > On Mon, Dec 07 2020 at 14:16, Maxim Levitsky wrote: >>> On Sun, 2020-12-06 at 17:19 +0100, Thomas Gleixner wrote: >>> From a timekeeping POV and the guests expectation of TSC this is >>> fundamentally wrong: >>> >>> tscguest =

Re: [RFC PATCH v5] sched/fair: select idle cpu from idle cpumask for task wakeup

2020-12-07 Thread Valentin Schneider
On 07/12/20 15:48, Peter Zijlstra wrote: > On Wed, Nov 18, 2020 at 12:31:13PM +0800, Aubrey Li wrote: >> diff --git a/kernel/sched/idle.c b/kernel/sched/idle.c >> index f324dc36fc43..6f5947673e66 100644 >> --- a/kernel/sched/idle.c >> +++ b/kernel/sched/idle.c >> @@ -163,6 +163,7 @@ static void

Re: [PATCH] clk: imx: Fix reparenting of UARTs not associated with sdout

2020-12-07 Thread Sascha Hauer
Hi Adam, On Mon, Dec 07, 2020 at 09:51:33AM -0600, Adam Ford wrote: > On Sun, Dec 6, 2020 at 11:24 PM Sascha Hauer wrote: > > > > Hi Adam, > > > > On Fri, Dec 04, 2020 at 12:31:54PM -0600, Adam Ford wrote: > > > The default clock source on i.MX8M Mini and Nano boards use a 24MHz clock, > > > but

Re: [PATCH v5 19/19] dt-bindings: usb: intel, keembay-dwc3: Validate DWC3 sub-node

2020-12-07 Thread Rob Herring
On Sat, 05 Dec 2020 18:24:26 +0300, Serge Semin wrote: > Intel Keem Bay DWC3 compatible DT nodes are supposed to have a DWC USB3 > compatible sub-node to describe a fully functioning USB interface. Let's > use the available DWC USB3 DT schema to validate the Qualcomm DWC3 > sub-nodes. > > Note

<    3   4   5   6   7   8   9   10   11   12   >