[PATCH V3 02/10] regulator: da9121: Add header file

2020-11-30 Thread Adam Ward
Add header file for Dialog Semiconductor DA9121 regulator and related devices, mostly autogenerated from the chip design databases, and update driver to replace local defines with those from header. Signed-off-by: Adam Ward --- drivers/regulator/da9121-regulator.c | 15 +- drivers/regulator/da9

Re: [PATCH v7 8/8] dt-bindings: thermal: tsens: Document ipq8064 bindings

2020-11-30 Thread Rob Herring
On Wed, 25 Nov 2020 18:48:25 +0100, Ansuel Smith wrote: > Document the use of bindings used for msm8960 tsens based devices. > msm8960 use the same gcc regs and is set as a child of the qcom gcc. > > Signed-off-by: Ansuel Smith > --- > .../bindings/thermal/qcom-tsens.yaml | 103

[PATCH V3 03/10] regulator: da9121: Add device variants

2020-11-30 Thread Adam Ward
Add basic support for configuration to reference variants of this device, and track the selected variant within the driver. Signed-off-by: Adam Ward --- drivers/regulator/da9121-regulator.c | 46 +--- 1 file changed, 43 insertions(+), 3 deletions(-) diff --git a/

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

2020-11-30 Thread Adam Ward
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 added, following the precedent set by other multi-regulator devices, i

[PATCH V3 07/10] regulator: da9121: Update registration to support multiple buck variants

2020-11-30 Thread Adam Ward
Add function which iterates the regulator descriptors for the confirmed variant ID and registers each buck. Signed-off-by: Adam Ward --- drivers/regulator/da9121-regulator.c | 44 +--- 1 file changed, 31 insertions(+), 13 deletions(-) diff --git a/drivers/regulat

Re: [PATCH] spi: fsl: fix use of spisel_boot signal on MPC8309

2020-11-30 Thread Mark Brown
On Fri, 27 Nov 2020 16:29:47 +0100, Rasmus Villemoes wrote: > Commit 0f0581b24bd0 ("spi: fsl: Convert to use CS GPIO descriptors") > broke the use of the SPISEL_BOOT signal as a chip select on the > MPC8309. > > pdata->max_chipselect, which becomes master->num_chipselect, must be > initialized to

[PATCH V3 09/10] regulator: da9121: add mode support

2020-11-30 Thread Adam Ward
Adds get/set for mode, and mapping from REGULATOR_MODE_* to select PFM/PWM/Auto operation. Signed-off-by: Adam Ward --- drivers/regulator/da9121-regulator.c | 74 1 file changed, 74 insertions(+) diff --git a/drivers/regulator/da9121-regulator.c b/drivers/r

[PATCH V3 05/10] regulator: da9121: Add device variant descriptors

2020-11-30 Thread Adam Ward
Descriptors for bucks in all variants, ready for of_regulator_match Signed-off-by: Adam Ward --- drivers/regulator/da9121-regulator.c | 110 +++ 1 file changed, 110 insertions(+) diff --git a/drivers/regulator/da9121-regulator.c b/drivers/regulator/da9121-regula

[PATCH] arm64: mte: Fix typo in macro definition

2020-11-30 Thread Vincenzo Frascino
UL in the definition of SYS_TFSR_EL1_TF1 was misspelled causing compilation issues when trying to implement in kernel MTE async mode. Fix the macro correcting the typo. Note: MTE async mode will be introduced with a future series. Fixes: c058b1c4a5ea ("arm64: mte: system register definitions") C

[PATCH V3 04/10] regulator: da9121: Add device variant regmaps

2020-11-30 Thread Adam Ward
Add ability to probe device and validate configuration, then apply a regmap configuration for a single or dual buck device accordingly. Signed-off-by: Adam Ward --- drivers/regulator/Kconfig| 14 +- drivers/regulator/da9121-regulator.c | 244 --- incl

[PATCH V3 08/10] regulator: da9121: add current support

2020-11-30 Thread Adam Ward
This commit adds support for getting/setting current for all supported variants. Limits are adjusted per variant to match HW implementation. Signed-off-by: Adam Ward --- drivers/regulator/da9121-regulator.c | 113 +++ 1 file changed, 113 insertions(+) diff --git

[PATCH] arm64: dts: qcom: c630: Fix pinctrl pins properties

2020-11-30 Thread Bjorn Andersson
The "pins" property takes an array of pin _names_, not pin numbers. Fix this. Fixes: 44acee207844 ("arm64: dts: qcom: Add Lenovo Yoga C630") Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff

Re: [PATCH 0/2] RFC: Precise TSC migration

2020-11-30 Thread Paolo Bonzini
On 30/11/20 17:54, Andy Lutomirski wrote: I*do think* however that we should redefine KVM_CLOCK_TSC_STABLE in the documentation to state that it only guarantees invariance if the guest doesn't mess with its own TSC. Also I think we should consider enabling the X86_FEATURE_TSC_RELIABLE in the gu

[PATCH V3 06/10] regulator: da9121: Add support for device variants via devicetree

2020-11-30 Thread Adam Ward
Add devicetree configuration and device variant parameters. Use the latter to enable the check and use of parameters specific to dual buck variants. Signed-off-by: Adam Ward --- drivers/regulator/da9121-regulator.c | 119 +++ include/linux/regulator/da9121.h |

[PATCH V3 10/10] regulator: da9121: add interrupt support

2020-11-30 Thread Adam Ward
Adds interrupt handler for variants, and notifications for events; over temperature/voltage/current. Because the IRQs are triggered by persisting status, they must be masked and the status polled until clear, before the IRQ can be enabled again. Signed-off-by: Adam Ward --- drivers/regulator/da9

