Re: [PATCH 1/3] Drivers: hv: vmbus: Add vmbus_requestor data structure for VMBus hardening

2020-06-29 Thread Andres Beltran
From: linux-hyperv-ow...@vger.kernel.org On Behalf Of Wei Liu. Sent: Friday, June 26, 2020 9:20 AM > > static int __vmbus_open(struct vmbus_channel *newchannel, > >void *userdata, u32 userdatalen, > >void (*onchannelcallback)(void *context), void *context)

[PATCH v2 08/13] clk: qcom: add common gdsc_gx_do_nothing_enable for gpucc drivers

2020-06-29 Thread Jonathan Marek
All gpucc drivers need this, so move it to common code instead of duplicating it in every gpucc driver. Signed-off-by: Jonathan Marek --- drivers/clk/qcom/gdsc.c | 25 + drivers/clk/qcom/gdsc.h | 1 + drivers/clk/qcom/gpucc-sc7180.c | 27 +

[PATCH v2 09/13] clk: qcom: Add graphics clock controller driver for SM8150

2020-06-29 Thread Jonathan Marek
Add support for the graphics clock controller found on SM8150 based devices. This would allow graphics drivers to probe and control their clocks. This is copied from the downstream kernel, adapted for upstream. For example, GDSCs have been added. Signed-off-by: Jonathan Marek --- drivers/clk/qc

Re: [PATCH 2/5] mfd: lm3533-ctrlbank: Cap BRIGHTNESS_MAX to 127 since API uses u8 as carrier

2020-06-29 Thread Johan Hovold
On Mon, Jun 29, 2020 at 01:32:12PM +0100, Lee Jones wrote: > Since its conception in 2012 brightness has been artificially capped > at 127 since the variable carrying the value is u8. We could go to > the trouble of changing the whole API (crossing 3 different subsystems), > but clearly this hasn'

Re: [PATCH v2 06/10] phy: mdio: add kerneldoc for __devm_mdiobus_register()

2020-06-29 Thread Florian Fainelli
On 6/29/2020 5:03 AM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > This function is not documented. Add a short kerneldoc description. > > Signed-off-by: Bartosz Golaszewski Reviewed-by: Florian Fainelli -- Florian

Re: [PATCH v3 1/7] x86/boot/compressed: Move .got.plt entries out of the .got section

2020-06-29 Thread Kees Cook
On Mon, Jun 29, 2020 at 05:51:00PM +0200, Ard Biesheuvel wrote: > On Mon, 29 Jun 2020 at 17:50, Arvind Sankar wrote: > > > > On Mon, Jun 29, 2020 at 08:48:05AM -0700, Kees Cook wrote: > > > On Mon, Jun 29, 2020 at 10:09:22AM -0400, Arvind Sankar wrote: > > > > > > This is also being done on arm64,

KMSAN: uninit-value in macvlan_start_xmit

2020-06-29 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:f0d5ec90 kmsan: apply __no_sanitize_memory to dotraplinkag.. git tree: https://github.com/google/kmsan.git master console output: https://syzkaller.appspot.com/x/log.txt?x=1565759b10 kernel config: https://syzkaller.appspot.co

[PATCH v2 13/13] arm64: dts: qcom: add sm8250 GPU nodes

2020-06-29 Thread Jonathan Marek
This brings up the GPU. Tested on HDK865 by running vulkan CTS. Signed-off-by: Jonathan Marek --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 143 +++ 1 file changed, 143 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi i

Re: [PATCH v2 03/10] net: devres: rename the release callback of devm_register_netdev()

2020-06-29 Thread Florian Fainelli
On 6/29/2020 5:03 AM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Make it an explicit counterpart to devm_register_netdev() just like we > do with devm_free_netdev() for better clarity. > > Signed-off-by: Bartosz Golaszewski Reviewed-by: Florian Fainelli -- Florian

Re: [PATCH v3] ASoC: Intel: kbl_rt5663_rt5514_max98927: Split be_hw_params_fixup function

2020-06-29 Thread Łukasz Majczak
Hi Harsha, I've put the reason for this change in the commit message. I had to split be_hw_params_fixup function for different codecs because current approach (made for kernel 4.4) used in kernel 5.4, leads to crash while trying to get snd_soc_dpcm with container_of() macro in kabylake_ssp_fixup()

Re: [PATCH 03/20] misc: habanalabs: firmware_if: Add missing 'fw_name' and 'dst' entries to function header

2020-06-29 Thread Oded Gabbay
On Mon, Jun 29, 2020 at 5:04 PM Lee Jones wrote: > > Looks as though documentation for these function arguments have > been missing since the driver's inception last year. > > Fixes the following W=1 kernel build warnings: > > drivers/misc/habanalabs/firmware_if.c:26: warning: Function parameter

[PATCH v2 02/13] clk: qcom: clk-alpha-pll: remove unused/incorrect PLL_CAL_VAL

2020-06-29 Thread Jonathan Marek
0x44 isn't a register offset, it is the value that goes into CAL_L_VAL. Fixes: 548a909597d5 ("clk: qcom: clk-alpha-pll: Add support for Trion PLLs") Signed-off-by: Jonathan Marek --- drivers/clk/qcom/clk-alpha-pll.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/clk/qcom/clk-alpha

Re: drivers/gpu/drm/panel/panel-samsung-ld9040.c:240:12: warning: stack frame size of 8312 bytes in function 'ld9040_prepare'

