Re: [PATCH v3 00/28] KVM: nSVM: event fixes and migration support

2020-05-29 Thread Sean Christopherson
> [PATCH v3 00/28] KVM: nSVM: event fixes and migration support You've got something funky going on with the way you generate cover letters, looks like it doesn't count patches authored by someone else. The 'v3' is also missing from the patches, though I suppose some heathens do that on purpose.

Re: [PATCH] spi: bcm2835: Implement shutdown callback

2020-05-29 Thread Lukas Wunner
On Fri, May 29, 2020 at 10:48:11AM -0700, Florian Fainelli wrote: > On 5/29/20 10:47 AM, Lukas Wunner wrote: > > On Thu, May 28, 2020 at 12:06:05PM -0700, Florian Fainelli wrote: > >> Make sure we clear the FIFOs, stop the block, disable the clock and > >> release the DMA channel. > > > > To what

Re: [PATCH V7 2/3] dt-bindings: geni-se: Add interconnect binding for GENI QUP

2020-05-29 Thread Rob Herring
On Wed, 27 May 2020 11:57:43 +0530, Akash Asthana wrote: > Add documentation for the interconnect and interconnect-names properties > for the GENI QUP. > > Signed-off-by: Akash Asthana > Reviewed-by: Stephen Boyd > --- > Changes in V5: > - Add interconnect property for QUP wrapper (parent

Re: [PATCH V7 3/3] dt-bindings: serial: Add binding for UART pin swap

2020-05-29 Thread Rob Herring
On Wed, 27 May 2020 11:57:44 +0530, Akash Asthana wrote: > Add documentation to support RX-TX & CTS-RTS GPIO pin swap in HW. > > Signed-off-by: Akash Asthana > Reviewed-by: Stephen Boyd > --- > Changes in V7: > - As per Rob's comment, added type: boolean to properties. > >

Re: [PATCH v2] hwmon:(adm1275) Enable adm1278 ADM1278_TEMP1_EN

2020-05-29 Thread Vijay Khemka
On 5/29/20, 5:47 AM, "Manikandan Elumalai" wrote: The adm1278 temperature sysfs attribute need it for one of the openbmc platform . This functionality is not enabled by default, so PMON_CONFIG needs to be modified in order to enable it. Signed-off-by : Manikandan

Re: [PATCH V7 1/3] dt-bindings: geni-se: Convert QUP geni-se bindings to YAML

2020-05-29 Thread Rob Herring
On Wed, May 27, 2020 at 11:57:42AM +0530, Akash Asthana wrote: > Convert QUP geni-se bindings to DT schema format using json-schema. > > Signed-off-by: Akash Asthana > Reviewed-by: Rob Herring > Reviewed-by: Stephen Boyd > --- > Changes in V2: > - As per Stephen's comment corrected defintion

Re: [PATCH 06/30] KVM: SVM: always update CR3 in VMCB

2020-05-29 Thread Sean Christopherson
On Fri, May 29, 2020 at 10:41:58AM -0700, Krish Sadhukhan wrote: > > On 5/29/20 8:39 AM, Paolo Bonzini wrote: > >svm_load_mmu_pgd is delaying the write of GUEST_CR3 to prepare_vmcs02 > > Did you mean to say enter_svm_guest_mode here ? Heh, looks like Vitaly passed the s/vmcs/vmcb bug on to

Re: [PATCH v3 2/4] dt-bindings: clk: Add Baikal-T1 CCU Dividers binding

2020-05-29 Thread Rob Herring
On Wed, 27 May 2020 01:20:54 +0300, Serge Semin wrote: > After being gained by the CCU PLLs the signals must be transformed to > be suitable for the clock-consumers. This is done by a set of dividers > embedded into the CCU. A first block of dividers is used to create > reference clocks for

Re: [PATCH] vfio/mdev: Fix reference count leak in add_mdev_supported_type.

2020-05-29 Thread Kirti Wankhede
On 5/28/2020 12:32 PM, Cornelia Huck wrote: On Wed, 27 May 2020 21:01:09 -0500 wu000...@umn.edu wrote: From: Qiushi Wu kobject_init_and_add() takes reference even when it fails. If this function returns an error, kobject_put() must be called to properly clean up the memory associated with

Re: [PATCH v2 00/14] PCI: brcmstb: enable PCIe for STB chips

2020-05-29 Thread Jim Quinlan
On Fri, May 29, 2020 at 1:49 PM Rob Herring wrote: > > On Tue, May 26, 2020 at 03:12:39PM -0400, Jim Quinlan wrote: > > v2: > > Commit: "device core: Add ability to handle multiple dma offsets" > > o Added helper func attach_dma_pfn_offset_map() in address.c (Chistoph) > > o Helpers funcs

Re: [PATCH v3 2/6] hwmon: (pmbus/core) Add Block WR

2020-05-29 Thread Guenter Roeck
On 5/29/20 6:05 AM, alexandru.tach...@analog.com wrote: > From: Alexandru Tachici > > PmBus devices support Block Write-Block Read Process > Call described in SMBus specification v 2.0 with the > exception that Block writes and reads are permitted to > have up 255 data bytes instead of max 32

Re: linux-next: Tree for May 14 (objtool 2/2)

2020-05-29 Thread Josh Poimboeuf
On Thu, May 28, 2020 at 11:06:32PM -0700, Kees Cook wrote: > On Thu, May 28, 2020 at 10:44:04AM -0500, Josh Poimboeuf wrote: > > On Thu, May 14, 2020 at 09:04:36AM -0700, Randy Dunlap wrote: > > > On 5/14/20 4:07 AM, Stephen Rothwell wrote: > > > > Hi all, > > > > > > > > Changes since 20200512:

[RFC PATCH linux-next] Revert "net: bcmgenet: bcmgenet_hfb_add_filter() can be static

2020-05-29 Thread kbuild test robot
Fixes: 14da1510fedc ("Revert "net: bcmgenet: remove unused function in bcmgenet.c"") Signed-off-by: kbuild test robot --- bcmgenet.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/broadcom/genet/bcmgenet.c

Re: [PATCH] net: atm: Replace kmalloc with kzalloc in the error message

2020-05-29 Thread Markus Elfring
> Looking into the context (atomic!) and error message itself I would rather > drop > message completely. How do you think about to take another look at a previous update suggestion like the following? net/atm: Delete an error message for a failed memory allocation in five functions

Re: [PATCH v3 1/4] dt-bindings: clk: Add Baikal-T1 CCU PLLs binding

2020-05-29 Thread Rob Herring
On Wed, 27 May 2020 01:20:53 +0300, Serge Semin wrote: > Baikal-T1 Clocks Control Unit is responsible for transformation of a > signal coming from an external oscillator into clocks of various > frequencies to propagate them then to the corresponding clocks > consumers (either individual IP-blocks

Re: [PATCH] spi: bcm2835: Enable shared interrupt support

2020-05-29 Thread Lukas Wunner
On Fri, May 29, 2020 at 10:46:01AM -0700, Florian Fainelli wrote: > On 5/29/20 10:43 AM, Lukas Wunner wrote: > > On Thu, May 28, 2020 at 08:58:04PM +0200, Nicolas Saenz Julienne wrote: > >> --- a/drivers/spi/spi-bcm2835.c > >> +++ b/drivers/spi/spi-bcm2835.c > >> @@ -379,6 +379,10 @@ static

Re: [GIT PULL] sh: remove sh5 support

2020-05-29 Thread Rich Felker
On Fri, May 29, 2020 at 07:30:59AM -0700, Christoph Hellwig wrote: > On Thu, May 28, 2020 at 12:14:16PM -0400, Rich Felker wrote: > > It is in active use. Please do not act on such a request. I would be > > much quicker to ack things that actually need ack if I weren't CC'd on > > hundreds of

[no subject]

2020-05-29 Thread Chris Rankin
Linux https://j.mp/2XC439z Chris Rankin

Re: [PATCH v2 09/14] device core: Add ability to handle multiple dma offsets

2020-05-29 Thread Jim Quinlan
On Fri, May 29, 2020 at 1:35 PM Rob Herring wrote: > > On Wed, May 27, 2020 at 9:43 AM Jim Quinlan > wrote: > > > > Hi Nicolas, > > > > On Wed, May 27, 2020 at 11:00 AM Nicolas Saenz Julienne > > wrote: > > > > > > Hi Jim, > > > one thing comes to mind, there is a small test suite in > > >

Re: [PATCH 1/2] dt-bindings: ASoC: renesas,rsnd: Add r8a7742 support

2020-05-29 Thread Rob Herring
On Tue, 26 May 2020 22:01:43 +0100, Lad Prabhakar wrote: > Document RZ/G1H (R8A7742) SoC bindings. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Marian-Cristian Rotariu > > --- > Documentation/devicetree/bindings/sound/renesas,rsnd.txt | 1 + > 1 file changed, 1 insertion(+) > Acked-by:

Re: [PATCH v2 00/14] PCI: brcmstb: enable PCIe for STB chips

2020-05-29 Thread Rob Herring
On Tue, May 26, 2020 at 03:12:39PM -0400, Jim Quinlan wrote: > v2: > Commit: "device core: Add ability to handle multiple dma offsets" > o Added helper func attach_dma_pfn_offset_map() in address.c (Chistoph) > o Helpers funcs added to __phys_to_dma() & __dma_to_phys() (Christoph) > o Added

Re: [PATCH] spi: bcm2835: Implement shutdown callback

2020-05-29 Thread Florian Fainelli
On 5/29/20 10:47 AM, Lukas Wunner wrote: > On Thu, May 28, 2020 at 12:06:05PM -0700, Florian Fainelli wrote: >> Make sure we clear the FIFOs, stop the block, disable the clock and >> release the DMA channel. > > To what end? Why is this change necessary? Sorry but this seems like > an awfully

Re: [PATCH] spi: bcm2835: Enable shared interrupt support

2020-05-29 Thread Mark Brown
On Fri, May 29, 2020 at 07:43:58PM +0200, Lukas Wunner wrote: > This definitely looks wrong. The check whether the interrupt is enabled > should be moved *before* the conditional calls to bcm2835_rd_fifo_blind() > and bcm2835_wr_fifo_blind(), i.e. to the top of the function. Hrm, right - I'll

Re: [PATCH v6 00/16] spi: dw: Add generic DW DMA controller support

2020-05-29 Thread Serge Semin
On Fri, May 29, 2020 at 08:43:12PM +0300, Andy Shevchenko wrote: > On Fri, May 29, 2020 at 08:26:42PM +0300, Serge Semin wrote: > > On Fri, May 29, 2020 at 06:18:32PM +0100, Mark Brown wrote: > > > On Fri, 29 May 2020 16:11:49 +0300, Serge Semin wrote: > > > > Baikal-T1 SoC provides a DW DMA

Re: [PATCH] spi: bcm2835: Implement shutdown callback

2020-05-29 Thread Lukas Wunner
On Thu, May 28, 2020 at 12:06:05PM -0700, Florian Fainelli wrote: > Make sure we clear the FIFOs, stop the block, disable the clock and > release the DMA channel. To what end? Why is this change necessary? Sorry but this seems like an awfully terse commit message. Thanks, Lukas > >

Re: [PATCH 7/8] ARM: OMAP2: Switch to use DEVICE_ATTR_RO()

2020-05-29 Thread Tony Lindgren
* Sudeep Holla [200523 17:10]: > Move device attributes to DEVICE_ATTR_RO() as that would make things > a lot more "obvious" what is happening over the existing __ATTR usage. Acked-by: Tony Lindgren

Re: [PATCH] spi: bcm2835: Enable shared interrupt support

2020-05-29 Thread Florian Fainelli
On 5/29/20 10:43 AM, Lukas Wunner wrote: > On Thu, May 28, 2020 at 08:58:04PM +0200, Nicolas Saenz Julienne wrote: >> --- a/drivers/spi/spi-bcm2835.c >> +++ b/drivers/spi/spi-bcm2835.c >> @@ -379,6 +379,10 @@ static irqreturn_t bcm2835_spi_interrupt(int irq, void >> *dev_id) >> if

[PATCH] sh: Implement __get_user_u64() required for 64-bit get_user()

2020-05-29 Thread John Paul Adrian Glaubitz
Trying to build the kernel with CONFIG_INFINIBAND_USER_ACCESS enabled fails ERROR: "__get_user_unknown" [drivers/infiniband/core/ib_uverbs.ko] undefined! with on SH since the kernel misses a 64-bit implementation of get_user(). Implement the missing 64-bit get_user() as __get_user_u64(),

[RESEND] sh: Implement __get_user_u64() required for 64-bit get_user()

2020-05-29 Thread John Paul Adrian Glaubitz
Hi! This is my attempt of implementing a 64-bit get_user() for SH to address the build problem when CONFIG_INFINIBAND_USER_ACCESS is enabled. I have carefully looked at the existing implementations of __get_user_asm(), __put_user_asm() and the 64-bit __put_user_u64() to come up with the 64-bit

Re: [PATCH v2 03/14] dt-bindings: PCI: Add bindings for more Brcmstb chips

2020-05-29 Thread Rob Herring
On Tue, May 26, 2020 at 03:12:42PM -0400, Jim Quinlan wrote: > From: Jim Quinlan > > - Add compatible strings for three more Broadcom STB chips: 7278, 7216, > 7211 (STB version of RPi4). > - add new property 'brcm,scb-sizes' > - add new property 'resets' > - add new property 'reset-names' > -

Re: [fixup v2] kunit: use --build_dir=.kunit as default

2020-05-29 Thread Vitor Massaru Iha
On Thu, May 28, 2020 at 2:28 PM Shuah Khan wrote: > > On 5/26/20 6:34 PM, Vitor Massaru Iha wrote: > > To make KUnit easier to use, and to avoid overwriting object and > > .config files, the default KUnit build directory is set to .kunit > > > > Fixed up minor merge conflicts - Shuah Khan > > >

Re: Question: livepatch failed for new fork() task stack unreliable

2020-05-29 Thread Josh Poimboeuf
On Fri, May 29, 2020 at 06:10:59PM +0800, Wang ShaoBo wrote: > Stack unreliable error is reported by stack_trace_save_tsk_reliable() when > trying > to insmod a hot patch for module modification, this results in frequent > failures > sometimes. We found this 'unreliable' stack is from task just

Re: [PATCH net-next v2] hinic: add set_channels ethtool_ops support

2020-05-29 Thread Jakub Kicinski
On Thu, 28 May 2020 18:36:33 + Luo bin wrote: > add support to change TX/RX queue number with ethtool -L > > Signed-off-by: Luo bin Luo bin, your patches continue to come with Date: header being in the past. Also suspiciously no time zone offset. Can you address this? > +static int

Re: [PATCH 06/30] KVM: SVM: always update CR3 in VMCB

2020-05-29 Thread Krish Sadhukhan
On 5/29/20 8:39 AM, Paolo Bonzini wrote: svm_load_mmu_pgd is delaying the write of GUEST_CR3 to prepare_vmcs02 Did you mean to say enter_svm_guest_mode here ? as an optimization, but this is only correct before the nested vmentry. If userspace is modifying CR3 with KVM_SET_SREGS after the

Re: [PATCH 2/2] soc: samsung: Add simple voltage coupler for Exynos5800

2020-05-29 Thread Krzysztof Kozlowski
On Fri, May 29, 2020 at 02:49:40PM +0200, Marek Szyprowski wrote: > Add custom voltage regulator coupler for Exynos5800 SoCs, which require > coupling between "vdd_arm" and "vdd_int" regulators. This coupler ensures > that coupled regulators voltage balancing is done only when clients for > each

Re: [PATCH] spi: bcm2835: Enable shared interrupt support

2020-05-29 Thread Lukas Wunner
On Thu, May 28, 2020 at 08:58:04PM +0200, Nicolas Saenz Julienne wrote: > --- a/drivers/spi/spi-bcm2835.c > +++ b/drivers/spi/spi-bcm2835.c > @@ -379,6 +379,10 @@ static irqreturn_t bcm2835_spi_interrupt(int irq, void > *dev_id) > if (bs->tx_len && cs & BCM2835_SPI_CS_DONE) >

Re: [PATCH v6 00/16] spi: dw: Add generic DW DMA controller support

2020-05-29 Thread Andy Shevchenko
On Fri, May 29, 2020 at 08:26:42PM +0300, Serge Semin wrote: > On Fri, May 29, 2020 at 06:18:32PM +0100, Mark Brown wrote: > > On Fri, 29 May 2020 16:11:49 +0300, Serge Semin wrote: > > > Baikal-T1 SoC provides a DW DMA controller to perform low-speed > > > peripherals > > > Mem-to-Dev and

Re: [PATCH v8 3/8] PM / EM: update callback structure and add device pointer

2020-05-29 Thread Daniel Lezcano
On 27/05/2020 11:58, Lukasz Luba wrote: > The Energy Model framework is going to support devices other that CPUs. In > order to make this happen change the callback function and add pointer to > a device as an argument. > > Update the related users to use new function and new callback from the >

Re: [PATCH] mwifiex: Add support for NL80211_ATTR_MAX_AP_ASSOC_STA

2020-05-29 Thread Kalle Valo
Pali Rohár wrote: > SD8997 firmware sends TLV_TYPE_MAX_CONN with struct hw_spec_max_conn to > inform kernel about maximum number of p2p connections and stations in AP > mode. > > During initialization of SD8997 wifi chip kernel prints warning: > > mwifiex_sdio mmc0:0001:1: Unknown

[no subject]

2020-05-29 Thread John Paul Adrian Glaubitz
Hi! This is my attempt of implementing a 64-bit get_user() for SH to address the build problem when CONFIG_INFINIBAND_USER_ACCESS is enabled. I have carefully looked at the existing implementations of __get_user_asm(), __put_user_asm() and the 64-bit __put_user_u64() to come up with the 64-bit

[PATCH] sh: Implement __get_user_u64() required for 64-bit get_user()

2020-05-29 Thread John Paul Adrian Glaubitz
Trying to build the kernel with CONFIG_INFINIBAND_USER_ACCESS enabled fails ERROR: "__get_user_unknown" [drivers/infiniband/core/ib_uverbs.ko] undefined! with on SH since the kernel misses a 64-bit implementation of get_user(). Implement the missing 64-bit get_user() as __get_user_u64(),

Re: [PATCH v2] hwmon:(adm1275) Enable adm1278 ADM1278_TEMP1_EN

2020-05-29 Thread Patrick Williams
Hi Guenter, Thanks for the initial look at this. One question for you below... On Fri, May 29, 2020 at 10:30:16AM -0700, Guenter Roeck wrote: > On 5/29/20 5:46 AM, Manikandan Elumalai wrote: > > + /* Enable TEMP1 by default */ > > + config |= ADM1278_TEMP1_EN; > > +

Re: [PATCH for-next 1/1] null_blk: force complete for timeout request

2020-05-29 Thread Jens Axboe
On 5/29/20 11:31 AM, Dongli Zhang wrote: > The commit 7b11eab041da ("blk-mq: blk-mq: provide forced completion > method") exports new API to force a request to complete without error > injection. > > There should be no error injection when completing a request by timeout > handler. > >

[PATCH v8 2/2] PCI: hip: Add handling of HiSilicon HIP PCIe controller errors

2020-05-29 Thread Shiju Jose
From: Yicong Yang The HiSilicon HIP PCIe controller is capable of handling errors on root port and perform port reset separately at each root port. This patch add error handling driver for HIP PCIe controller to log and report recoverable errors. Perform root port reset and restore link status

Re: [PATCH] mwifiex: Parse all API_VER_ID properties

2020-05-29 Thread Kalle Valo
Pali Rohár wrote: > During initialization of SD8997 wifi chip kernel prints warnings: > > mwifiex_sdio mmc0:0001:1: Unknown api_id: 3 > mwifiex_sdio mmc0:0001:1: Unknown api_id: 4 > > This patch adds support for parsing all api ids provided by SD8997 > firmware. > > Signed-off-by: Pali

Re: [PATCH] mwifiex: Add support for NL80211_ATTR_MAX_AP_ASSOC_STA

2020-05-29 Thread Kalle Valo
Pali Rohár writes: > On Thursday 21 May 2020 14:35:59 Pali Rohár wrote: >> SD8997 firmware sends TLV_TYPE_MAX_CONN with struct hw_spec_max_conn to >> inform kernel about maximum number of p2p connections and stations in AP >> mode. >> >> During initialization of SD8997 wifi chip kernel prints

[PATCH v8 0/2] ACPI / APEI: Add support to notify the vendor specific HW errors

2020-05-29 Thread Shiju Jose
Presently the vendor drivers are unable to do the recovery for the vendor specific recoverable HW errors because APEI driver does not support reporting the error to the vendor drivers. patch set 1. add new interface to the APEI driver for reporting the vendor specific non-fatal HW errors to

[PATCH v8 1/2] ACPI / APEI: Add support to notify the vendor specific HW errors

2020-05-29 Thread Shiju Jose
Add support to report the vendor specific non-fatal HW errors to the drivers for the error recovery. Signed-off-by: Shiju Jose --- drivers/acpi/apei/ghes.c | 126 ++- include/acpi/ghes.h | 28 + 2 files changed, 153 insertions(+), 1 deletion(-)

Re: [PATCH v2 1/3] seccomp: Add find_notification helper

2020-05-29 Thread Sargun Dhillon
> > While the comment is good, let's actually enforce this with: > > if (WARN_ON(!mutex_is_locked(>notif_lock))) > return NULL; > I don't see much use of lockdep in seccomp (well, any), but wouldn't a stronger statement be to use lockdep, and just have: lockdep_assert_held(>notify_lock);

Re: [PATCH 1/1] dt-bindings: MIPS: Document Ingenic SoCs binding.

2020-05-29 Thread Rob Herring
On Tue, May 26, 2020 at 09:10:29PM +0200, Paul Cercueil wrote: > Hi Zhou, > > Le mer. 27 mai 2020 à 1:07, 周琰杰 (Zhou Yanjie) > a écrit : > > Document the available properties for the SoC root node and the > > CPU nodes of the devicetree for the Ingenic XBurst SoCs. > > > > Tested-by: H. Nikolaus

Re: [PATCH v6 00/16] spi: dw: Add generic DW DMA controller support

2020-05-29 Thread Serge Semin
Mark On Fri, May 29, 2020 at 06:18:32PM +0100, Mark Brown wrote: > On Fri, 29 May 2020 16:11:49 +0300, Serge Semin wrote: > > Baikal-T1 SoC provides a DW DMA controller to perform low-speed peripherals > > Mem-to-Dev and Dev-to-Mem transaction. This is also applicable to the DW > > APB SSI

[PATCH for-next 1/1] null_blk: force complete for timeout request

2020-05-29 Thread Dongli Zhang
The commit 7b11eab041da ("blk-mq: blk-mq: provide forced completion method") exports new API to force a request to complete without error injection. There should be no error injection when completing a request by timeout handler. Otherwise, the below would hang because timeout handler is failed.

Re: [PATCH] wlcore: fix runtime pm imbalance in wlcore_irq_locked

2020-05-29 Thread Kalle Valo
Dinghao Liu wrote: > When wlcore_fw_status() returns an error code, a pairing > runtime PM usage counter decrement is needed to keep the > counter balanced. It's the same for all error paths after > wlcore_fw_status(). > > Signed-off-by: Dinghao Liu > Acked-by: Tony Lindgren Patch applied to

Re: [PATCH v4 1/4] scsi: ufs: remove max_t in ufs_get_device_desc

2020-05-29 Thread Stanley Chu
On Fri, 2020-05-29 at 18:40 +0200, Bean Huo wrote: > From: Bean Huo > > For the UFS device, the maximum descriptor size is 255, max_t called > in ufs_get_device_desc() is useless. > > Signed-off-by: Bart van Assche > Signed-off-by: Bean Huo > Acked-by: Avri Altman Reviewed-by: Stanley Chu

Re: [PATCH 1/6] x86/entry: Introduce local_db_{save,restore}()

2020-05-29 Thread Andy Lutomirski
> On May 28, 2020, at 2:34 PM, Peter Zijlstra wrote: > > On Thu, May 28, 2020 at 11:15:50PM +0200, Peter Zijlstra wrote: >>> On Thu, May 28, 2020 at 09:52:30PM +0100, Andrew Cooper wrote: >>> On 28/05/2020 21:19, Peter Zijlstra wrote: --- a/arch/x86/include/asm/debugreg.h +++

Re: [PATCH v14 1/1] perf tools: add support for libpfm4

2020-05-29 Thread Arnaldo Carvalho de Melo
Em Fri, May 29, 2020 at 02:23:10PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Fri, May 29, 2020 at 10:03:51AM -0700, Ian Rogers escreveu: > > On Tue, May 5, 2020 at 11:29 AM Ian Rogers wrote: > > > > > > From: Stephane Eranian > > > > > > This patch links perf with the libpfm4 library if it

Re: [PATCH] dt-bindings: leds: fix macro names for pca955x

2020-05-29 Thread Rob Herring
On Tue, 26 May 2020 11:20:52 +0200, Flavio Suligoi wrote: > The documentation reports the wrong macro names > related to the pca9532 instead of the pca955x > > Signed-off-by: Flavio Suligoi > --- > Documentation/devicetree/bindings/leds/leds-pca955x.txt | 6 +++--- > 1 file changed, 3

Re: [PATCH v6 00/16] spi: dw: Add generic DW DMA controller support

2020-05-29 Thread Serge Semin
On Fri, May 29, 2020 at 06:33:25PM +0100, Mark Brown wrote: > On Fri, May 29, 2020 at 08:26:42PM +0300, Serge Semin wrote: > > > You must have missed the patch 16: > > 0e8332aaf059 dt-bindings: spi: Convert DW SPI binding to DT schema > > As you can see it has been acked by Rob. So you can also

Re: [PATCH v14 1/1] perf tools: add support for libpfm4

2020-05-29 Thread Ian Rogers
On Fri, May 29, 2020 at 10:23 AM Arnaldo Carvalho de Melo wrote: > > Em Fri, May 29, 2020 at 10:03:51AM -0700, Ian Rogers escreveu: > > On Tue, May 5, 2020 at 11:29 AM Ian Rogers wrote: > > > > > > From: Stephane Eranian > > > > > > This patch links perf with the libpfm4 library if it is

Re: [PATCH] wlcore: fix runtime pm imbalance in __wl1271_op_remove_interface

2020-05-29 Thread Kalle Valo
Dinghao Liu wrote: > When wl12xx_cmd_role_disable() returns an error code, > a pairing runtime PM usage counter decrement is needed to > keep the counter balanced. > > Signed-off-by: Dinghao Liu > Acked-by: Tony Lindgren Patch applied to wireless-drivers-next.git, thanks. 53df5271f239

Re: [PATCH v2 09/14] device core: Add ability to handle multiple dma offsets

2020-05-29 Thread Rob Herring
On Wed, May 27, 2020 at 9:43 AM Jim Quinlan wrote: > > Hi Nicolas, > > On Wed, May 27, 2020 at 11:00 AM Nicolas Saenz Julienne > wrote: > > > > Hi Jim, > > one thing comes to mind, there is a small test suite in > > drivers/of/unittest.c > > (specifically of_unittest_pci_dma_ranges()) you could

Re: [PATCH linux-rcu] docs/litmus-tests: add BPF ringbuf MPSC litmus tests

2020-05-29 Thread Joel Fernandes
Hi Andrii, On Thu, May 28, 2020 at 10:50:30PM -0700, Andrii Nakryiko wrote: > > [...] > > > diff --git a/Documentation/litmus-tests/bpf-rb/bpf-rb+1p1c+bounded.litmus > > > b/Documentation/litmus-tests/bpf-rb/bpf-rb+1p1c+bounded.litmus > > > new file mode 100644 > > > index

Re: [PATCH] wlcore: fix runtime pm imbalance in wl1271_op_suspend

2020-05-29 Thread Kalle Valo
Dinghao Liu wrote: > When wlcore_hw_interrupt_notify() returns an error code, > a pairing runtime PM usage counter decrement is needed to > keep the counter balanced. > > Signed-off-by: Dinghao Liu > Acked-by: Tony Lindgren Patch applied to wireless-drivers-next.git, thanks. 3e69ed2b52fd

Re: [PATCH 4/6] x86/entry: Optimize local_db_save() for virt

2020-05-29 Thread Sean Christopherson
On Thu, May 28, 2020 at 10:19:41PM +0200, Peter Zijlstra wrote: > static int arch_bp_generic_len(int x86_len) > --- a/arch/x86/kvm/vmx/nested.c > +++ b/arch/x86/kvm/vmx/nested.c > @@ -3027,6 +3027,8 @@ static int nested_vmx_check_vmentry_hw(s > > /* >* VMExit clears RFLAGS.IF and

Re: [PATCH] wlcore: fix runtime pm imbalance in wlcore_regdomain_config

2020-05-29 Thread Kalle Valo
Dinghao Liu wrote: > pm_runtime_get_sync() increments the runtime PM usage counter even > the call returns an error code. Thus a pairing decrement is needed > on the error handling path to keep the counter balanced. > > Signed-off-by: Dinghao Liu > Acked-by: Tony Lindgren Patch applied to

[PATCH] x86/uaccess: Remove redundant likely/unlikely annotations

2020-05-29 Thread Josh Poimboeuf
On Fri, May 29, 2020 at 06:54:19PM +0200, Peter Zijlstra wrote: > On Fri, May 29, 2020 at 11:50:11AM -0500, Josh Poimboeuf wrote: > > The nested likelys seem like overkill anyway -- user_access_begin() is > > __always_inline and it already has unlikely(), which should be > > propagated. > > > >

Re: [PATCH v6 00/16] spi: dw: Add generic DW DMA controller support

2020-05-29 Thread Mark Brown
On Fri, May 29, 2020 at 08:26:42PM +0300, Serge Semin wrote: > You must have missed the patch 16: > 0e8332aaf059 dt-bindings: spi: Convert DW SPI binding to DT schema > As you can see it has been acked by Rob. So you can also merge it into your > repo. Though It has to be rebased first due to the

Re: [PATCH 0/2] Fix regulators coupling for Exynos5800

2020-05-29 Thread Krzysztof Kozlowski
On Fri, May 29, 2020 at 05:58:27PM +0100, Mark Brown wrote: > On Fri, May 29, 2020 at 05:52:15PM +0100, Mark Brown wrote: > > > [1/1] regulator: extract voltage balancing code to the separate function > > commit: 752db83a5dfd4fd3a0624b9ab440ed947fa003ca > > Let me know if you need a pull

Re: general protection fault in inet_unhash

2020-05-29 Thread Eric Dumazet
On 5/28/20 11:32 PM, Andrii Nakryiko wrote: > On 5/28/20 11:23 PM, Dmitry Vyukov wrote: >> On Thu, May 28, 2020 at 11:01 PM 'Andrii Nakryiko' via syzkaller-bugs >> wrote: >>> >>> On 5/28/20 9:44 AM, syzbot wrote: Hello, syzbot found the following crash on: HEAD commit: 

Re: [PATCH] efi: Replace zero-length array and use struct_size() helper

2020-05-29 Thread Gustavo A. R. Silva
On Fri, May 29, 2020 at 01:31:54AM -0700, Kees Cook wrote: > On Wed, May 27, 2020 at 12:14:25PM -0500, Gustavo A. R. Silva wrote: > > The current codebase makes use of the zero-length array language > > extension to the C90 standard, but the preferred mechanism to declare > > variable-length types

Re: [sched/fair] 0b0695f2b3: phoronix-test-suite.compress-gzip.0.seconds 19.8% regression

2020-05-29 Thread Vincent Guittot
On Mon, 25 May 2020 at 10:02, Vincent Guittot wrote: > > On Thu, 21 May 2020 at 10:28, Oliver Sang wrote: > > > > On Wed, May 20, 2020 at 03:04:48PM +0200, Vincent Guittot wrote: > > > On Thu, 14 May 2020 at 19:09, Vincent Guittot > > > wrote: > > > > > > > > Hi Oliver, > > > > > > > > On Thu,

Re: [PATCH] ASoC: mediatek: mt6358: support DMIC one-wire mode

2020-05-29 Thread Tzung-Bi Shih
On Fri, May 29, 2020 at 9:05 PM Mark Brown wrote: > > On Fri, May 29, 2020 at 07:22:43PM +0800, Tzung-Bi Shih wrote: > > On Fri, May 29, 2020 at 7:09 PM Mark Brown wrote: > > > > What is DMIC one wire mode? This doesn't sound like something I'd > > > expect to vary at runtime. > > > It means: 1

Re: [PATCH v2] hwmon:(adm1275) Enable adm1278 ADM1278_TEMP1_EN

2020-05-29 Thread Guenter Roeck
On 5/29/20 5:46 AM, Manikandan Elumalai wrote: > The adm1278 temperature sysfs attribute need it for one of the openbmc > platform . > This functionality is not enabled by default, so PMON_CONFIG needs to be > modified in order to enable it. > > Signed-off-by : Manikandan Elumalai This is

Re: [PATCH] wlcore: fix runtime pm imbalance in wl1271_tx_work

2020-05-29 Thread Kalle Valo
Dinghao Liu wrote: > There are two error handling paths in this functon. When > wlcore_tx_work_locked() returns an error code, we should > decrease the runtime PM usage counter the same way as the > error handling path beginning from pm_runtime_get_sync(). > > Signed-off-by: Dinghao Liu >

Re: [PATCH v14 1/1] perf tools: add support for libpfm4

2020-05-29 Thread Arnaldo Carvalho de Melo
Em Fri, May 29, 2020 at 10:03:51AM -0700, Ian Rogers escreveu: > On Tue, May 5, 2020 at 11:29 AM Ian Rogers wrote: > > > > From: Stephane Eranian > > > > This patch links perf with the libpfm4 library if it is available > > and LIBPFM4 is passed to the build. The libpfm4 library > > contains

Re: Some -serious- BPF-related litmus tests

2020-05-29 Thread Joel Fernandes
On Thu, May 28, 2020 at 09:38:35PM -0700, Andrii Nakryiko wrote: > On Thu, May 28, 2020 at 2:48 PM Joel Fernandes wrote: > > > > On Mon, May 25, 2020 at 11:38:23AM -0700, Andrii Nakryiko wrote: > > > On Mon, May 25, 2020 at 7:53 AM Boqun Feng wrote: > > > > > > > > Hi Andrii, > > > > > > > > On

Re: [PATCH v2] arm: dts: am335x-boneblack: add gpio-line-names

2020-05-29 Thread Tony Lindgren
* Drew Fustini [200528 13:17]: > FYI - Linus W. provided an Acked-by in related thread [0]. > > Anyone else have any review comments? Looks good to me thanks. But as the merge window is about to open, let's do fixes only at this point and leave this for v5.9. Regards, Tony > > [0] >

[GIT PULL] arm64 fix for 5.7-rc8/final

2020-05-29 Thread Catalin Marinas
Hi Linus, Please pull the arm64 fix below. Thanks. The following changes since commit 8cfb347ad0cffdbfc69c82506fb3be9429563211: arm64: Add get_user() type annotation on the !access_ok() path (2020-05-22 16:59:49 +0100) are available in the Git repository at:

[PATCH v3 2/2] drivers/irqchip: Use new macro ACPI_DECLARE_SUBTABLE_PROBE_ENTRY

2020-05-29 Thread Oscar Carter
In an effort to enable -Wcast-function-type in the top-level Makefile to support Control Flow Integrity builds, there are the need to remove all the function callback casts. To do this, modify the IRQCHIP_ACPI_DECLARE macro to use the new defined macro ACPI_DECLARE_SUBTABLE_PROBE_ENTRY instead of

[PATCH v3 0/2] drivers/irqchip: Remove function callback casts

2020-05-29 Thread Oscar Carter
In an effort to enable -Wcast-function-type in the top-level Makefile to support Control Flow Integrity builds, there are the need to remove all the function callback casts. The first patch creates a macro called ACPI_DECLARE_SUBTABLE_PROBE_ENTRY to initialize the acpi_probe_entry struct using

[PATCH v3 1/2] drivers/irqchip: Add new macro ACPI_DECLARE_SUBTABLE_PROBE_ENTRY

2020-05-29 Thread Oscar Carter
In an effort to enable -Wcast-function-type in the top-level Makefile to support Control Flow Integrity builds, there are the need to remove all the function callback casts. To do this, create a new macro called ACPI_DECLARE_SUBTABLE_PROBE_ENTRY to initialize the acpi_probe_entry struct using the

Re: [PATCHv3 1/2] spi: dw: add reset control

2020-05-29 Thread Mark Brown
On Wed, 27 May 2020 15:41:09 -0500, Dinh Nguyen wrote: > Add mechanism to get the reset control and deassert it in order to bring > the IP out of reset. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/2] spi: dw: add reset control commit:

Re: [PATCH] mwifiex: Add support for NL80211_ATTR_MAX_AP_ASSOC_STA

2020-05-29 Thread Pali Rohár
On Thursday 21 May 2020 14:35:59 Pali Rohár wrote: > SD8997 firmware sends TLV_TYPE_MAX_CONN with struct hw_spec_max_conn to > inform kernel about maximum number of p2p connections and stations in AP > mode. > > During initialization of SD8997 wifi chip kernel prints warning: > > mwifiex_sdio

Re: [PATCH] spi: bcm2835: Enable shared interrupt support

2020-05-29 Thread Mark Brown
On Thu, 28 May 2020 20:58:04 +0200, Nicolas Saenz Julienne wrote: > bcm2711, Rasberry Pi 4's SoC, shares one interrupt for multiple > instances of the bcm2835 SPI controller. So this enables shared > interrupt support for them. > > The early bail out in the interrupt routine avoids messing with

Re: [PATCHv4 1/2] spi: dw: add reset control

2020-05-29 Thread Mark Brown
On Fri, 29 May 2020 10:58:05 -0500, Dinh Nguyen wrote: > Add mechanism to get the reset control and deassert it in order to bring > the IP out of reset. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/2] spi: dw: add reset control commit:

Re: [PATCH v6 00/16] spi: dw: Add generic DW DMA controller support

2020-05-29 Thread Mark Brown
On Fri, 29 May 2020 16:11:49 +0300, Serge Semin wrote: > Baikal-T1 SoC provides a DW DMA controller to perform low-speed peripherals > Mem-to-Dev and Dev-to-Mem transaction. This is also applicable to the DW > APB SSI devices embedded into the SoC. Currently the DMA-based transfers > are supported

Re: [PATCH] spi: bcm2835: Implement shutdown callback

2020-05-29 Thread Mark Brown
On Thu, 28 May 2020 12:06:05 -0700, Florian Fainelli wrote: > Make sure we clear the FIFOs, stop the block, disable the clock and > release the DMA channel. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/1] spi: bcm2835: Implement shutdown

Re: [PATCH] libertas: Use shared constant for rfc1042 header

2020-05-29 Thread Kalle Valo
Pascal Terjan wrote: > This is one of the 9 drivers redefining rfc1042_header. > > Signed-off-by: Pascal Terjan Patch applied to wireless-drivers-next.git, thanks. 729ef6b614a1 libertas: Use shared constant for rfc1042 header -- https://patchwork.kernel.org/patch/11567011/

Re: [PATCH] atmel: Use shared constant for rfc1042 header

2020-05-29 Thread Kalle Valo
Pascal Terjan wrote: > This is one of the 9 drivers redefining rfc1042_header. > > Signed-off-by: Pascal Terjan Patch applied to wireless-drivers-next.git, thanks. e78e5d18c653 atmel: Use shared constant for rfc1042 header -- https://patchwork.kernel.org/patch/11567013/

Re: [PATCH] cw1200: Remove local sdio VENDOR and DEVICE id definitions

2020-05-29 Thread Kalle Valo
Pali Rohár wrote: > They are already present in linux/mmc/sdio_ids.h. > > Signed-off-by: Pali Rohár Patch applied to wireless-drivers-next.git, thanks. 83cee4e625f8 cw1200: Remove local sdio VENDOR and DEVICE id definitions -- https://patchwork.kernel.org/patch/11560329/

Re: [PATCH v2 1/2] dt-bindings: phy: intel: Add Keem Bay eMMC PHY bindings

2020-05-29 Thread Rob Herring
On Tue, May 26, 2020 at 01:04:51PM +0800, Wan Ahmad Zainie wrote: > Binding description for Intel Keem Bay eMMC PHY. > > Signed-off-by: Wan Ahmad Zainie > --- > .../bindings/phy/intel,keembay-emmc-phy.yaml | 45 +++ > 1 file changed, 45 insertions(+) > create mode 100644 >

Re: [PATCH 2/3] dt-bindings: rng: document Silex Insight BA431 hwrng

2020-05-29 Thread Rob Herring
On Mon, 25 May 2020 21:56:05 +0200, Olivier Sobrie wrote: > This patch documents the device tree bindings of the BA431 hardware > random number generator. > > This IP is for instance present in the Viper OEM boards sold by Silex > Insight. > > Signed-off-by: Olivier Sobrie > --- >

Re: [PATCH 1/3] dt-bindings: vendor-prefixes: Add Silex Insight vendor prefix

2020-05-29 Thread Rob Herring
On Mon, 25 May 2020 21:56:04 +0200, Olivier Sobrie wrote: > Silex Insight is a microelectronic company whose headquarter is located > in Belgium. > Web site of the company: https://www.silexinsight.com/ > > Signed-off-by: Olivier Sobrie > --- >

Re: [PATCH 3/3] hwrng: ba431-rng: add support for BA431 hwrng

2020-05-29 Thread Rob Herring
On Mon, May 25, 2020 at 10:28:46PM +0200, Arnd Bergmann wrote: > On Mon, May 25, 2020 at 10:07 PM Olivier Sobrie > wrote: > > > > Silex insight BA431 is an IP designed to generate random numbers that > > can be integrated in various FPGA. > > This driver adds support for it through the hwrng

Re: PANIC: double fault in fixup_bad_iret

2020-05-29 Thread Peter Zijlstra
On Fri, May 29, 2020 at 06:07:11PM +0200, Peter Zijlstra wrote: > Like with KCSAN, we should blanket kill KASAN/UBSAN and friends (at the > very least in arch/x86/) until they get that function attribute stuff > sorted. Something like so. --- diff --git a/arch/x86/Makefile b/arch/x86/Makefile

Re: [BOOTLOADER SPECIFICATION RFC] The bootloader log format for TrenchBoot and others

2020-05-29 Thread Andy Lutomirski
> On May 29, 2020, at 4:30 AM, Daniel Kiper wrote: > > Hey, > > Below you can find my rough idea of the bootloader log format which is > generic thing but initially will be used for TrenchBoot work. I discussed > this proposal with Ross and Daniel S. So, the idea went through initial >

Re: [PATCH 1/1] tty: serial: owl: Add support for kernel debugger

2020-05-29 Thread Cristian Ciocaltea
On Fri, May 29, 2020 at 05:56:47PM +0200, Andreas Färber wrote: > Hi, > > Am 29.05.20 um 17:50 schrieb Cristian Ciocaltea: > > Implement poll_put_char and poll_get_char callbacks in struct uart_ops > > that enables OWL UART to be used for KGDB debugging over serial line. > > > > Signed-off-by:

Re: [PATCH v4 2/5] dt-bindings: iio: imu: bmi160: add regulators and mount-matrix

2020-05-29 Thread Rob Herring
On Mon, May 25, 2020 at 06:46:01PM +0200, Jonathan Albrieux wrote: > Add vdd-supply and vddio-supply support. > Add mount-matrix support. > > Signed-off-by: Jonathan Albrieux > --- > .../bindings/iio/imu/bosch,bmi160.yaml | 16 > 1 file changed, 16 insertions(+) > >

Re: [PATCH -tip v3 05/11] kcsan: Remove 'noinline' from __no_kcsan_or_inline

2020-05-29 Thread Peter Zijlstra
On Thu, May 21, 2020 at 04:20:41PM +0200, Marco Elver wrote: > Some compilers incorrectly inline small __no_kcsan functions, which then > results in instrumenting the accesses. For this reason, the 'noinline' > attribute was added to __no_kcsan_or_inline. All known versions of GCC > are affected

Re: [PATCH v4 1/5] dt-bindings: iio: imu: bmi160: convert format to yaml, add maintainer

2020-05-29 Thread Rob Herring
On Mon, 25 May 2020 18:46:00 +0200, Jonathan Albrieux wrote: > Converts documentation from txt format to yaml. > > Signed-off-by: Jonathan Albrieux > --- > .../devicetree/bindings/iio/imu/bmi160.txt| 37 - > .../bindings/iio/imu/bosch,bmi160.yaml| 75 +++ > 2

<    1   2   3   4   5   6   7   8   9   10   >