Re: [PATCH 1/2] KVM: x86: implement KVM_SET_TSC_PRECISE/KVM_GET_TSC_PRECISE

2020-11-30 Thread Paolo Bonzini
On 30/11/20 16:58, Maxim Levitsky wrote: This is mostly useful for userspace that doesn't disable the quirk, right? Isn't this the opposite? If I understand the original proposal correctly, the reason that we include the TSC_ADJUST in the new ioctl, is that we would like to disable the special k

Re: [PATCH v2 1/3] drm/msm: adreno: Make speed-bin support generic

2020-11-30 Thread Jordan Crouse
On Fri, Nov 27, 2020 at 06:19:44PM +0530, Akhil P Oommen wrote: > So far a530v2 gpu has support for detecting its supported opps > based on a fuse value called speed-bin. This patch makes this > support generic across gpu families. This is in preparation to > extend speed-bin support to a6x family.

Re: [PATCH 07/13] dt-bindings: avs: cpr: Convert binding to YAML schema

2020-11-30 Thread Rob Herring
On Thu, 26 Nov 2020 19:45:53 +0100, AngeloGioacchino Del Regno wrote: > Convert the qcom,cpr.txt document to YAML schema and place it in the > appropriate directory, since commit a7305e684fc moves this driver > from power/avs to soc/qcom, but forgets to move the documentation. > > Signed-off-by: A

Re: [PATCH] MTK mt7921 driver upstream

2020-11-30 Thread Marcel Holtmann
Hi Peter, every patch needs a proper commit message. > Signed-off-by: Peter Tsao > --- > drivers/bluetooth/btmtk_buffer_mode.c | 263 + > drivers/bluetooth/btmtk_main.c| 5517 + > drivers/bluetooth/include/btmtk_buffer_mode.h | 78 + > drivers/bluetooth/in

Re: [PATCH] checkpatch: fix TYPO_SPELLING check for words with apostrophe

2020-11-30 Thread Dwaipayan Ray
On Mon, Nov 30, 2020 at 10:13 PM Joe Perches wrote: > > On Mon, 2020-11-30 at 20:15 +0530, Dwaipayan Ray wrote: > > checkpatch reports a false TYPO_SPELLING warning for some words > > containing an apostrophe. > > > > A false positive is "doesn't". Occurrence of the word causes > > checkpatch to e

Re: [PATCH 17/18] gpio: gpiolib-acpi: Export acpi_get_gpiod()