2020-06-29 Thread Nick Desaulniers
On Sat, Jun 27, 2020 at 12:43 PM Vladimir Oltean wrote: > > Hi Nick, > > On Mon, 22 Jun 2020 at 19:50, Nick Desaulniers > wrote: > > > > > > I really don't get what's the problem here. The listing of > > > ld9040_prepare at the given commit and with the given .config is: > > > > I wrote a tool t

KASAN: use-after-free Read in tipc_nl_publ_dump (2)

2020-06-29 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:4e99b321 Merge tag 'nfs-for-5.8-2' of git://git.linux-nfs... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=122afae310 kernel config: https://syzkaller.appspot.com/x/.config?x=bf3aec367b9ab569 das

[PATCH 2/2] can: flexcan: add support for ISO CAN-FD

2020-06-29 Thread Michael Walle
Up until now, the controller used non-ISO CAN-FD mode, although it supports it. Add support for ISO mode, too. By default the hardware is in non-ISO mode and an enable bit has to be explicitly set. Signed-off-by: Michael Walle --- drivers/net/can/flexcan.c | 19 --- 1 file change

[PATCH v2 07/13] dt-bindings: clock: Introduce SM8250 QCOM Graphics clock bindings

2020-06-29 Thread Jonathan Marek
Add device tree bindings for graphics clock controller for Qualcomm Technology Inc's SM8250 SoCs. Signed-off-by: Jonathan Marek --- .../bindings/clock/qcom,sm8250-gpucc.yaml | 74 +++ include/dt-bindings/clock/qcom,gpucc-sm8250.h | 40 ++ 2 files changed, 114 insertio

Re: [PATCH 05/20] misc: habanalabs: irq: Repair kerneldoc formatting issues

2020-06-29 Thread Oded Gabbay
On Mon, Jun 29, 2020 at 5:04 PM Lee Jones wrote: > > W=1 kernel builds report a lack of descriptions for various > function arguments. In reality they are documented, but the > formatting was not as expected '@.*:'. Instead, '-'s were > used as separators. > > While we're here, the headers for f

Re: [PATCH 2/2] platform/chrome: cros_ec_typec: Add PM support

2020-06-29 Thread Prashant Malani
Hi Enric, Thanks for reviewing the patch. On Mon, Jun 29, 2020 at 3:51 AM Enric Balletbo i Serra wrote: > > Hi Prashant, > > Thank you for the patch. > > On 27/6/20 6:58, Prashant Malani wrote: > > Define basic suspend resume functions for cros-ec-typec. On suspend, we > > simply ensure that any

[PATCH v2 00/13] Enable GPU for SM8150 and SM8250

2020-06-29 Thread Jonathan Marek
This series adds the missing clock drivers and dts nodes to enable the GPU on both SM8150 and SM8250. Note an extra patch [1] is still required for GPU to work on SM8250. Changes in V2: * Added "clk: qcom: gcc: fix sm8150 GPU and NPU clocks" to fix the newly added SM8150 GPU gcc clocks * Added

[PATCH 0/2] can: flexcan: small fix and ISO CAN-FD support

2020-06-29 Thread Michael Walle
Hi, this patch series is based on: https://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next.git/log/?h=flexcan I took the liberty and ported and made some style changes to the ISO CAN-FD patch from Joakim. With these two patches applied for the branch above: Tested-by: Michael Walle

[PATCH v2 06/13] dt-bindings: clock: Introduce SM8150 QCOM Graphics clock bindings

2020-06-29 Thread Jonathan Marek
Add device tree bindings for graphics clock controller for Qualcomm Technology Inc's SM8150 SoCs. Signed-off-by: Jonathan Marek --- .../bindings/clock/qcom,sm8150-gpucc.yaml | 74 +++ include/dt-bindings/clock/qcom,gpucc-sm8150.h | 40 ++ 2 files changed, 114 insertio

Re: [PATCH 09/20] misc: habanalabs: gaudi: Remove ill placed asterisk from kerneldoc header

2020-06-29 Thread Oded Gabbay
On Mon, Jun 29, 2020 at 5:04 PM Lee Jones wrote: > > W=1 kernel builds report a lack of description of gaudi_set_asic_funcs()'s > 'hdev' argument. In reality it is documented, but the formatting > was not as expected '@.*:'. Instead, there was a misplaced asterisk > which was confusing the kerne

[PATCH v2 12/13] arm64: dts: qcom: add sm8150 GPU nodes

2020-06-29 Thread Jonathan Marek
This brings up the GPU. Tested on HDK855 by running vulkan CTS. Signed-off-by: Jonathan Marek --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 136 +++ 1 file changed, 136 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi i

Re: [PATCH 08/20] misc: habanalabs: goya: goya_coresight: Remove set but unused variable 'val'

2020-06-29 Thread Oded Gabbay
On Mon, Jun 29, 2020 at 5:04 PM Lee Jones wrote: > > No attempt to check the return value of RREG32() has been made > since the call was introduced a year ago. > > Fixes W=1 kernel build warning: > > drivers/misc/habanalabs/goya/goya_coresight.c: In function > ‘goya_debug_coresight’: > drivers/

Re: [PATCH v2 05/10] phy: un-inline devm_mdiobus_register()

2020-06-29 Thread Florian Fainelli
On 6/29/2020 5:03 AM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Functions should only be static inline if they're very short. This > devres helper is already over 10 lines and it will grow soon as we'll > be improving upon its approach. Pull it into mdio_devres.c. > > Signed-