2020-11-30 Thread kernel test robot
Hi Daniel, Thank you for the patch! Yet something to improve: [auto build test ERROR on linuxtv-media/master] [also build test ERROR on driver-core/driver-core-testing pm/linux-next v5.10-rc6 next-20201130] [If your patch is applied to the wrong git tree, kindly drop us a note. And when

Re: [GIT PULL] ARM: SoC fixes for v5.10, part 3

2020-11-30 Thread Doug Anderson
Hi, On Fri, Nov 27, 2020 at 2:56 PM Linus Torvalds wrote: > > On Fri, Nov 27, 2020 at 12:51 PM Arnd Bergmann wrote: > > > > - Some DT patches for the Rockchip RK3399 platform, > >in particular fixing the MMC device ordering that > >recently became nondeterministic with async probe. > >

[PATCH v2] arm64: mte: Fix typo in macro definition

2020-11-30 Thread Vincenzo Frascino
UL in the definition of SYS_TFSR_EL1_TF1 was misspelled causing compilation issues when trying to implement in kernel MTE async mode. Fix the macro correcting the typo. Note: MTE async mode will be introduced with a future series. Fixes: c058b1c4a5ea ("arm64: mte: system register definitions") C

Re: [PATCH v4 09/14] cpuset: Don't use the cpu_possible_mask as a last resort for cgroup v1

2020-11-30 Thread Qais Yousef
On 11/27/20 13:32, Qais Yousef wrote: > On 11/24/20 15:50, Will Deacon wrote: > > If the scheduler cannot find an allowed CPU for a task, > > cpuset_cpus_allowed_fallback() will widen the affinity to cpu_possible_mask > > if cgroup v1 is in use. > > > > In preparation for allowing architectures to

Re: [PATCH v7] lib: optimize cpumask_local_spread()

2020-11-30 Thread Dave Hansen
>>> { >>> - int cpu, hk_flags; >>> + static DEFINE_SPINLOCK(spread_lock); >>> + static bool used[MAX_NUMNODES]; >> >> I thought I mentioned this last time. How large is this array? How >> large would it be if it were a nodemask_t? Would this be less code if > > Apologies that I forgot to

Re: [PATCH] media: gp8psk: initialize stats at power control logic

2020-11-30 Thread Mauro Carvalho Chehab
Hi Derek, Em Mon, 30 Nov 2020 08:04:31 -0800 VDRU VDRU escreveu: > I have hardware that uses this driver and can conduct a test if it > will help resolve any confusion/assumption. I'd also like to suggest > that making changes to drivers with no means of testing those changes > is bad. This has

Re: [PATCH 13/18] ipu3-cio2: Add functionality allowing software_node connections to sensors on platforms designed for Windows

2020-11-30 Thread Laurent Pinchart
Hi Daniel, Thank you for the patch. On Mon, Nov 30, 2020 at 01:31:24PM +, Daniel Scally wrote: > Currently on platforms designed for Windows, connections between CIO2 and > sensors are not properly defined in DSDT. This patch extends the ipu3-cio2 > driver to compensate by building software_n

Re: [PATCH 15/18] i2c: i2c-core-acpi: Add i2c_acpi_dev_name()

2020-11-30 Thread Laurent Pinchart
Hi Daniel, Thank you for the patch. On Mon, Nov 30, 2020 at 01:31:26PM +, Daniel Scally wrote: > Some places in the kernel allow users to map resources to a device > using device name (for example, gpiod_lookup_table). Currently > this involves waiting for the i2c_client to have been register

Re: [PATCH 16/18] i2c: i2c-core-base: Use the new i2c_acpi_dev_name() in i2c_set_dev_name()

2020-11-30 Thread Laurent Pinchart
Hi Daniel, Thank you for the patch. On Mon, Nov 30, 2020 at 01:31:27PM +, Daniel Scally wrote: > From: Dan Scally > > To make sure the new i2c_acpi_dev_name() always reflects the name of i2c > devices sourced from ACPI, use it in i2c_set_dev_name(). > > Signed-off-by: Dan Scally I'd squa

Re: [PATCH] ima: Don't modify file descriptor mode on the fly

2020-11-30 Thread Mimi Zohar
On Thu, 2020-11-26 at 11:34 +0100, Roberto Sassu wrote: > Commit a408e4a86b36b ("ima: open a new file instance if no read > permissions") already introduced a second open to measure a file when the > original file descriptor does not allow it. However, it didn't remove the > existing method of chan

Re: [PATCH v2] arm64: mte: Fix typo in macro definition

2020-11-30 Thread Catalin Marinas
On Mon, Nov 30, 2020 at 05:07:09PM +, Vincenzo Frascino wrote: > UL in the definition of SYS_TFSR_EL1_TF1 was misspelled causing > compilation issues when trying to implement in kernel MTE async > mode. > > Fix the macro correcting the typo. > > Note: MTE async mode will be introduced with a

Re: [PATCH][next] gpiolib: acpi: Fix fall-through warnings for Clang

2020-11-30 Thread Andy Shevchenko
On Mon, Nov 30, 2020 at 6:51 PM Bartosz Golaszewski wrote: > > On Thu, Nov 19, 2020 at 7:46 PM Andy Shevchenko > wrote: > > > > On Thu, Nov 19, 2020 at 7:08 PM Gustavo A. R. Silva > > wrote: > > > > > > In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning > > > by explicitly

Re: [PATCH RFC 11/39] KVM: x86/xen: evtchn signaling via eventfd

2020-11-30 Thread Joao Martins
On 11/30/20 4:48 PM, David Woodhouse wrote: > On Mon, 2020-11-30 at 15:08 +, Joao Martins wrote: >> On 11/30/20 12:55 PM, David Woodhouse wrote: >>> On Mon, 2020-11-30 at 12:17 +, Joao Martins wrote: On 11/30/20 9:41 AM, David Woodhouse wrote: > On Wed, 2019-02-20 at 20:15 +, J

Re: [PATCH] gpio: xra1403: remove unneeded spi_set_drvdata()

2020-11-30 Thread Andy Shevchenko
On Mon, Nov 30, 2020 at 6:37 PM Bartosz Golaszewski wrote: > > On Thu, Nov 19, 2020 at 4:04 PM Andy Shevchenko > wrote: > > > > On Thu, Nov 19, 2020 at 4:17 PM Alexandru Ardelean > > wrote: > > > > > > There is no matching spi_get_drvdata() call in the driver, so there is no > > > need to do spi

Re: [RESEND,PATCH] ARM: fix __div64_32() error when compiling with clang

2020-11-30 Thread Ard Biesheuvel
On Mon, 30 Nov 2020 at 16:51, Nicolas Pitre wrote: > > On Mon, 30 Nov 2020, Ard Biesheuvel wrote: > > > (+ Nico) > > > > On Mon, 30 Nov 2020 at 11:11, Ard Biesheuvel wrote: > > > > > > On Mon, 23 Nov 2020 at 08:39, Antony Yu wrote: > > > > > > > > __do_div64 clobbers the input register r0 in lit

Re: [PATCH v2 bpf-next 10/13] bpf: Add instructions for atomic[64]_[fetch_]sub

2020-11-30 Thread Yonghong Song
On 11/28/20 5:34 PM, Alexei Starovoitov wrote: On Fri, Nov 27, 2020 at 09:35:07PM -0800, Yonghong Song wrote: On 11/27/20 9:57 AM, Brendan Jackman wrote: Including only interpreter and x86 JIT support. x86 doesn't provide an atomic exchange-and-subtract instruction that could be used for

Re: [PATCH v2] blk-mq: Remove 'running from the wrong CPU' warning

2020-11-30 Thread Christoph Hellwig
On Mon, Nov 30, 2020 at 11:19:21AM +0100, Daniel Wagner wrote: > It's guaranteed that no request is in flight when a hctx is going > offline. This warning is only triggered when the wq's CPU is hot > plugged and the blk-mq is not synced up yet. > > As this state is temporary and the request is sti

Re: [PATCH 2/3] clear_warn_once: bind a timer to written reset value

2020-11-30 Thread Paul Gortmaker
[Re: [PATCH 2/3] clear_warn_once: bind a timer to written reset value] On 30/11/2020 (Mon 11:20) Steven Rostedt wrote: > On Thu, 26 Nov 2020 01:30:28 -0500 > Paul Gortmaker wrote: > > > +++ b/Documentation/admin-guide/clearing-warn-once.rst > > @@ -7,3 +7,12 @@ echo 1 > /sys/kernel/debug/clear_

Re: [PATCH 2/2] usb-storage: revert from scsi_add_host_with_dma() to scsi_add_host()

2020-11-30 Thread Alan Stern
On Mon, Nov 30, 2020 at 02:36:38PM +0100, Hans de Goede wrote: > Hi, > > On 11/30/20 2:30 PM, Greg KH wrote: > > On Mon, Nov 30, 2020 at 02:23:48PM +0100, Hans de Goede wrote: > >> Hi, > >> > >> On 11/30/20 1:58 PM, Tom Yan wrote: > >>> It's merely a moving of comment moving for/and a no-behaviora

Re: [PATCH 06/18] software_node: amend software_node_unregister_node_group() to perform unregistration of array in reverse order to be consistent with software_node_unregister_nodes()

2020-11-30 Thread kernel test robot
Hi Daniel, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linuxtv-media/master] [also build test WARNING on driver-core/driver-core-testing pm/linux-next v5.10-rc6 next-20201130] [If your patch is applied to the wrong git tree, kindly drop us a note. And when

Re: armmmci rmmod causes hung tasks

2020-11-30 Thread Martin DEVERA
On 11/30/20 4:08 PM, Ulf Hansson wrote: On Sun, 29 Nov 2020 at 19:20, Martin DEVERA wrote: Hello, on STM32MP1 with almost vanilla 5.7.7 in single CPU mode. Pair of modprobe armmmci ; rmmod armmmci causes rmmod and kworker to hang. I should note that no MMC is detected on the board (SDIO devic

Re: [PATCH 3/4] net: ti: am65-cpsw-nuss: Add switchdev support

2020-11-30 Thread Andrew Lunn
> +static int am65_cpsw_port_stp_state_set(struct am65_cpsw_port *port, > + struct switchdev_trans *trans, u8 state) > +{ > + struct am65_cpsw_common *cpsw = port->common; > + u8 cpsw_state; > + int ret = 0; > + > + if (switchdev_trans_ph_prepare(

Re: [PATCH v2 bpf-next 11/13] bpf: Add bitwise atomic instructions

2020-11-30 Thread Yonghong Song
On 11/28/20 5:36 PM, Alexei Starovoitov wrote: On Fri, Nov 27, 2020 at 09:39:10PM -0800, Yonghong Song wrote: On 11/27/20 9:57 AM, Brendan Jackman wrote: This adds instructions for atomic[64]_[fetch_]and atomic[64]_[fetch_]or atomic[64]_[fetch_]xor All these operations are isomorphic eno

Re: [PATCH 18/18] ipu3: Add driver for dummy INT3472 ACPI device

2020-11-30 Thread Laurent Pinchart
Hello, On Mon, Nov 30, 2020 at 04:29:04PM +, Kieran Bingham wrote: > On 30/11/2020 13:31, Daniel Scally wrote: > > On platforms where ACPI is designed for use with Windows, resources > > that are intended to be consumed by sensor devices are sometimes in > > the _CRS of a dummy INT3472 device

Re: [RFC PATCH v0 00/19] x86/insn: Add an insn_decode() API

2020-11-30 Thread Masami Hiramatsu
On Mon, 30 Nov 2020 14:44:42 +0100 Borislav Petkov wrote: > On Sun, Nov 29, 2020 at 05:50:05PM +0900, Masami Hiramatsu wrote: > > Good point. I think we can return, e.g. -EFAULT if we failed in > > get_next(). Then, we can read out next page, for example. > > Why -EFAULT? Because it overruns th

Re: [PATCH 01/13] ibmvfc: add vhost fields and defaults for MQ enablement

2020-11-30 Thread Tyrel Datwyler
On 11/27/20 9:45 AM, Brian King wrote: > On 11/25/20 7:48 PM, Tyrel Datwyler wrote: >> diff --git a/drivers/scsi/ibmvscsi/ibmvfc.h b/drivers/scsi/ibmvscsi/ibmvfc.h >> index 9d58cfd774d3..8225bdbb127e 100644 >> --- a/drivers/scsi/ibmvscsi/ibmvfc.h >> +++ b/drivers/scsi/ibmvscsi/ibmvfc.h >> @@ -41,6

Re: [PATCH 01/18] property: Return true in fwnode_device_is_available for node types that do not implement this operation

2020-11-30 Thread Andy Shevchenko
On Mon, Nov 30, 2020 at 01:31:12PM +, Daniel Scally wrote: > Some types of fwnode_handle do not implement the device_is_available() > check, such as those created by software_nodes. There isn't really a > meaningful way to check for the availability of a device that doesn't > actually exist, so

Re: [PATCH 10/13] dt-bindings: soc: qcom: cpr3: Add bindings for CPR3 driver

2020-11-30 Thread Rob Herring
On Thu, 26 Nov 2020 19:45:56 +0100, AngeloGioacchino Del Regno wrote: > Add the bindings for the CPR3 driver to the documentation. > > Signed-off-by: AngeloGioacchino Del Regno > > --- > .../bindings/soc/qcom/qcom,cpr3.yaml | 226 ++ > 1 file changed, 226 insertions(+)

Re: [PATCH v2 bpf-next 00/13] Atomics for eBPF

2020-11-30 Thread Yonghong Song
On 11/28/20 5:40 PM, Alexei Starovoitov wrote: On Fri, Nov 27, 2020 at 09:53:05PM -0800, Yonghong Song wrote: On 11/27/20 9:57 AM, Brendan Jackman wrote: Status of the patches = Thanks for the reviews! Differences from v1->v2 [1]: * Fixed mistakes in the netronome dri

Re: [PATCH 11/13] dt-bindings: cpufreq: Convert qcom-cpufreq-hw to YAML binding

2020-11-30 Thread Rob Herring
On Thu, 26 Nov 2020 19:45:57 +0100, AngeloGioacchino Del Regno wrote: > Convert the qcom-cpufreq-hw documentation to YAML binding as > qcom,cpufreq-hw.yaml. > > Signed-off-by: AngeloGioacchino Del Regno > > --- > .../bindings/cpufreq/cpufreq-qcom-hw.txt | 173 +--- > .../bindin

Re: [PATCH v3 01/15] dt-bindings: remoteproc: Add bindind to support autonomous processors

2020-11-30 Thread Rob Herring
On Thu, 26 Nov 2020 14:06:28 -0700, Mathieu Poirier wrote: > This patch adds a binding to guide the remoteproc core on how to deal with > remote processors in two cases: > > 1) When an application holding a reference to a remote processor character >device interface crashes. > > 2) when the p

Re: [PATCH] x86/irq: Lower unhandled irq error severity

2020-11-30 Thread Laurențiu Nicola
On Mon, Nov 30, 2020, at 18:56, Thomas Gleixner wrote: > Laurentiu, > > On Fri, Nov 27 2020 at 10:03, Laurențiu Nicola wrote: > > On Fri, Nov 27, 2020, at 02:12, Thomas Gleixner wrote: > >> On Thu, Nov 26 2020 at 09:47, Laurențiu Nicola wrote: > >> > These messages are described as warnings in

Re: [PATCH 2/2] usb-storage: revert from scsi_add_host_with_dma() to scsi_add_host()

2020-11-30 Thread Christoph Hellwig
On Mon, Nov 30, 2020 at 12:20:04PM -0500, Alan Stern wrote: > > https://lore.kernel.org/linux-usb/fde7e11f-5dfc-8348-c134-a21cb1116...@redhat.com/T/#t > > It's hard to go wrong with reverting, so it's okay with me. > > Still, Hans, have you checked out the difference between the > scsi_add_host(

Re: [PATCH] checkpatch: fix TYPO_SPELLING check for words with apostrophe

2020-11-30 Thread Joe Perches
On Mon, 2020-11-30 at 22:33 +0530, Dwaipayan Ray wrote: > On Mon, Nov 30, 2020 at 10:13 PM Joe Perches wrote: > > > > On Mon, 2020-11-30 at 20:15 +0530, Dwaipayan Ray wrote: > > > checkpatch reports a false TYPO_SPELLING warning for some words > > > containing an apostrophe. > > > > > > A false

Re: [PATCH] fs: iomap: Replace bio_add_page with __bio_add_page in iomap_add_to_ioend

2020-11-30 Thread Darrick J. Wong
On Mon, Nov 30, 2020 at 03:28:51PM +0800, chenle...@gmail.com wrote: > From: Lei Chen > > iomap_add_to_ioend append page on wpc->ioend->io_bio. If io_bio is full, > iomap_chain_bio will allocate a new bio. So when bio_add_page is called, > pages is guaranteed to be appended into wpc->ioend->io_bi

Re: [PATCH] arm64: dts: qcom: c630: Polish i2c-hid devices

2020-11-30 Thread Steev Klimaszewski
On 11/30/20 10:59 AM, Bjorn Andersson wrote: > The numbering of the i2c busses differs from ACPI and a number of typos > was made in the original patch. Further more the irq flags for the > various resources was not correct and i2c3 only has one of the two > client devices active in any one devic

Re: [PATCH] arm64: dts: qcom: c630: Fix pinctrl pins properties

2020-11-30 Thread Steev Klimaszewski
On 11/30/20 11:00 AM, Bjorn Andersson wrote: > The "pins" property takes an array of pin _names_, not pin numbers. Fix > this. > > Fixes: 44acee207844 ("arm64: dts: qcom: Add Lenovo Yoga C630") > Signed-off-by: Bjorn Andersson > --- > arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts | 8 +++

Re: [PATCH 04/13] ibmvfc: add alloc/dealloc routines for SCSI Sub-CRQ Channels

2020-11-30 Thread Tyrel Datwyler
On 11/27/20 9:46 AM, Brian King wrote: > On 11/25/20 7:48 PM, Tyrel Datwyler wrote: >> Allocate a set of Sub-CRQs in advance. During channel setup the client >> and VIOS negotiate the number of queues the VIOS supports and the number >> that the client desires to request. Its possible that the fina

Re: [GIT PULL] ARM: SoC fixes for v5.10, part 3

2020-11-30 Thread Dmitry Torokhov
Hi Linus, On Fri, Nov 27, 2020 at 3:02 PM Linus Torvalds wrote: > > On Fri, Nov 27, 2020 at 12:51 PM Arnd Bergmann wrote: > > > > - Some DT patches for the Rockchip RK3399 platform, > >in particular fixing the MMC device ordering that > >recently became nondeterministic with async probe

Re: [PATCH 06/13] ibmvfc: add handlers to drain and complete Sub-CRQ responses

2020-11-30 Thread Tyrel Datwyler
On 11/27/20 9:47 AM, Brian King wrote: > On 11/25/20 7:48 PM, Tyrel Datwyler wrote: >> The logic for iterating over the Sub-CRQ responses is similiar to that >> of the primary CRQ. Add the necessary handlers for processing those >> responses. >> >> Signed-off-by: Tyrel Datwyler >> --- >> drivers/

Re: [PATCH 02/18] property: Add support for calling fwnode_graph_get_endpoint_by_id() for fwnode->secondary

2020-11-30 Thread Andy Shevchenko
On Mon, Nov 30, 2020 at 01:31:13PM +, Daniel Scally wrote: > This function is used to find fwnode endpoints against a device. In > some instances those endpoints are software nodes which are children of > fwnode->secondary. Add support to fwnode_graph_get_endpoint_by_id() to > find those endpoi

Re: [PATCH 02/18] property: Add support for calling fwnode_graph_get_endpoint_by_id() for fwnode->secondary

2020-11-30 Thread Laurent Pinchart
On Mon, Nov 30, 2020 at 07:29:00PM +0200, Andy Shevchenko wrote: > On Mon, Nov 30, 2020 at 01:31:13PM +, Daniel Scally wrote: > > This function is used to find fwnode endpoints against a device. In > > some instances those endpoints are software nodes which are children of > > fwnode->secondary

Re: [PATCH 09/13] ibmvfc: implement channel enquiry and setup commands

2020-11-30 Thread Tyrel Datwyler
On 11/27/20 9:49 AM, Brian King wrote: > On 11/25/20 7:48 PM, Tyrel Datwyler wrote: >> --- a/drivers/scsi/ibmvscsi/ibmvfc.c >> +++ b/drivers/scsi/ibmvscsi/ibmvfc.c > >> @@ -4462,6 +4464,118 @@ static void ibmvfc_discover_targets(struct >> ibmvfc_host *vhost) >> ibmvfc_link_down(vhost

Re: [PATCH v2 0/8] Venus stateful encoder compliance

2020-11-30 Thread Fritz Koenig
On Sun, Nov 29, 2020 at 11:55 PM Stanimir Varbanov wrote: > > Hi Fritz, > > On 11/29/20 9:17 PM, Fritz Koenig wrote: > > Since this patchset adds support for V4L2_ENC_CMD_STOP and > > VENUS_ENC_STATE_ENCODING it should also add support for > > VIDIOC_TRY_ENCODER_CMD so that those commands are disc

[PATCH V2 00/12] Add the page size in the perf record (user tools)

2020-11-30 Thread kan . liang
From: Kan Liang Changes since V1: - Fix the compile warning with GCC 10 - Add Acked-by from Namhyung Kim Current perf can report both virtual addresses and physical addresses, but not the page size. Without the page size information of the utilized page, users cannot decide whether to promote/de

Re: [v4,2/3] PCI: mediatek: Add new generation controller support

2020-11-30 Thread Bjorn Helgaas
[+cc Lukas, pciehp power control question] On Mon, Nov 23, 2020 at 02:45:13PM +0800, Jianjun Wang wrote: > On Thu, 2020-11-19 at 14:28 -0600, Bjorn Helgaas wrote: > > "Add new generation" really contains no information. And "mediatek" > > is already used for the pcie-mediatek.c driver, so we shou

Re: [PATCH 03/18] software_node: Fix failure to put() and get() references to children in software_node_get_next_child()

2020-11-30 Thread Andy Shevchenko
On Mon, Nov 30, 2020 at 01:31:14PM +, Daniel Scally wrote: > The software_node_get_next_child() function currently does not hold > references to the child software_node that it finds or put the ref that > is held against the old child - fix that. Fixes tag and make it first in the series? In a

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

2020-11-30 Thread kan . liang
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. Acked-by: Namhyung Kim Signed-off-by: Kan Liang --- tools/perf/Documentation/perf-record.txt | 3 +++ tools/perf/builtin-record.c

Re: [PATCH] perf tools: add aarch64 registers to --user-regs

2020-11-30 Thread John Garry
On 27/11/2020 15:39, Alexandre Truong wrote: Previously, this command returns no help message on aarch64: -> ./perf record --user-regs=? available registers: Usage: perf record [] [] or: perf record [] -- [] With this change, the registers are listed. -> ./perf record --us

[PATCH] signal/parics: Remove parsic specific definition of __ARCH_UAPI_SA_FLAGS

2020-11-30 Thread Eric W. Biederman
Randy Dunlap wrote: > On 11/27/20 10:43 AM, Randy Dunlap wrote: > > > on parisc, _SA_SIGGFAULT is undefined and causing build errors. > > > > commit 23acdc76f1798b090bb9dcc90671cd29d929834e > > Author: Peter Collingbourne > > Date: Thu Nov 12 18:53:34 2020 -0800 > > > > signal: clear non-u

[PATCH V2 04/12] perf sort: Add sort option for data page size

2020-11-30 Thread kan . liang
From: Kan Liang Add a new sort option "data_page_size" for --mem-mode sort. With this option applied, perf can sort and report by sample's data page size. Here is an example. perf report --stdio --mem-mode --sort=comm,symbol,phys_daddr,data_page_size # To display the perf.data header info, pl

[PATCH V2 05/12] perf mem: Factor out a function to generate sort order

2020-11-30 Thread kan . liang
From: Kan Liang Now, "--phys-data" is the only option which impacts the sort order. A simple "if else" is enough to handle the option. But there will be more options added, e.g. "--data-page-size", which also impact the sort order. The code will become too complex to be maintained. Divide the so

[PATCH V2 07/12] perf mem: Support data page size

2020-11-30 Thread kan . liang
From: Kan Liang Add option --data-page-size in "perf mem" to record/report data page size. Here are some examples. perf mem --phys-data --data-page-size report -D # PID, TID, IP, ADDR, PHYS ADDR, DATA PAGE SIZE, LOCAL WEIGHT, DSRC, # SYMBOL 20134 20134 0xb5bd2fd0 0x0169a274e96a308

[PATCH V2 06/12] perf mem: Clean up output format

2020-11-30 Thread kan . liang
From: Kan Liang Now, "--phys-data" is the only option which impacts the output format. A simple "if else" is enough to handle the option. But there will be more options added, e.g. "--data-page-size", which also impact the output format. The code will become too complex to be maintained. Divide

Re: [PATCH] checkpatch: fix TYPO_SPELLING check for words with apostrophe

2020-11-30 Thread Dwaipayan Ray
On Mon, Nov 30, 2020 at 10:54 PM Joe Perches wrote: > > On Mon, 2020-11-30 at 22:33 +0530, Dwaipayan Ray wrote: > > On Mon, Nov 30, 2020 at 10:13 PM Joe Perches wrote: > > > > > > On Mon, 2020-11-30 at 20:15 +0530, Dwaipayan Ray wrote: > > > > checkpatch reports a false TYPO_SPELLING warning for

[PATCH V2 08/12] perf test: Add test case for PERF_SAMPLE_DATA_PAGE_SIZE

2020-11-30 Thread kan . liang
From: Kan Liang Extend sample-parsing test cases to support new sample type PERF_SAMPLE_DATA_PAGE_SIZE. Acked-by: Namhyung Kim Signed-off-by: Kan Liang --- tools/perf/tests/sample-parsing.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/perf/tests/sample-parsin

[PATCH V2 01/12] tools headers UAPI: Update tools's copy of linux/perf_event.h

2020-11-30 Thread kan . liang
From: Kan Liang To get the changes in: commit 8d97e71811aa ("perf/core: Add PERF_SAMPLE_DATA_PAGE_SIZE") commit 995f088efebe ("perf/core: Add support for PERF_SAMPLE_CODE_PAGE_SIZE") This silences this perf tools build warning: Warning: Kernel ABI header at 'tools/include/uapi/linux/pe

[PATCH V2 03/12] perf script: Support data page size

2020-11-30 Thread kan . liang
From: Kan Liang Display the data page size if it is available. Can be configured by the user, for example: perf script --fields comm,event,phys_addr,data_page_size dtlb mem-loads:uP:3fec82ea8 4K dtlb mem-loads:uP:3fec82e90 4K dtlb mem-loads:u

Re: [v4,2/3] PCI: mediatek: Add new generation controller support

2020-11-30 Thread Bjorn Helgaas
On Mon, Nov 30, 2020 at 09:05:48AM -0700, Rob Herring wrote: > On Sun, Nov 22, 2020 at 11:45 PM Jianjun Wang > wrote: > > On Thu, 2020-11-19 at 14:28 -0600, Bjorn Helgaas wrote: > > > "Add new generation" really contains no information. And "mediatek" > > > is already used for the pcie-mediatek.

Re: [PATCH v3 01/15] dt-bindings: remoteproc: Add bindind to support autonomous processors

2020-11-30 Thread Rob Herring
On Thu, Nov 26, 2020 at 02:06:28PM -0700, Mathieu Poirier wrote: > This patch adds a binding to guide the remoteproc core on how to deal with > remote processors in two cases: > > 1) When an application holding a reference to a remote processor character >device interface crashes. > > 2) when

[PATCH V2 10/12] perf script: Add support for PERF_SAMPLE_CODE_PAGE_SIZE

2020-11-30 Thread kan . liang
From: Stephane Eranian Display sampled code page sizes when PERF_SAMPLE_CODE_PAGE_SIZE was set. For example, perf script --fields comm,event,ip,code_page_size dtlb mem-loads:uP:445777 4K dtlb mem-loads:uP:40f724 4K dtlb mem-loads:uP:

[PATCH V2 09/12] perf tools: Add support for PERF_SAMPLE_CODE_PAGE_SIZE

2020-11-30 Thread kan . liang
From: Stephane Eranian Adds the infrastructure to sample the code address page size. Introduce a new --code-page-size option for perf record. Acked-by: Namhyung Kim Signed-off-by: Stephane Eranian --- tools/perf/Documentation/perf-record.txt | 3 +++ tools/perf/builtin-record.c

[PATCH V2 11/12] perf report: Add support for PERF_SAMPLE_CODE_PAGE_SIZE

2020-11-30 Thread kan . liang
From: Stephane Eranian Add a new sort dimension "code_page_size" for common sort. With this option applied, perf can sort and report by sample's code page size. For example, perf report --stdio --sort=comm,symbol,code_page_size # To display the perf.data header info, please use # --header/--he

Re: [PATCH v10 5/6] dt-bindings: leds: Add bindings for MT6360 LED

2020-11-30 Thread Rob Herring
On Fri, 27 Nov 2020 11:28:55 +0800, Gene Chen wrote: > From: Gene Chen > > Add bindings document for LED support on MT6360 PMIC > > Signed-off-by: Gene Chen > --- > .../devicetree/bindings/leds/leds-mt6360.yaml | 164 > + > 1 file changed, 164 insertions(+) > create

[PATCH V2 12/12] perf test: Add test case for PERF_SAMPLE_CODE_PAGE_SIZE

2020-11-30 Thread kan . liang
From: Stephane Eranian Extend sample-parsing test cases to support new sample type PERF_SAMPLE_CODE_PAGE_SIZE. Acked-by: Namhyung Kim Signed-off-by: Stephane Eranian --- tools/perf/tests/sample-parsing.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/perf/tests

Re: [PATCH v2] Documentation/admin-guide: mark memmap parameter is supported by a few architectures

2020-11-30 Thread Jonathan Corbet
On Sun, 29 Nov 2020 08:51:21 +1300 Barry Song wrote: > early_param memmap is only implemented on X86, MIPS and XTENSA. To avoid > wasting users’ time on trying this on platform like ARM, mark it clearly. > > Signed-off-by: Barry Song > Reviewed-by: Mike Rapoport > --- > -v2: > * add reviewed

Re: [PATCH 04/18] software_node: Enforce parent before child ordering of nodes array for software_node_register_nodes()

2020-11-30 Thread Andy Shevchenko
On Mon, Nov 30, 2020 at 01:31:15PM +, Daniel Scally wrote: > Registering software_nodes with the .parent member set to point to a > currently unregistered software_node has the potential for problems, > so enforce parent -> child ordering in arrays passed to this function. I agree with Laurent

Re: [PATCH AUTOSEL 5.9 22/33] vhost scsi: add lun parser helper

2020-11-30 Thread Sasha Levin
On Mon, Nov 30, 2020 at 03:00:13PM +0100, Paolo Bonzini wrote: On 30/11/20 14:57, Greg KH wrote: Every patch should be "fixing a real issue"---even a new feature. But the larger the patch, the more the submitters and maintainers should be trusted rather than a bot. The line between feature and

Re: [RFC 1/2] dt-bindings: thermal: sprd: Add virtual thermal documentation

2020-11-30 Thread Rob Herring
On Fri, 27 Nov 2020 16:35:12 +0800, gao.yunxi...@gmail.com wrote: > From: "jeson.gao" > > virtual thermal node definition description in dts file > > Signed-off-by: jeson.gao > --- > .../thermal/sprd-virtual-thermal.yaml | 38 +++ > 1 file changed, 38 insertions(+) > c

Re: [PATCH v4 09/14] cpuset: Don't use the cpu_possible_mask as a last resort for cgroup v1

2020-11-30 Thread Quentin Perret
On Monday 30 Nov 2020 at 17:05:31 (+), Qais Yousef wrote: > I create 3 cpusets: 64bit, 32bit and mix. As the name indicates, 64bit > contains > all 64bit-only cpus, 32bit contains 32bit-capable ones and mix has a mixture > of > both. > > If I try to move my test binary to 64bit cpuset, it mo

[PATCH 0/2] reboot: sysfs improvements

2020-11-30 Thread Matteo Croce
From: Matteo Croce Some improvements to the sysfs reboot interface: hide not working settings and support machines with known reboot quirks. Matteo Croce (2): reboot: allow to override reboot type if quirks are found reboot: hide from sysfs not applicable settings kernel/reboot.c | 58

[PATCH 2/2] reboot: hide from sysfs not applicable settings

2020-11-30 Thread Matteo Croce
From: Matteo Croce Not all the reboot settings from both the kernel command line or sysfs interface are available to all platforms. Filter out reboot_type and reboot_force which are x86 only, and also remove reboot_cpu on kernels without SMP support. This saves some space, and avoid confusing t

Re: [PATCH 04/18] software_node: Enforce parent before child ordering of nodes array for software_node_register_nodes()

2020-11-30 Thread Andy Shevchenko
On Mon, Nov 30, 2020 at 07:35:30PM +0200, Andy Shevchenko wrote: > On Mon, Nov 30, 2020 at 01:31:15PM +, Daniel Scally wrote: ... > > for (i = 0; nodes[i].name; i++) { > > + if (nodes[i].parent) > > + if (!software_node_to_swnode(nodes[i].parent)) { > > +

Re: [PATCH v2 1/2] dt-bindings: input: Add Dell Wyse 3020 Power Button binding

2020-11-30 Thread Rob Herring
On Sun, 29 Nov 2020 15:21:44 +0100, Lubomir Rintel wrote: > Add binding document for the Dell Wyse 3020 a.k.a. "Ariel" Power Button. > > Signed-off-by: Lubomir Rintel > Reviewed-by: Rob Herring > > --- > Changes since v1: > - Collect Rob's R-b > > .../bindings/input/ariel-pwrbutton.yaml

Re: [PATCH v2 net-next 1/4] dt-bindings: net: nfc: s3fwrn5: Support a UART interface

2020-11-30 Thread Rob Herring
On Mon, 30 Nov 2020 21:00:27 +0900, Bongsu jeon wrote: > From: Bongsu Jeon > > Since S3FWRN82 NFC Chip, The UART interface can be used. > S3FWRN82 supports I2C and UART interface. > > Signed-off-by: Bongsu Jeon > --- > > Changes in v2: > -change the compatible name. > -change the const to en

Re: [PATCH] Documentation: Chinese translation of Documentation/arm64/elf_hwcaps.rst

2020-11-30 Thread Jonathan Corbet
On Mon, 23 Nov 2020 18:38:14 -0800 Bailu Lin wrote: > This is a Chinese translated version of > Documentation/arm64/elf_hwcaps.rst > > Signed-off-by: Bailu Lin > --- > Changes in v2: > - Modify five translation issues as Alex sugguested. > --- > Documentation/arm64/elf_hwcaps.rst

[PATCH 1/2] reboot: allow to override reboot type if quirks are found

2020-11-30 Thread Matteo Croce
From: Matteo Croce On some machines a quirk can force a specific reboot type. Quirks are found during a DMI scan, the list of machines which need special reboot handling is defined in reboot_dmi_table. The kernel command line reboot= option overrides this via a global variable `reboot_default`,

Re: [PATCH AUTOSEL 5.9 22/33] vhost scsi: add lun parser helper

2020-11-30 Thread Sasha Levin
On Mon, Nov 30, 2020 at 09:33:46AM +0100, Paolo Bonzini wrote: On 29/11/20 22:06, Sasha Levin wrote: Plus all the testing we have for the stable trees, yes. It goes beyond just compiling at this point. Your very own co-workers (https://cki-project.org/) are pushing hard on this effort around st

Re: [PATCH v2 net-next 1/4] dt-bindings: net: nfc: s3fwrn5: Support a UART interface

2020-11-30 Thread Rob Herring
On Mon, Nov 30, 2020 at 09:00:27PM +0900, Bongsu jeon wrote: > From: Bongsu Jeon > > Since S3FWRN82 NFC Chip, The UART interface can be used. > S3FWRN82 supports I2C and UART interface. > > Signed-off-by: Bongsu Jeon > --- > > Changes in v2: > -change the compatible name. > -change the const

Re: [PATCH v3 0/3] PCI: iproc: Add fixes to pcie iproc

2020-11-30 Thread Scott Branden
On 2020-11-30 4:19 a.m., Lorenzo Pieralisi wrote: > On Thu, Oct 01, 2020 at 11:30:51AM +0530, Srinath Mannam wrote: >> This patch series contains fixes and improvements to pcie iproc driver. >> >> This patch set is based on Linux-5.9.0-rc2. >> >> Changes from v2: >> - Addressed Bjorn's review c

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