[PATCH v2 01/13] clk: qcom: gcc: fix sm8150 GPU and NPU clocks

2020-06-29 Thread Jonathan Marek
Fix the parents and set BRANCH_HALT_SKIP. From the downstream driver it should be a 500us delay and not skip, however this matches what was done for other clocks that had 500us delay in downstream. Fixes: f73a4230d5bb ("clk: qcom: gcc: Add GPU and NPU clocks for SM8150") Signed-off-by: Jonathan M

[PATCH v2 10/13] clk: qcom: Add graphics clock controller driver for SM8250

2020-06-29 Thread Jonathan Marek
Add support for the graphics clock controller found on SM8250 based devices. This would allow graphics drivers to probe and control their clocks. This is copied from the downstream kernel, adapted for upstream. For example, GDSCs have been added. Signed-off-by: Jonathan Marek --- drivers/clk/qc

Hello

2020-06-29 Thread Mr. Albert
Hello, I have a proposal of great benefit to discourse with you, kindly respond back for more details. Thanks Mr. Albert

Re: [PATCH v9 0/3] phy: zynqmp: Add PHY driver for the Xilinx ZynqMP Gigabit Transceiver

2020-06-29 Thread Laurent Pinchart
Hi Vinod, On Mon, Jun 29, 2020 at 06:49:17PM +0530, Vinod Koul wrote: > On 29-06-20, 15:00, Laurent Pinchart wrote: > > Hello, > > > > The patch series adds a PHY driver for the Xilinx ZynqMP gigabit serial > > transceivers (PS-GTR). The PS-GTR is a set of 4 PHYs that can be used by > > the PCIe,

[PATCH 0/4] Fix a bunch of W=1 warnings in PWM

2020-06-29 Thread Lee Jones
Attempting to clean-up W=1 kernel builds, which are currently overwhelmingly riddled with niggly little warnings. Lee Jones (4): pwm: bcm-iproc: Remove impossible comparison when validating duty cycle pwm: bcm-kona: Remove impossible comparison when validating duty cycle pwm: mediatek: P

[PATCH v2 04/13] clk: qcom: clk-alpha-pll: use the right PCAL_DONE value for lucid pll

2020-06-29 Thread Jonathan Marek
Lucid PCAL_DONE is different from trion. Signed-off-by: Jonathan Marek --- drivers/clk/qcom/clk-alpha-pll.c | 28 ++-- drivers/clk/qcom/clk-alpha-pll.h | 2 +- 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/drivers/clk/qcom/clk-alpha-pll.c b/drivers/clk/

[PATCH 1/2] can: flexcan: use ctrlmode to enable CAN-FD

2020-06-29 Thread Michael Walle
The driver will enable CAN-FD mode according to the ctrlmode_supported, which will always be true, if the controller supports it. This is wrong. Use the correct ctrlmode instead. Signed-off-by: Michael Walle --- drivers/net/can/flexcan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) dif

[PATCH v2 05/13] clk: qcom: gcc: remove unnecessary vco_table from SM8150

2020-06-29 Thread Jonathan Marek
The fixed alpha pll ops only use it for clamping in round_rate, which is unnecessary. This is consistent with SM8250 GCC not using vco_table. Signed-off-by: Jonathan Marek --- drivers/clk/qcom/gcc-sm8150.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/clk/qcom/gcc-sm8150

Re: [PATCH 2/2] usb: mtu3: fix NULL pointer dereference

2020-06-29 Thread Markus Elfring
> Some pointers are dereferenced before successful checks. I suggest to reconsider and improve the change description. * Would a null pointer dereference be possible only with the variables “mep” and “mreq” in the implementation of the function “mtu3_gadget_dequeue”? * How do you think about t

[PATCH 5.7 019/265] rocker: fix incorrect error handling in dma_rings_init

2020-06-29 Thread Sasha Levin
From: Aditya Pakki [ Upstream commit 58d0c864e1a759a15c9df78f50ea5a5c32b3989e ] In rocker_dma_rings_init, the goto blocks in case of errors caused by the functions rocker_dma_cmd_ring_waits_alloc() and rocker_dma_ring_create() are incorrect. The patch fixes the order consistent with cleanup in r

Re: ARM: dts: motorola-mapphone-common: remove unneeded "simple-graph-card"

2020-06-29 Thread Tony Lindgren
* Sebastian Reichel [200619 11:37]: > Hi, > > On Fri, Jun 19, 2020 at 02:33:36PM +0900, Kuninori Morimoto wrote: > > From: Kuninori Morimoto > > > > Audio Graph Card is using "audio-graph-card" prefix instead of > > "simple-graph-card", and moreover "widgets / routing" doesn't need it. > > This

Re: [PATCH v4 1/3] ALSA: compress: document the compress audio state machine

2020-06-29 Thread Vinod Koul
On 29-06-20, 12:02, Amadeusz Sławiński wrote: > On 6/29/2020 11:34 AM, Vinod Koul wrote: > > > > Not sure, this is not in the version I posted, arrow is from setup -> > > prepare. See > https://lore.kernel.org/alsa-devel/20200629075002.11436-2-vk...@kernel.org/ > > > > I don't know how it got rever

[PATCH] kconfig: qconf: re-implement setSelected()

2020-06-29 Thread Mauro Carvalho Chehab
The default implementation for setSelected() at QTreeWidgetItem allows multiple items to be selected. Well, this should never be possible for the configItem lists. So, implement a function that will automatically clean any previous selection. This simplifies the logic somewhat, while making the s

Re: [PATCH v4 02/10] dmaengine: Actions: Add support for S700 DMA engine

2020-06-29 Thread Vinod Koul
On 29-06-20, 13:49, Amit Tomer wrote: > Hi Vinod, > > Thanks for having a look and providing the comments. > > > Is the .compatible documented, Documentation patch should come before > > the driver use patch in a series > > Yes, this new compatible string is documented in patch (05/10). > I woul

[PATCH 1/2] arm64: dts: hisilicon: Use phandles for overriding nodes in hi6220

2020-06-29 Thread Krzysztof Kozlowski
When overriding nodes, usage of phandles instead of full paths reduces possible mistakes (e.g. in duplicated unit address) and removes duplicate data. The UART nodes were extended via full path and phandle which makes it difficult to review and spot actual differences. No functional change (no d

Re: [PATCH v4] tty: serial: don't do termios for BTIF

2020-06-29 Thread Greg KH
On Mon, Jun 29, 2020 at 11:29:27AM +0300, Andy Shevchenko wrote: > On Sat, Jun 27, 2020 at 04:12:22PM +0200, Greg KH wrote: > > On Sat, Jun 20, 2020 at 03:59:14AM +0800, sean.w...@mediatek.com wrote: > > > From: Sean Wang > > > > > > Bluetooth Interface (BTIF) is designed dedicatedly for MediaTek

Re: [f2fs-dev] [PATCH v2] f2fs: avoid readahead race condition

2020-06-29 Thread Jaegeuk Kim
On 06/29, Eric Biggers wrote: > On Mon, Jun 29, 2020 at 08:03:23AM -0700, Jaegeuk Kim wrote: > > If two readahead threads having same offset enter in readpages, every read > > IOs are split and issued to the disk which giving lower bandwidth. > > > > This patch tries to avoid redundant readahead c

Re: [PATCH 6/6] mm: Add memalloc_nowait

2020-06-29 Thread Mike Rapoport
On June 29, 2020 3:52:31 PM GMT+03:00, Michal Hocko wrote: >On Mon 29-06-20 13:18:16, Matthew Wilcox wrote: >> On Mon, Jun 29, 2020 at 08:08:51AM +0300, Mike Rapoport wrote: >> > > @@ -886,8 +868,12 @@ static struct dm_buffer >*__alloc_buffer_wait_no_callback(struct dm_bufio_client >> > >

Re: [PATCH 0/3] phy: qcom-qmp: add V4 USB PHYs

2020-06-29 Thread Vinod Koul
On 23-05-20, 22:14, Jonathan Marek wrote: > Add support for sm8150 secondary USB PHY and both sm8250 USB PHYs. Applied all, thanks -- ~Vinod

Re: [PATCH 1/3 V2] ring-buffer: Have nested events still record running time stamp

2020-06-29 Thread Masami Hiramatsu
On Sun, 28 Jun 2020 22:52:25 -0400 Steven Rostedt wrote: > From: "Steven Rostedt (VMware)" > > Up until now, if an event is interrupted while it is recorded by an > interrupt, and that interrupt records events, the time of those events will > all be the same. This is because events only record

[PATCH 5.7 006/265] ibmveth: Fix max MTU limit

2020-06-29 Thread Sasha Levin
From: Thomas Falcon [ Upstream commit 5948378b26d89f8aa5eac37629dbd0616ce8d7a7 ] The max MTU limit defined for ibmveth is not accounting for virtual ethernet buffer overhead, which is twenty-two additional bytes set aside for the ethernet header and eight additional bytes of an opaque handle res

[PATCHv3 4/7] iommu: arm-smmu-impl: Remove unwanted extra blank lines

2020-06-29 Thread Sai Prakash Ranjan
There are few places in arm-smmu-impl where there are extra blank lines, remove them and while at it fix the checkpatch warning for space required before the open parenthesis. Signed-off-by: Sai Prakash Ranjan --- drivers/iommu/arm-smmu-impl.c | 6 +- 1 file changed, 1 insertion(+), 5 deleti

[PATCH 5.7 011/265] net: core: reduce recursion limit value

2020-06-29 Thread Sasha Levin
From: Taehee Yoo [ Upstream commit fb7861d14c8d7edac65b2fcb6e8031cb138457b2 ] In the current code, ->ndo_start_xmit() can be executed recursively only 10 times because of stack memory. But, in the case of the vxlan, 10 recursion limit value results in a stack overflow. In the current code, the n

[PATCH v3 2/2] iio: magnetometer: bmc150: Add proper compatible for BMM150

2020-06-29 Thread Krzysztof Kozlowski
The compatible for BMM150 should not have "_magn" suffix because, unlike two other Bosch devices, it is only a magnetometer. Signed-off-by: Krzysztof Kozlowski --- Changes since v2: 1. Add compatible only for bmm150. Changes since v1: 1. New patch. --- drivers/iio/magnetometer/bmc150_magn_i2c

Re: [PATCH v4 1/3] ALSA: compress: document the compress audio state machine

2020-06-29 Thread Vinod Koul
Hi Amadeusz, On 29-06-20, 11:05, Amadeusz Sławiński wrote: > > > On 6/29/2020 9:50 AM, Vinod Koul wrote: > > So we had some discussions of the stream states, so I thought it is a > > good idea to document the state transitions, so add it documentation > > > > Reviewed-by: Charles Keepax > > Si

[PATCH v5 3/3] ALSA: compress: fix partial_drain completion state

2020-06-29 Thread Vinod Koul
On partial_drain completion we should be in SNDRV_PCM_STATE_RUNNING state, so set that for partially draining streams in snd_compr_drain_notify() and use a flag for partially draining streams While at it, add locks for stream state change in snd_compr_drain_notify() as well. Fixes: f44f2a5417b2 (

[PATCH 1/4] phy: core: fix code style in devm_of_phy_provider_unregister

2020-06-29 Thread Vinod Koul
Documentation/process/coding-style.rst says: "functions: they have the opening brace at the beginning of the next line" devm_of_phy_provider_unregister() function has opening brace at same line, so fix it up. Signed-off-by: Vinod Koul --- drivers/phy/phy-core.c | 3 ++- 1 file changed, 2 insert

[PATCH 5.7 044/265] net: macb: call pm_runtime_put_sync on failure path

2020-06-29 Thread Sasha Levin
From: Claudiu Beznea [ Upstream commit 0eaf228d574bd82a9aed73e3953bfb81721f4227 ] Call pm_runtime_put_sync() on failure path of at91ether_open. Fixes: e6a41c23df0d ("net: macb: ensure interface is not suspended on at91rm9200") Signed-off-by: Claudiu Beznea Signed-off-by: David S. Miller Sign

Re: [PATCH 0/4] Mac IOP driver fixes

2020-06-29 Thread Geert Uytterhoeven
On Sun, May 31, 2020 at 10:41 AM Geert Uytterhoeven wrote: > On Sun, May 31, 2020 at 1:16 AM Finn Thain wrote: > > This patch series has several bug fixes for the IOP driver and some > > improvements to the debug level log messages. > > Thanks for your series! > > > Geert, please consider pushing

[PATCH 5.7 003/265] enetc: Fix tx rings bitmap iteration range, irq handling

2020-06-29 Thread Sasha Levin
From: Claudiu Manoil [ Upstream commit 0574e2000fc3103cbc69ba82ec1175ce171fdf5e ] The rings bitmap of an interrupt vector encodes which of the device's rings were assigned to that interrupt vector. Hence the iteration range of the tx rings bitmap (for_each_set_bit()) should be the total number o

Re: [PATCH 1/2] m68k: nommu: register start of the memory with memblock

2020-06-29 Thread Mike Rapoport
Hi Greg, On Mon, Jun 29, 2020 at 11:10:16AM +1000, Greg Ungerer wrote: > Hi Mike, > > On 17/6/20 10:33 pm, Greg Ungerer wrote: > > Hi Mike, > > > > On 17/6/20 4:53 pm, Mike Rapoport wrote: > > > From: Mike Rapoport > > > > > > The m68k nommu setup code didn't register the beginning of the phys

Re: [PATCH v8 0/3] phy: zynqmp: Add PHY driver for the Xilinx ZynqMP Gigabit Transceiver

2020-06-29 Thread Vinod Koul
On 13-05-20, 20:22, Laurent Pinchart wrote: > Hello, > > The patch series adds a PHY driver for the Xilinx ZynqMP gigabit serial > transceivers (PS-GTR). The PS-GTR is a set of 4 PHYs that can be used by > the PCIe, USB 3.0, DisplayPort, SATA and Ethernet controllers that are > part of the Serial

Re: [PATCH 1/2] usb: mtu3: disable USB2 LPM

2020-06-29 Thread Greg Kroah-Hartman
On Mon, Jun 29, 2020 at 09:30:58AM +0200, Markus Elfring wrote: > > A SuperSpeed device shall include the USB 2.0 extension descriptor > > and shall support LPM when operating in USB 2.0 HS mode(see usb3.2 > > spec9.6.2.1). But we always don't support it, so disable it by > > default, otherwise dev

[PATCH net-next 3/3] net: ipa: kill IPA_MEM_UC_OFFSET

2020-06-29 Thread Alex Elder
The microcontroller shared memory area is at the beginning of the IPA resident memory. IPA_MEM_UC_OFFSET was defined as the offset within that region where it's found, but it's 0, and it's never actually used. Just get rid of the definition, and move some of the description it had to be above the

[PATCH v4 1/3] ALSA: compress: document the compress audio state machine

2020-06-29 Thread Vinod Koul
So we had some discussions of the stream states, so I thought it is a good idea to document the state transitions, so add it documentation Reviewed-by: Charles Keepax Signed-off-by: Vinod Koul --- .../sound/designs/compress-offload.rst| 51 +++ 1 file changed, 51 inserti

[PATCH net-next 2/3] net: ipa: standarize more GSI error messages

2020-06-29 Thread Alex Elder
Make minor updates to error messages reported in "gsi.c": - Use local variables to reduce multi-line function calls - Don't use parentheses in messages - Do some slight rewording in a few cases Signed-off-by: Alex Elder --- drivers/net/ipa/gsi.c | 57 ++-

[PATCH 5.7 015/265] net: Fix the arp error in some cases

2020-06-29 Thread Sasha Levin
From: guodeqing [ Upstream commit 5eea3a63ff4aba6a26002e657a6d21934b7e2b96 ] ie., $ ifconfig eth0 6.6.6.6 netmask 255.255.255.0 $ ip rule add from 6.6.6.6 table $ ip route add 9.9.9.9 via 6.6.6.6 $ ping -I 6.6.6.6 9.9.9.9 PING 9.9.9.9 (9.9.9.9) from 6.6.6.6 : 56(84) bytes of data. 3 pac

[PATCH net-next 0/3] net: ipa: small improvements

2020-06-29 Thread Alex Elder
This series contains two patches that improve the error output that's reported when an error occurs while changing the state of a GSI channel or event ring. The first ensures all such error conditions report an error, and the second simplifies the messages a little and ensures they are all consist

[PATCH net-next 1/3] net: ipa: always report GSI state errors

2020-06-29 Thread Alex Elder
We check the state of an event ring or channel both before and after any GSI command issued that will change that state. In most--but not all--cases, if the state is something different than expected we report an error message. Add error messages where missing, so that all unexpected states provi

[PATCH 1/3] ARM: dts: alpine: Align GIC nodename with dtschema

2020-06-29 Thread Krzysztof Kozlowski
Fix dtschema validator warnings like: gic@fb001000: $nodename:0: 'gic@fb001000' does not match '^interrupt-controller(@[0-9a-f,]+)*$' Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/alpine.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot

Re: [PATCH] doc: add link to sparse's home page/internal docs

2020-06-29 Thread Mike Rapoport
On Sun, Jun 28, 2020 at 11:50:34AM +0200, Luc Van Oostenryck wrote: > Sparse's home page used to be a wiki (sparse.wiki.kernel.org) > but this wiki only contained a short intro and the release notes. > But nowadays, sparse's main page is sparse.docs.kernel.org, > which contains all what was in the

[PATCH 5.7 033/265] net: phylink: ensure manual pause mode configuration takes effect

2020-06-29 Thread Sasha Levin
From: Russell King [ Upstream commit 2e919bc446faee429ac862a6cdb5e40017051f6b ] We have been relying on link events and mac_config() when the manual pause modes are changed. With recent developments, such as moving the programming of link state to mac_link_up(), this no longer works. To ensure

[PATCH v2 5/5] kconfig: qconf: navigate menus on hyperlinks

2020-06-29 Thread Mauro Carvalho Chehab
Instead of just changing the helper window to show a dependency, also navigate to it at the config and menu widgets. Signed-off-by: Mauro Carvalho Chehab --- scripts/kconfig/qconf.cc | 24 +--- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git a/scripts/kconfig/qco

[PATCH] mmc: sdio: Move SDIO IDs from rsi_sdio driver to common include file

2020-06-29 Thread Pali Rohár
Define appropriate macro names for consistency with other macros. Signed-off-by: Pali Rohár --- Hello Ulf! I forgot to include change for rsi driver into patch series: "mmc: sdio: Move SDIO IDs from drivers to common include file" https://lore.kernel.org/linux-mmc/20200522144412.19712-1-p...@kern

Re: [PATCH v6 5/6] media: venus: core: Add support for opp tables/perf voting

2020-06-29 Thread Rajendra Nayak
On 6/18/2020 8:24 PM, Stanimir Varbanov wrote: Hi Rajendra, On 6/15/20 3:02 PM, Rajendra Nayak wrote: Add support to add OPP tables and perf voting on the OPP powerdomain. This is needed so venus votes on the corresponding performance state for the OPP powerdomain along with setting the core

[PATCH v2 0/5] Fix split view search and debug info navigation

2020-06-29 Thread Mauro Carvalho Chehab
This series fixes some issues with search while on split view and fix the broken hyperlink navigation. The first patches restore the pre-Qt5 conversion behavior. The last one implements navigation on a different way. I opted to keep this one in separate, as this one is a new feature. Mauro Carval

[PATCH 5.7 000/265] 5.7.7-rc1 review

2020-06-29 Thread Sasha Levin
This is the start of the stable review cycle for the 5.7.7 release. There are 265 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Wed 01 Jul 2020 03:14:48 PM UTC. Anything re

[PATCH 5.7 028/265] bnxt_en: Store the running firmware version code.

2020-06-29 Thread Sasha Levin
From: Michael Chan [ Upstream commit d0ad2ea2bc185835f8a749302ad07b70528d2a09 ] We currently only store the firmware version as a string for ethtool and devlink info. Store it also as a version code. The next 2 patches will need to check the firmware major version to determine some workarounds

[PATCH 5.7 016/265] net: increment xmit_recursion level in dev_direct_xmit()

2020-06-29 Thread Sasha Levin
From: Eric Dumazet [ Upstream commit 0ad6f6e767ec2f613418cbc7ebe5ec4c35af540c ] Back in commit f60e5990d9c1 ("ipv6: protect skb->sk accesses from recursive dereference inside the stack") Hannes added code so that IPv6 stack would not trust skb->sk for typical cases where packet goes through 'sta

[PATCH 2/2] arm64: dts: hisilicon: Align UART nodename with dtschema

2020-06-29 Thread Krzysztof Kozlowski
Fix dtschema validator warnings like: uart@f8015000: $nodename:0: 'uart@f8015000' does not match '^serial(@[0-9a-f,]+)*$' Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm6

[PATCH v2 1/5] kconfig: qconf: cleanup includes

2020-06-29 Thread Mauro Carvalho Chehab
The usage of c-like include is deprecated on modern Qt versions. Use the c++ style includes. While here, remove uneeded and redundant ones, sorting them on alphabetic order. Signed-off-by: Mauro Carvalho Chehab --- scripts/kconfig/qconf.cc | 27 +-- scripts/kconfig/qconf

[PATCH v2 3/5] kconfig: qconf: make search fully work again on split mode

2020-06-29 Thread Mauro Carvalho Chehab
When the search dialog box finds symbols/menus that match the search criteria, it presents all results at the window. Clicking on a search result should make qconf to navigate to the selected item. This works on singleMode and on fullMode, but on splitMode, the navigation is broken. This was part

Re: [PATCH] dt-bindings: phy: qcom: Fix missing 'ranges' and example addresses

2020-06-29 Thread Vinod Koul
On 11-06-20, 09:18, Rob Herring wrote: > The QCom QMP PHY bindings have child nodes with translatable (MMIO) > addresses, so a 'ranges' property is required in the parent node. > Additionally, the examples default to 1 address and size cell, so let's > fix that, too. Acked-By: Vinod Koul -- ~Vi

[PATCH 5.7 005/265] geneve: allow changing DF behavior after creation

2020-06-29 Thread Sasha Levin
From: Sabrina Dubroca [ Upstream commit 56c09de347e40804fc8dad155272fb9609e0a97b ] Currently, trying to change the DF parameter of a geneve device does nothing: # ip -d link show geneve1 14: geneve1: link/ether geneve id 1 remote 10.0.0.1 ttl auto df set dstport 6081

Re: [PATCH v3 0/2] phy: qcom-snps: Add runtime suspend and resume handlers

2020-06-29 Thread Vinod Koul
On 25-06-20, 12:54, Wesley Cheng wrote: > Changes in v3: > - Fixed strict checkpatch warnings due to alignment > - Remove debug artifacts from prints > - Split the set mode callback addition to another patch > - Removed suspended parameter > > Changes in v2: > - Addressed checkpatch alignment

[PATCH v5 2/3] ALSA: compress: document the compress gapless audio state machine

2020-06-29 Thread Vinod Koul
Also documented the galpess transitions. Please note that these are not really stream states, but show how the stream steps in gapless mode Signed-off-by: Vinod Koul --- .../sound/designs/compress-offload.rst| 32 +++ 1 file changed, 32 insertions(+) diff --git a/Documen

[PATCH v4 6/9] bus: mhi: core: Introduce helper function to check device state

2020-06-29 Thread Bhaumik Bhatt
Introduce a helper function to determine whether the device is in a powered ON state and resides in one of the active MHI states. This will allow for some use cases where access can be pre-determined. Signed-off-by: Bhaumik Bhatt Reviewed-by: Jeffrey Hugo --- drivers/bus/mhi/core/internal.h | 5

[PATCH v2 2/5] kconfig: qconf: ensure that only one item will be highlighted

2020-06-29 Thread Mauro Carvalho Chehab
The logic which is used by search to show a new link lacks support for un-selecting a previously-selected item. Signed-off-by: Mauro Carvalho Chehab --- scripts/kconfig/qconf.cc | 7 +++ 1 file changed, 7 insertions(+) diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index 0

Re: [PATCH v4 02/10] dmaengine: Actions: Add support for S700 DMA engine

2020-06-29 Thread Vinod Koul
On 29-06-20, 12:19, André Przywara wrote: > On 29/06/2020 10:54, Vinod Koul wrote: > >> What newer SoCs? I don't think we should try to guess the future here. > > > > In a patch for adding new SoC, quite ironical I would say! > > S700 is not a new SoC, it's just this driver didn't support it yet

[PATCH] drm: sun4i: hdmi: Remove extra HPD polling

2020-06-29 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The HPD sense mechanism in Allwinner's old HDMI encoder hardware is more or less an input-only GPIO. Other GPIO-based HPD implementations directly return the current state, instead of polling for a specific state and returning the other if that times out. Remove the I/O pollin

[PATCH v2 4/5] kconfig: qconf: make debug links work again

2020-06-29 Thread Mauro Carvalho Chehab
The Qt5 conversion broke support for debug info links. Restore the behaviour added by changeset ab45d190fd4a ("kconfig: create links in info window"). The original approach were to pass a pointer for a data struct via an . That doesn't sound a good idea, as, if something gets wrong, the app could

[PATCHv3 0/7] System Cache support for GPU and required SMMU support

2020-06-29 Thread Sai Prakash Ranjan
Some hardware variants contain a system cache or the last level cache(llc). This cache is typically a large block which is shared by multiple clients on the SOC. GPU uses the system cache to cache both the GPU data buffers(like textures) as well the SMMU pagetables. This helps with improved render

[PATCH v4 2/5] scsi: ufs: Add UFS-feature layer

2020-06-29 Thread Daejun Park
This patch is adding UFS feature layer to UFS core driver. UFS Driver data structure (struct ufs_hba) │ ┌--┐ │ UFS feature │ <-- HPB module │layer │ <-- other extended feature module └--┘ Each extended UFS-Feature module has a bus of ufs-ext feature type. T

[PATCH 5.7 025/265] ip6_gre: fix use-after-free in ip6gre_tunnel_lookup()

2020-06-29 Thread Sasha Levin
From: Taehee Yoo [ Upstream commit dafabb6590cb15f300b77c095d50312e2c7c8e0f ] In the datapath, the ip6gre_tunnel_lookup() is used and it internally uses fallback tunnel device pointer, which is fb_tunnel_dev. This pointer variable should be set to NULL when a fb interface is deleted. But there i

Re: WARNING in tracepoint_add_func

2020-06-29 Thread Steven Rostedt
Cc'd Frederic and Peter. -- Steve On Sun, 28 Jun 2020 04:29:17 -0700 syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:7a64135f libbpf: Adjust SEC short cut for expected attach .. > git tree: bpf > console output: https://syzkaller.appspot.com/x/log.

[PATCH 5.7 014/265] net: fix memleak in register_netdevice()

2020-06-29 Thread Sasha Levin
From: Yang Yingliang [ Upstream commit 814152a89ed52c722ab92e9fbabcac3cb8a39245 ] I got a memleak report when doing some fuzz test: unreferenced object 0x888112584000 (size 13599): comm "ip", pid 3048, jiffies 4294911734 (age 343.491s) hex dump (first 32 bytes): 74 61 70 30 00 00 00

Re: [PATCH/RFC v4 2/4] regulator: fixed: add regulator_ops members for suspend/resume

2020-06-29 Thread Mark Brown
On Mon, Jun 29, 2020 at 02:42:26AM +, Yoshihiro Shimoda wrote: > > From: Mark Brown, Sent: Friday, June 26, 2020 11:39 PM Copying in Sudeep for the feedback on firmware interfaces. > > According to the changelog this is all about reflecting changes in the > > system state done by firmware but

Re: [PATCH v2 04/17] ARM: Allow IPIs to be handled as normal interrupts

2020-06-29 Thread Marc Zyngier
On 2020-06-25 19:25, Valentin Schneider wrote: On 24/06/20 20:57, Marc Zyngier wrote: @@ -696,9 +696,76 @@ void handle_IPI(int ipinr, struct pt_regs *regs) if ((unsigned)ipinr < NR_IPI) trace_ipi_exit_rcuidle(ipi_types[ipinr]); +} + +/* Legacy version, should go away once al

[PATCH 5.7 039/265] net: macb: undo operations in case of failure

2020-06-29 Thread Sasha Levin
From: Claudiu Beznea [ Upstream commit faa620876b01d6744f1599e279042bb8149247ab ] Undo previously done operation in case macb_phylink_connect() fails. Since macb_reset_hw() is the 1st undo operation the napi_exit label was renamed to reset_hw. Fixes: 7897b071ac3b ("net: macb: convert to phylink

Re: [PATCH v4 02/10] dmaengine: Actions: Add support for S700 DMA engine

2020-06-29 Thread Vinod Koul
On 24-06-20, 10:35, André Przywara wrote: > On 24/06/2020 07:15, Vinod Koul wrote: > > On 09-06-20, 15:47, Amit Singh Tomar wrote: > > > >> @@ -372,6 +383,7 @@ static inline int owl_dma_cfg_lli(struct owl_dma_vchan > >> *vchan, > >> struct dma_slave_config *sconfig, >

Re: [PATCH v4 05/17] ctype: Work around Clang -mbranch-protection=none bug

2020-06-29 Thread Ard Biesheuvel
On Mon, 29 Jun 2020 at 17:06, Kees Cook wrote: > > On Mon, Jun 29, 2020 at 10:15:47AM +0200, Ard Biesheuvel wrote: > > On Mon, 29 Jun 2020 at 08:18, Kees Cook wrote: > > > > > > In preparation for building efi/libstub with -mbranch-protection=none > > > (EFI does not support branch protection fea

Re: [RFC PATCH] tick/sched: update full_nohz status after SCHED dep is cleared

2020-06-29 Thread Frederic Weisbecker
On Mon, Jun 29, 2020 at 02:36:51PM +0200, Juri Lelli wrote: > Hi, > > On 16/06/20 22:46, Frederic Weisbecker wrote: > > On Tue, Jun 16, 2020 at 08:57:57AM +0200, Juri Lelli wrote: > > > Sure. Let me know if you find anything. > > > > I managed to reproduce. With "threadirqs" and without > > "tsc=

[PATCH 5.7 017/265] net: usb: ax88179_178a: fix packet alignment padding

2020-06-29 Thread Sasha Levin
From: Jeremy Kerr [ Upstream commit e869e7a17798d85829fa7d4f9bbe1eebd4b2d3f6 ] Using a AX88179 device (0b95:1790), I see two bytes of appended data on every RX packet. For example, this 48-byte ping, using 0xff as a payload byte: 04:20:22.528472 IP 192.168.1.1 > 192.168.1.2: ICMP echo request

Re: [PATCH v2 0/5] Fix split view search and debug info navigation

2020-06-29 Thread Mauro Carvalho Chehab
Em Mon, 29 Jun 2020 15:23:49 +0300 Maxim Levitsky escreveu: > On Mon, 2020-06-29 at 11:35 +0200, Mauro Carvalho Chehab wrote: > > This series fixes some issues with search while on split view and fix the > > broken hyperlink navigation. > > > > The first patches restore the pre-Qt5 conversion be

Re: [PATCH] scsi: sd: add runtime pm to open / release

2020-06-29 Thread Alan Stern
On Mon, Jun 29, 2020 at 09:56:49AM -0700, Bart Van Assche wrote: > On 2020-06-29 09:15, Alan Stern wrote: > > Aha. Looking at this more closely, it's apparent that the code in > > blk-core.c contains a logic bug: It assumes that if the BLK_MQ_REQ_PREEMPT > > flag is set then the request can be i

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