Re: [git pull] drm next pull for 5.10-rc1

2020-11-09 Thread Lyude Paul
whoops, you can ignore this actually - I got this mixed up with an Intel issue I was looking at, this is actually a nouveau issue and you guys don't need to look at this :) Kirill-I'll get to this asap, but I've got some other stuff on my plate to go through first. Could you open up a bug on gitla

Re: [PATCH 5.9 000/133] 5.9.7-rc1 review

2020-11-09 Thread Jeffrin Jose T
On Mon, 2020-11-09 at 13:54 +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.9.7 release. > There are 133 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. >

[PATCH 3/3] lib: lzo: Improves decompression performance

2020-11-09 Thread zengzhaoxiu
From: Zhaoxiu Zeng This patch does: 1. Cleanup code 2. Use the copy_from_back to copy the matched bytes from the back output buffer I testd on 5.8.18-300.fc33.x86_64. The performance of the lzo1x_decompress_safe function is improved by about 5%. If no CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS featu

[PATCH net-next v1] net: phy: spi_ks8995: Do not overwrite SPI mode flags

2020-11-09 Thread Sven Van Asbroeck
From: Sven Van Asbroeck This driver makes sure the underlying SPI bus is set to "mode 0" by assigning SPI_MODE_0 to spi->mode. This overwrites all other SPI mode flags. In some circumstances, this can break the underlying SPI bus driver. For example, if SPI_CS_HIGH is set on the SPI bus, the dri

jitterentropy: `jent_mod_init()` takes 17 ms

2020-11-09 Thread Paul Menzel
Dear Linux folks, By mistake I built `XFRM_ESP` into the Linux kernel, resulting in CONFIG_CRYPTO_SEQIV=y CONFIG_CRYPTO_ECHAINIV=y and also the Jitterentropy RNG to be built in. CRYPTO_JITTERENTROPY=y So, on the Asus F2A85-M PRO starting Linux 4.10-rc3 with `initcall_debug`, the

Re: WARNING in usb_composite_setup_continue

2020-11-09 Thread Kyungtae Kim
We report a bug (in linux-5.8.13) found by FuzzUSB (a modified version of syzkaller). (corrected analysis) This bug happens while continuing a delayed setup message in mass storage gadget. To be specific, composite_setup() sets FSG_STATE_CONFIG_CHANGE via fsg_set_alt() (line 1793), and followed by

Re: [PATCH 0/8] simplify ep_poll

2020-11-09 Thread Soheil Hassas Yeganeh
On Mon, Nov 9, 2020 at 2:22 PM Davidlohr Bueso wrote: > > On Sat, 07 Nov 2020, Soheil Hassas Yeganeh wrote: > >FWIW, I also stress-tested the patch series applied on top of > >linux-next/master for a couple of hours. > > Out of curiosity, what exactly did you use for testing? That's a good questi

Re: [PATCH v2 net] net: udp: fix Fast/frag0 UDP GRO

2020-11-09 Thread Eric Dumazet
On 11/9/20 7:26 PM, Alexander Lobakin wrote: > From: Eric Dumazet > Date: Mon, 9 Nov 2020 18:37:36 +0100 > >> On 11/9/20 5:56 PM, Alexander Lobakin wrote: >>> While testing UDP GSO fraglists forwarding through driver that uses >>> Fast GRO (via napi_gro_frags()), I was observing lots of out-of

[PATCH 2/3] lib: zlib_inflate: improves decompression performance

2020-11-09 Thread zengzhaoxiu
From: Zhaoxiu Zeng This patch does: 1. Cleanup code and reduce branches 2. Use copy_from_back to copy the matched bytes from the back output buffer I tested on 5.8.18-300.fc33.x86_64. The performance of function zlib_inflate is improved by about 7%. If the CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS

Re: [PATCH 4/4] arm64: cpu_errata: Apply Erratum 845719 to KRYO2XX Silver

2020-11-09 Thread Konrad Dybcio
> From what I see from the docs, this is the only version used > in MSM8998(silver cores are based on Cortex A53) and it maps > to r0p4. @Konrad, can you include (rap4 => r0p4) in comment. Hi, Thanks for looking into it. Could you perhaps check if it's also the case on sdm630/636/660? Konrad

[PATCH] PCI: dwc: Add support to configure for ECRC

2020-11-09 Thread Vidya Sagar
DesignWare core has a TLP digest (TD) override bit in one of the control registers of ATU. This bit also needs to be programmed for proper ECRC functionality. This is currently identified as an issue with DesignWare IP version 4.90a. Signed-off-by: Vidya Sagar --- drivers/pci/controller/dwc/pcie

Re: [PATCH 1/2] xfs: show the dax option in mount options.

2020-11-09 Thread Darrick J. Wong
On Mon, Nov 09, 2020 at 08:10:08PM +0100, Michal Suchanek wrote: > xfs accepts both dax and dax_enum but shows only dax_enum. Show both > options. > > Fixes: 8d6c3446ec23 ("fs/xfs: Make DAX mount option a tri-state") > Signed-off-by: Michal Suchanek > --- > fs/xfs/xfs_super.c | 2 +- > 1 file ch

Re: [PATCH 1/2] xfs: show the dax option in mount options.

2020-11-09 Thread Eric Sandeen
On 11/9/20 1:10 PM, Michal Suchanek wrote: > xfs accepts both dax and dax_enum but shows only dax_enum. Show both > options. Should probably indicate why this is needed in the changelog. > Fixes: 8d6c3446ec23 ("fs/xfs: Make DAX mount option a tri-state") > Signed-off-by: Michal Suchanek This se

Re: [PATCH 4.19 00/71] 4.19.156-rc1 review

2020-11-09 Thread Pavel Machek
Hi! > This is the start of the stable review cycle for the 4.19.156 release. > There are 71 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, 11 Nov 2020 12:50:04 +

[PATCH v7 4/4] arch, mm: make kernel_page_present() always available

2020-11-09 Thread Mike Rapoport
From: Mike Rapoport For architectures that enable ARCH_HAS_SET_MEMORY having the ability to verify that a page is mapped in the kernel direct map can be useful regardless of hibernation. Add RISC-V implementation of kernel_page_present(), update its forward declarations and stubs to be a part of

[PATCH v7 3/4] arch, mm: restore dependency of __kernel_map_pages() on DEBUG_PAGEALLOC

2020-11-09 Thread Mike Rapoport
From: Mike Rapoport The design of DEBUG_PAGEALLOC presumes that __kernel_map_pages() must never fail. With this assumption is wouldn't be safe to allow general usage of this function. Moreover, some architectures that implement __kernel_map_pages() have this function guarded by #ifdef DEBUG_PAGE

Re: [PATCH 0/8] simplify ep_poll

2020-11-09 Thread Davidlohr Bueso
On Sat, 07 Nov 2020, Soheil Hassas Yeganeh wrote: FWIW, I also stress-tested the patch series applied on top of linux-next/master for a couple of hours. Out of curiosity, what exactly did you use for testing? Thanks, Davidlohr

[PATCH v7 1/4] mm: introduce debug_pagealloc_{map,unmap}_pages() helpers

2020-11-09 Thread Mike Rapoport
From: Mike Rapoport When CONFIG_DEBUG_PAGEALLOC is enabled, it unmaps pages from the kernel direct mapping after free_pages(). The pages than need to be mapped back before they could be used. Theese mapping operations use __kernel_map_pages() guarded with with debug_pagealloc_enabled(). The only

[PATCH v7 2/4] PM: hibernate: make direct map manipulations more explicit

2020-11-09 Thread Mike Rapoport
From: Mike Rapoport When DEBUG_PAGEALLOC or ARCH_HAS_SET_DIRECT_MAP is enabled a page may be not present in the direct map and has to be explicitly mapped before it could be copied. Introduce hibernate_map_page() and hibernation_unmap_page() that will explicitly use set_direct_map_{default,inval

[PATCH v7 0/4] arch, mm: improve robustness of direct map manipulation

2020-11-09 Thread Mike Rapoport
From: Mike Rapoport Hi, During recent discussion about KVM protected memory, David raised a concern about usage of __kernel_map_pages() outside of DEBUG_PAGEALLOC scope [1]. Indeed, for architectures that define CONFIG_ARCH_HAS_SET_DIRECT_MAP it is possible that __kernel_map_pages() would fail,

[PATCHv2] reset: socfpga: add error handling and release mem-region

2020-11-09 Thread Dinh Nguyen
In case of an error, call release_mem_region when an error happens during allocation of resources. Also add error handling for the case that reset_controller_register fails. Reported-by: kernel test robot Reported-by: Dan Carpenter Signed-off-by: Dinh Nguyen --- v2: return ret value --- driver

null pointer deref in kvm

2020-11-09 Thread Jamie Heilman
Everytime I try to start a guest in 5.10 I get something like the following: kern.alert: BUG: kernel NULL pointer dereference, address: 00a4 kern.alert: #PF: supervisor read access in kernel mode kern.alert: #PF: error_code(0x) - not-present page kern.info: PGD 0 P4D 0 kern.warn:

[PATCH 1/3] lib: Introduce copy_from_back()

2020-11-09 Thread zengzhaoxiu
From: Zhaoxiu Zeng Copying the matched bytes from the back output buffer is the key code of the LZ decompression algorithm which used by zlib, lzo, etc. This patch introduce the optimized copy_from_back function. The function will be used by later patches in this series. Optimization for a spec

Re: [PATCH] arm64: dts: qcom: sc7180-trogdor: Fixup modem memory region

2020-11-09 Thread Evan Green
On Tue, Oct 20, 2020 at 11:37 AM Evan Green wrote: > > On Thu, Oct 15, 2020 at 11:28 AM Sibi Sankar wrote: > > > > The modem firmware memory requirements vary between 32M/140M on > > no-lte/lte skus respectively, so fixup the modem memory region > > to reflect the requirements. > > > > Signed-off

[GIT PULL] nfsd 5.10 fixes

2020-11-09 Thread J. Bruce Fields
Please pull nfsd fixes for 5.10 from git://linux-nfs.org/~bfields/linux.git tags/nfsd-5.10-1 This is mainly server-to-server copy and fallout from Chuck's 5.10 rpc refactoring. --b. Chuck Lever (3): NFSD: NFSv3 PATHCONF Reply is improperly formed SUNRPC: Fix general protection fau

[PATCH 2/2] ext4: show the dax option in mount options

2020-11-09 Thread Michal Suchanek
ext4 accepts both dax and dax_always option but shows only dax_always. Show both options. Fixes: 9cb20f94afcd ("fs/ext4: Make DAX mount option a tri-state") Signed-off-by: Michal Suchanek --- fs/ext4/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ext4/super.c b/fs

Re: [PATCH 2/3] arm: introduce IRQ stacks

2020-11-09 Thread Arnd Bergmann
On Mon, Nov 9, 2020 at 3:45 PM Tony Lindgren wrote: > > > > As discussed on IRC, I think it can still be done in one of these > > ways, though admittedly none of them are perfect: > > > > a) add runtime patching for __my_cpu_offset() when > > CONFIG_SMP_ON_UP is set. This adds complexity but avo

[PATCH 1/2] xfs: show the dax option in mount options.

2020-11-09 Thread Michal Suchanek
xfs accepts both dax and dax_enum but shows only dax_enum. Show both options. Fixes: 8d6c3446ec23 ("fs/xfs: Make DAX mount option a tri-state") Signed-off-by: Michal Suchanek --- fs/xfs/xfs_super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xf

Re: [PATCH v2 1/4] dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID

2020-11-09 Thread Rob Herring
On Thu, Nov 05, 2020 at 03:26:26PM +0800, Alice Guo wrote: > Add DT Binding doc for the Unique ID of i.MX 8M series. > > Signed-off-by: Alice Guo > --- > .../devicetree/bindings/arm/fsl.yaml | 33 +++ > 1 file changed, 33 insertions(+) > > diff --git a/Documentation/dev

[PATCH 0/2] Tristate moount option comatibility fixup

2020-11-09 Thread Michal Suchanek
Hello, after the tristate dax option change some applications fail to detect pmem devices because the dax option no longer shows in mtab when device is mounted with -o dax. At first it might seem stupid to detect pmem by looking at the mount options. However, if the application actually wants a

Re: [git pull] drm next pull for 5.10-rc1

2020-11-09 Thread Ville Syrjälä
On Mon, Nov 09, 2020 at 12:50:48PM -0500, Lyude Paul wrote: > Looking at the patches you sent is on my TODO list for this week at least as a > priority, although I really would have hoped that someone from Intel would > have looked by now since it's a regression on their end. What regression are y

Re: [PATCH v2 net] net: udp: fix Fast/frag0 UDP GRO

2020-11-09 Thread Willem de Bruijn
On Mon, Nov 9, 2020 at 1:54 PM Eric Dumazet wrote: > > > > On 11/9/20 7:28 PM, Willem de Bruijn wrote: > > On Mon, Nov 9, 2020 at 12:37 PM Eric Dumazet wrote: > >> > >> > >> > >> On 11/9/20 5:56 PM, Alexander Lobakin wrote: > >>> While testing UDP GSO fraglists forwarding through driver that uses

Re: [PATCH v3 0/2] security: add fault injection to LSM hooks

2020-11-09 Thread Aleksandr Nogikh
On Thu, 29 Oct 2020 at 21:35, Aleksandr Nogikh wrote: > > From: Aleksandr Nogikh > > Fault injection > capabilities[Documentation/fault-injection/fault-injection.rst] > facilitate testing of the stability of the Linux kernel by providing > means to force a number of kernel interfaces to return e

Re: [PATCH v8 3/6] software node: implement reference properties

2020-11-09 Thread Andy Shevchenko
On Mon, Nov 09, 2020 at 10:53:05AM -0800, Dmitry Torokhov wrote: > On Mon, Nov 09, 2020 at 07:18:37PM +0100, Lukasz Stelmach wrote: > > It was <2020-11-09 pon 19:24>, when Andy Shevchenko wrote: ... > > Probably I have missed something and I will be greatful, if you tell me > > where I can find m

Re: [PATCH v5] cper, apei, mce: Pass x86 CPER through the MCA handling chain

2020-11-09 Thread Smita Koralahalli Channabasappa
On 11/8/20 7:18 PM, Punit Agrawal wrote: Borislav Petkov writes: On Fri, Nov 06, 2020 at 02:36:46PM +0900, Punit Agrawal wrote: diff --git a/drivers/firmware/efi/cper-x86.c b/drivers/firmware/efi/cper-x86.c index 2531de49f56c..438ed9eff6d0 100644 --- a/drivers/firmware/efi/cper-x86.c +++ b/d

[tip:irq/core] BUILD SUCCESS d315c627a18249930750fe4eb2b21f3fe9b32ea4

2020-11-09 Thread kernel test robot
mips allmodconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a004-20201109 i386 randconfig-a006-20201109 i386

Re: [PATCH v4] dmaengine: qcom: Add ADM driver

2020-11-09 Thread Jonathan McDowell
On Mon, Nov 09, 2020 at 05:11:21PM +0530, Vinod Koul wrote: > HI Jonathan, > > On 23-09-20, 20:40, Jonathan McDowell wrote: > > Add the DMA engine driver for the QCOM Application Data Mover (ADM) DMA > > controller found in the MSM8x60 and IPQ/APQ8064 platforms. > > Mostly it looks good, some nit

Re: [PATCH v1 1/2] ASoC: google: dt-bindings: add new compatible for sc7180-coachz

2020-11-09 Thread Rob Herring
On Thu, 05 Nov 2020 09:32:41 +0800, xuyuqing wrote: > Add devicetree bindings for coachz in documentation file > > Signed-off-by: xuyuqing > --- > .../devicetree/bindings/sound/google,sc7180-trogdor.yaml | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > Acked-by: Rob Herring

Re: [PATCH v5 1/9] lib: zstd: Add zstd compatibility wrapper

2020-11-09 Thread Chris Mason
On 6 Nov 2020, at 13:38, Christoph Hellwig wrote: You just keep resedning this crap, don't you? Haven't you been told multiple times to provide a proper kernel API by now? You do consistently ask for a shim layer, but you haven’t explained what we gain by diverging from the documented and

Re: [PATCH v1 06/30] dt-bindings: usb: tegra-ehci: Document OPP and voltage regulator properties

2020-11-09 Thread Rob Herring
On Thu, 05 Nov 2020 02:44:03 +0300, Dmitry Osipenko wrote: > Document new DVFS OPP table and voltage regulator properties of the > Tegra EHCI controller. > > Signed-off-by: Dmitry Osipenko > --- > Documentation/devicetree/bindings/usb/nvidia,tegra20-ehci.txt | 2 ++ > 1 file changed, 2 insertion

Re: [PATCH v1 05/30] dt-binding: usb: ci-hdrc-usb2: Document OPP and voltage regulator properties

2020-11-09 Thread Rob Herring
On Thu, 05 Nov 2020 02:44:02 +0300, Dmitry Osipenko wrote: > Document new OPP table and NVIDIA Tegra-specific voltage regulator > properties. > > Signed-off-by: Dmitry Osipenko > --- > Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt | 4 > 1 file changed, 4 insertions(+) > Reviewed

Re: [PATCH v8 3/6] software node: implement reference properties

2020-11-09 Thread Andy Shevchenko
On Mon, Nov 09, 2020 at 07:18:37PM +0100, Lukasz Stelmach wrote: > It was <2020-11-09 pon 19:24>, when Andy Shevchenko wrote: > > On Mon, Nov 09, 2020 at 06:02:29PM +0100, Lukasz Stelmach wrote: > >> It was <2019-11-07 czw 20:22>, when Dmitry Torokhov wrote: ... > >> I am writing a piece that nee

Re: [PATCH v1 04/30] media: dt: bindings: tegra-vde: Document OPP and voltage regulator properties

2020-11-09 Thread Rob Herring
On Thu, 05 Nov 2020 02:44:01 +0300, Dmitry Osipenko wrote: > Document new DVFS OPP table and voltage regulator properties of the > video decoder engine. > > Signed-off-by: Dmitry Osipenko > --- > .../devicetree/bindings/media/nvidia,tegra-vde.txt | 12 > 1 file changed, 12 inserti

Re: [PATCH v1 03/30] dt-bindings: pwm: tegra: Document OPP and voltage regulator properties

2020-11-09 Thread Rob Herring
On Thu, 05 Nov 2020 02:44:00 +0300, Dmitry Osipenko wrote: > Document new DVFS OPP table and voltage regulator properties of the > PWM controller. > > Signed-off-by: Dmitry Osipenko > --- > .../devicetree/bindings/pwm/nvidia,tegra20-pwm.txt | 13 + > 1 file changed, 13 insertions(+)

Re: [PATCH v1 02/30] dt-bindings: mmc: tegra: Document OPP and voltage regulator properties

2020-11-09 Thread Rob Herring
On Thu, 05 Nov 2020 02:43:59 +0300, Dmitry Osipenko wrote: > Document new DVFS OPP table and voltage regulator properties of the > SDHCI controller. > > Signed-off-by: Dmitry Osipenko > --- > .../devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt | 12 > 1 file changed, 12 insertions(

Re: [PATCH v1 01/30] dt-bindings: host1x: Document OPP and voltage regulator properties

2020-11-09 Thread Rob Herring
On Thu, 05 Nov 2020 02:43:58 +0300, Dmitry Osipenko wrote: > Document new DVFS OPP table and voltage regulator properties of the > Host1x bus and devices sitting on the bus. > > Signed-off-by: Dmitry Osipenko > --- > .../display/tegra/nvidia,tegra20-host1x.txt | 56 +++ > 1 fil

Re: [RESEND PATCH v3] fuse: Abort waiting for a response if the daemon receives a fatal signal

2020-11-09 Thread Eric W. Biederman
Miklos Szeredi writes: > On Mon, Nov 9, 2020 at 1:48 PM Alexey Gladkov > wrote: >> >> This patch removes one kind of the deadlocks inside the fuse daemon. The >> problem appear when the fuse daemon itself makes a file operation on its >> filesystem and receives a fatal signal. >> >> This deadlo

Re: [PATCH net-next v4 0/5] bonding: rename bond components

2020-11-09 Thread Jakub Kicinski
On Mon, 9 Nov 2020 11:47:58 -0500 Jarod Wilson wrote: > On Fri, Nov 6, 2020 at 9:44 PM Jakub Kicinski wrote: > > On Fri, 6 Nov 2020 15:04:31 -0500 Jarod Wilson wrote: > > > The bonding driver's use of master and slave, while largely understood > > > in technical circles, poses a barrier for inc

Re: [PATCH v2 net] net: udp: fix Fast/frag0 UDP GRO

2020-11-09 Thread Eric Dumazet
On 11/9/20 7:28 PM, Willem de Bruijn wrote: > On Mon, Nov 9, 2020 at 12:37 PM Eric Dumazet wrote: >> >> >> >> On 11/9/20 5:56 PM, Alexander Lobakin wrote: >>> While testing UDP GSO fraglists forwarding through driver that uses >>> Fast GRO (via napi_gro_frags()), I was observing lots of out-of-

Re: [PATCH v8 3/6] software node: implement reference properties

2020-11-09 Thread Dmitry Torokhov
On Mon, Nov 09, 2020 at 07:18:37PM +0100, Lukasz Stelmach wrote: > It was <2020-11-09 pon 19:24>, when Andy Shevchenko wrote: > > On Mon, Nov 09, 2020 at 06:02:29PM +0100, Lukasz Stelmach wrote: > >> It was <2019-11-07 czw 20:22>, when Dmitry Torokhov wrote: > >> > It is possible to store reference

Re: [PATCH v3 09/21] mm/hugetlb: Free the vmemmap pages associated with each hugetlb page

2020-11-09 Thread Oscar Salvador
On Sun, Nov 08, 2020 at 10:11:01PM +0800, Muchun Song wrote: > +static inline int freed_vmemmap_hpage(struct page *page) > +{ > + return atomic_read(&page->_mapcount) + 1; > +} > + > +static inline int freed_vmemmap_hpage_inc(struct page *page) > +{ > + return atomic_inc_return_relaxed(&pag

Re: [PATCH 4.4 00/86] 4.4.242-rc1 review

2020-11-09 Thread Pavel Machek
Hi! > This is the start of the stable review cycle for the 4.4.242 release. > There are 86 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. No problems detected by CIP testing: https://gitlab.com/cip

[PATCH v19 0/4] iommu/arm-smmu: Add adreno-smmu implementation and bindings

2020-11-09 Thread Jordan Crouse
This short series adds support for the adreno-smmu implementation of the arm-smmu driver and the device-tree bindings to turn on the implementation for the sm845 and sc7180 GPUs. These changes are the last ones needed to enable per-instance pagetables in the drm/msm driver. v19: Rebase to kernel/g

[PATCH v19 3/4] dt-bindings: arm-smmu: Add compatible string for Adreno GPU SMMU

2020-11-09 Thread Jordan Crouse
Every Qcom Adreno GPU has an embedded SMMU for its own use. These devices depend on unique features such as split pagetables, different stall/halt requirements and other settings. Identify them with a compatible string so that they can be identified in the arm-smmu implementation specific code. Si

[PATCH v19 2/4] iommu/arm-smmu: Add a way for implementations to influence SCTLR

2020-11-09 Thread Jordan Crouse
From: Rob Clark For the Adreno GPU's SMMU, we want SCTLR.HUPCF set to ensure that pending translations are not terminated on iova fault. Otherwise a terminated CP read could hang the GPU by returning invalid command-stream data. Add a hook to for the implementation to modify the sctlr value if i

[PATCH v19 4/4] arm: dts: qcom: sm845: Set the compatible string for the GPU SMMU

2020-11-09 Thread Jordan Crouse
Set the qcom,adreno-smmu compatible string for the GPU SMMU to enable split pagetables and per-instance pagetables for drm/msm. Signed-off-by: Jordan Crouse Signed-off-by: Rob Clark Reviewed-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi | 9 + arch/arm64/boot/dts/

arch/arm/kernel/swp_emulate.c:198:14: sparse: sparse: incorrect type in argument 1 (different base types)

2020-11-09 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f8394f232b1eab649ce2df5c5f15b0e528c92091 commit: e5fc436f06eef54ef512ea55a9db8eb9f2e76959 sparse: use static inline for __chk_{user,io}_ptr() date: 2 months ago config: arm-randconfig-s031-20201105 (attach

[PATCH v19 1/4] iommu/arm-smmu-qcom: Add implementation for the adreno GPU SMMU

2020-11-09 Thread Jordan Crouse
Add a special implementation for the SMMU attached to most Adreno GPU target triggered from the qcom,adreno-smmu compatible string. The new Adreno SMMU implementation will enable split pagetables (TTBR1) for the domain attached to the GPU device (SID 0) and hard code it context bank 0 so the GPU h

[RESEND PATCH 2/2] media: hantro: Use VP8 lengths defined in uapi

2020-11-09 Thread Emmanuel Gil Peyrot
Signed-off-by: Emmanuel Gil Peyrot --- drivers/staging/media/hantro/hantro_vp8.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/media/hantro/hantro_vp8.c b/drivers/staging/media/hantro/hantro_vp8.c index 0e02d147b189..91ec9a05645b 100644 --- a/drivers/sta

[RESEND PATCH 1/2] media: uapi: Expose VP8 probability lengths as defines

2020-11-09 Thread Emmanuel Gil Peyrot
These values will be used by various drivers implementing the VP8 stateless API. This had been suggested by Ezequiel Garcia for the Cedrus VP8 driver. Signed-off-by: Emmanuel Gil Peyrot --- include/media/vp8-ctrls.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/inclu

[RESEND PATCH 0/2] media: uapi: Expose VP8 probability lengths as defines

2020-11-09 Thread Emmanuel Gil Peyrot
These values will be used by various drivers implementing the VP8 stateless API. This had been suggested by Ezequiel Garcia for the Cedrus VP8 driver. The only driver using this API (until now) has also been updated to use these new defines. This is a resend because I forgot to include most main

Re: [PATCH v5] cper, apei, mce: Pass x86 CPER through the MCA handling chain

2020-11-09 Thread Smita Koralahalli Channabasappa
On 11/6/20 6:09 AM, Borislav Petkov wrote: On Tue, Nov 03, 2020 at 10:49:52AM -0600, Smita Koralahalli wrote: diff --git a/arch/x86/kernel/cpu/mce/apei.c b/arch/x86/kernel/cpu/mce/apei.c index af8d37962586..f56f0bc147e2 100644 --- a/arch/x86/kernel/cpu/mce/apei.c +++ b/arch/x86/kernel/cpu/mce/a

Re: [MPTCP][PATCH net 1/2] mptcp: fix static checker warnings in mptcp_pm_add_timer

2020-11-09 Thread Dan Carpenter
On Mon, Nov 09, 2020 at 05:28:54PM +0100, Matthieu Baerts wrote: > Hi Geliang, Dan, > > On 09/11/2020 14:59, Geliang Tang wrote: > > Fix the following Smatch complaint: > > Thanks for the report and the patch! > > > net/mptcp/pm_netlink.c:213 mptcp_pm_add_timer() > > warn: variable d

[PATCH v3] Kbuild: do not emit debug info for assembly with LLVM_IAS=1

2020-11-09 Thread Nick Desaulniers
Clang's integrated assembler produces the warning for assembly files: warning: DWARF2 only supports one section per compilation unit If -Wa,-gdwarf-* is unspecified, then debug info is not emitted for assembly sources (it is still emitted for C sources). This will be re-enabled for newer DWARF v

Re: [PATCH v3 22/26] coresight: etm4x: Add necessary synchronization for sysreg access

2020-11-09 Thread Mathieu Poirier
On Wed, Oct 28, 2020 at 10:09:41PM +, Suzuki K Poulose wrote: > As per the specification any update to the TRCPRGCTLR must be synchronized > by a context synchronization event (in our case an explicist ISB) before > the TRCSTATR is checked. > > Cc: Mike Leach > Cc: Mathieu Poirier > Signed-o

Re: [PATCH] venus: fix calculating mbps in calculate_inst_freq()

2020-11-09 Thread Fritz Koenig
On Mon, Nov 2, 2020 at 2:25 AM Mansur Alisha Shaik wrote: > > Currently in calculate_inst_freq() video driver is calculating > macro blocks per frame in steam of macro blocks per second(mpbs). > Which results frequency is always setting to lower frequency (150MB) > as per frequency table for sc718

Re: [PATCH v2 net] net: udp: fix Fast/frag0 UDP GRO

2020-11-09 Thread Willem de Bruijn
On Mon, Nov 9, 2020 at 12:37 PM Eric Dumazet wrote: > > > > On 11/9/20 5:56 PM, Alexander Lobakin wrote: > > While testing UDP GSO fraglists forwarding through driver that uses > > Fast GRO (via napi_gro_frags()), I was observing lots of out-of-order > > iperf packets: > > > > [ ID] Interval

Re: [PATCH] net: udp: remove redundant initialization in udp_gro_complete

2020-11-09 Thread Jakub Kicinski
On Fri, 6 Nov 2020 01:42:39 -0500 menglong8.d...@gmail.com wrote: > { > __be16 newlen = htons(skb->len - nhoff); > struct udphdr *uh = (struct udphdr *)(skb->data + nhoff); > - int err = -ENOSYS; > + int err; > struct sock *sk; You can also move the err declaration belo

Re: [PATCH v2 2/4] Kbuild: do not emit debug info for assembly with LLVM_IAS=1

2020-11-09 Thread Nick Desaulniers
On Wed, Nov 4, 2020 at 10:58 PM Nathan Chancellor wrote: > > On Tue, Nov 03, 2020 at 04:53:41PM -0800, Nick Desaulniers wrote: > > Clang's integrated assembler produces the warning for assembly files: > > > > warning: DWARF2 only supports one section per compilation unit > > > > If -Wa,-gdwarf-* i

Re: [PATCH v2] ACPI: GED: fix -Wformat

2020-11-09 Thread Rafael J. Wysocki
On Sat, Nov 7, 2020 at 9:49 AM Nick Desaulniers wrote: > > Clang is more aggressive about -Wformat warnings when the format flag > specifies a type smaller than the parameter. It turns out that gsi is an > int. Fixes: > > drivers/acpi/evged.c:105:48: warning: format specifies type 'unsigned > char

Re: [PATCH v2 net] net: udp: fix Fast/frag0 UDP GRO

2020-11-09 Thread Alexander Lobakin
From: Eric Dumazet Date: Mon, 9 Nov 2020 18:37:36 +0100 > On 11/9/20 5:56 PM, Alexander Lobakin wrote: >> While testing UDP GSO fraglists forwarding through driver that uses >> Fast GRO (via napi_gro_frags()), I was observing lots of out-of-order >> iperf packets: >> >> [ ID] Interval T

Re: [PATCH v2 7/8] Documentation: Add documentation for the Brute LSM

2020-11-09 Thread John Wood
Hi, Thanks for the typos corrections. Will be corrected in the next patch version. On Sun, Nov 08, 2020 at 08:31:13PM -0800, Randy Dunlap wrote: > > So an app could read crash_period_threshold and just do a new fork every > threshold + 1 time units, right? and not be caught? Yes, you are right. B

[PATCH v3 01/23] mtd: mtdpart: Fix misdocumented function parameter 'mtd'

2020-11-09 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/mtd/mtdpart.c:300: warning: Function parameter or member 'mtd' not described in '__mtd_del_partition' drivers/mtd/mtdpart.c:300: warning: Excess function parameter 'priv' description in '__mtd_del_partition' Cc: Miquel Raynal Cc: Richa

[PATCH v3 07/23] mtd: spi-nor: hisi-sfc: Demote non-conformant kernel-doc

2020-11-09 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/mtd/spi-nor/controllers/hisi-sfc.c:328: warning: Function parameter or member 'np' not described in 'hisi_spi_nor_register' drivers/mtd/spi-nor/controllers/hisi-sfc.c:328: warning: Function parameter or member 'host' not described in 'hi

[PATCH v3 10/23] mtd: ubi: kapi: Correct documentation for 'ubi_leb_read_sg's 'sgl' parameter

2020-11-09 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/mtd/ubi/kapi.c:464: warning: Function parameter or member 'sgl' not described in 'ubi_leb_read_sg' drivers/mtd/ubi/kapi.c:464: warning: Excess function parameter 'buf' description in 'ubi_leb_read_sg' Cc: Richard Weinberger Cc: Miquel

Re: [PATCH v2] ACPI: Fix whitespace inconsistencies

2020-11-09 Thread Rafael J. Wysocki
On Thu, Nov 5, 2020 at 3:06 AM Maximilian Luz wrote: > > Replaces spaces with tabs where spaces have been (inconsistently) used > for indentation and removes trailing whitespaces. > > Signed-off-by: Maximilian Luz > --- > > Was previously: ACPI: Remove trailing whitespace > > Changes in v2: > -

[PATCH v3 08/23] mtd: ubi: build: Document 'ubi_num' in struct mtd_dev_param

2020-11-09 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/mtd/ubi/build.c:61: warning: Function parameter or member 'ubi_num' not described in 'mtd_dev_param' Cc: Richard Weinberger Cc: Miquel Raynal Cc: Vignesh Raghavendra Cc: linux-...@lists.infradead.org Signed-off-by: Lee Jones --- driv

[PATCH v3 12/23] mtd: ubi: wl: Fix a couple of kernel-doc issues

2020-11-09 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/mtd/ubi/wl.c:584: warning: Function parameter or member 'nested' not described in 'schedule_erase' drivers/mtd/ubi/wl.c:1075: warning: Excess function parameter 'shutdown' description in '__erase_worker' Cc: Richard Weinberger Cc: Miqu

[PATCH v3 09/23] mtd: spinand: toshiba: Demote non-conformant kernel-doc header

2020-11-09 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/mtd/nand/spi/toshiba.c:36: warning: Function parameter or member 'write_cache_variants' not described in 'SPINAND_OP_VARIANTS' drivers/mtd/nand/spi/toshiba.c:36: warning: Function parameter or member '0' not described in 'SPINAND_OP_VARI

[PATCH v3 19/23] mtd: rawnand: omap2: Fix a bunch of kernel-doc misdemeanours

2020-11-09 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/mtd/nand/raw/omap2.c:191: warning: Function parameter or member 'info' not described in 'omap_prefetch_enable' drivers/mtd/nand/raw/omap2.c:221: warning: Function parameter or member 'cs' not described in 'omap_prefetch_reset' drivers/m

[PATCH v3 21/23] mtd: rawnand: arasan: Document 'anfc_op's 'buf' member

2020-11-09 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/mtd/nand/raw/arasan-nand-controller.c:133: warning: Function parameter or member 'buf' not described in 'anfc_op' Cc: Naga Sureshkumar Relli Cc: Miquel Raynal Cc: Richard Weinberger Cc: Vignesh Raghavendra Cc: Choudary Kalluri Cc: li

[PATCH v3 17/23] mtd: rawnand: s3c2410: Add documentation for 2 missing struct members

2020-11-09 Thread Lee Jones
Correct 'controller' typo while we're at it. Fixes the following W=1 kernel build warning(s): drivers/mtd/nand/raw/s3c2410.c:172: warning: Function parameter or member 'controller' not described in 's3c2410_nand_info' drivers/mtd/nand/raw/s3c2410.c:172: warning: Function parameter or member '

[PATCH v3 16/23] mtd: rawnand: cafe_nand: Remove superfluous param doc and add another

2020-11-09 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/mtd/nand/raw/cafe_nand.c:372: warning: Function parameter or member 'page' not described in 'cafe_nand_read_page' drivers/mtd/nand/raw/cafe_nand.c:372: warning: Excess function parameter 'mtd' description in 'cafe_nand_read_page' Cc: Mi

[PATCH v3 15/23] mtd: rawnand: diskonchip: Marking unused variables as __always_unused

2020-11-09 Thread Lee Jones
'dummy' is never checked (as per the nomenclature) and the use of 'emtpymatch' is currently #if 0'ed out. We could also #if 0 the declaration, but #ifery is pretty ugly, so I like to keep it to a minimum. Fixes the following W=1 kernel build warning(s): drivers/mtd/nand/raw/diskonchip.c: In fun

[PATCH v3 23/23] mtd: devices: powernv_flash: Add function names to headers and fix 'dev'

2020-11-09 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/mtd/devices/powernv_flash.c:129: warning: Cannot understand * @mtd: the device drivers/mtd/devices/powernv_flash.c:145: warning: Cannot understand * @mtd: the device drivers/mtd/devices/powernv_flash.c:161: warning: Cannot understand

[PATCH v3 06/23] mtd: onenand: onenand_bbt: Fix expected kernel-doc formatting

2020-11-09 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/mtd/nand/onenand/onenand_bbt.c:33: warning: Function parameter or member 'buf' not described in 'check_short_pattern' drivers/mtd/nand/onenand/onenand_bbt.c:33: warning: Function parameter or member 'len' not described in 'check_short_pa

[PATCH v3 20/23] mtd: rawnand: sunxi: Document 'sunxi_nfc's 'caps' member

2020-11-09 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/mtd/nand/raw/sunxi_nand.c:250: warning: Function parameter or member 'caps' not described in 'sunxi_nfc' Cc: Miquel Raynal Cc: Richard Weinberger Cc: Vignesh Raghavendra Cc: Maxime Ripard Cc: Chen-Yu Tsai Cc: Philipp Zabel Cc: Boris

[PATCH v3 14/23] mtd: ubi: gluebi: Fix misnamed function parameter documentation

2020-11-09 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/mtd/ubi/gluebi.c:446: warning: Function parameter or member 'ns_ptr' not described in 'gluebi_notify' drivers/mtd/ubi/gluebi.c:446: warning: Excess function parameter 'ptr' description in 'gluebi_notify' Cc: Richard Weinberger Cc: Miqu

[PATCH v3 02/23] mtd: devices: phram: File headers are not good candidates for kernel-doc

2020-11-09 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/mtd/devices/phram.c:19: warning: Function parameter or member 'fmt' not described in 'pr_fmt' Cc: Miquel Raynal Cc: Richard Weinberger Cc: Vignesh Raghavendra Cc: "Jochen Schäuble" Cc: linux-...@lists.infradead.org Signed-off-by: Lee

[PATCH v3 04/23] mtd: devices: docg3: Fix kernel-doc 'bad line' and 'excessive doc' issues

2020-11-09 Thread Lee Jones
This patch also places the descriptions in the correct order. Fixes the following W=1 kernel build warning(s): drivers/mtd/devices/docg3.c:819: warning: bad line: drivers/mtd/devices/docg3.c:1799: warning: Excess function parameter 'base' description in 'doc_probe_device' Cc: Robert Jarzmik

[PATCH v3 13/23] mtd: rawnand: brcmnand: Demote non-conformant kernel-doc headers

2020-11-09 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/mtd/nand/raw/brcmnand/brcmnand.c:1854: warning: Function parameter or member 'host' not described in 'brcmnand_edu_trans' drivers/mtd/nand/raw/brcmnand/brcmnand.c:1854: warning: Function parameter or member 'addr' not described in 'brcmn

[PATCH v3 18/23] mtd: rawnand: omap_elm: Finish half populated function header, demote empty ones

2020-11-09 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/mtd/nand/raw/omap_elm.c:102: warning: Function parameter or member 'ecc_steps' not described in 'elm_config' drivers/mtd/nand/raw/omap_elm.c:102: warning: Function parameter or member 'ecc_step_size' not described in 'elm_config' driver

[PATCH v3 22/23] mtd: onenand: Fix some kernel-doc misdemeanours

2020-11-09 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/mtd/nand/onenand/onenand_base.c:140: warning: Function parameter or member 'mtd' not described in 'onenand_ooblayout_32_64_ecc' drivers/mtd/nand/onenand/onenand_base.c:140: warning: Function parameter or member 'section' not described in

[PATCH v3 00/23] Rid W=1 warnings in MTD

2020-11-09 Thread Lee Jones
This set is part of a larger effort attempting to clean-up W=1 kernel builds, which are currently overwhelmingly riddled with niggly little warnings. v2 => v3: - Reworded subject lines v1 => v2: - Added tags - Satisfied Miquel's review comments Lee Jones (23): mtd: mtdpart: Fix misdocu

[PATCH v3 05/23] mtd: Fix misspelled function parameter 'section'

2020-11-09 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/mtd/mtdcore.c:1592: warning: Function parameter or member 'section' not described in 'mtd_ooblayout_find_eccregion' drivers/mtd/mtdcore.c:1592: warning: Excess function parameter 'sectionp' description in 'mtd_ooblayout_find_eccregion'

[PATCH v3 03/23] mtd: onenand: onenand_base: Fix expected kernel-doc formatting

2020-11-09 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/mtd/nand/onenand/onenand_base.c:140: warning: Function parameter or member 'mtd' not described in 'onenand_ooblayout_32_64_ecc' drivers/mtd/nand/onenand/onenand_base.c:140: warning: Function parameter or member 'section' not described in

[PATCH v3 11/23] mtd: ubi: eba: Fix a couple of misdocumentation issues

2020-11-09 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/mtd/ubi/eba.c:1304: warning: Function parameter or member 'vidb' not described in 'ubi_eba_copy_leb' drivers/mtd/ubi/eba.c:1304: warning: Excess function parameter 'vid_hdr' description in 'ubi_eba_copy_leb' drivers/mtd/ubi/eba.c:1483:

Re: [RFC PATCH v1 00/26] Make reporting-bugs easier to grasp and yet more detailed

2020-11-09 Thread Jonathan Corbet
On Mon, 9 Nov 2020 12:01:56 +0100 Thorsten Leemhuis wrote: > @Jon: I'd be really appreciate to hear your thoughts on this. Seems like it's time to post a new version with all of your feedback so far reflected, and we'll go from there? Thanks, jon

Re: [PATCH] mm/memcg: remove unused definitions

2020-11-09 Thread Shakeel Butt
+LKML and linux-mm On Sat, Nov 7, 2020 at 4:38 PM Wei Yang wrote: > > Some definitions are left unused, just clean them. > > Signed-off-by: Wei Yang Reviewed-by: Shakeel Butt

Re: [PATCH 4.19 01/71] drm/i915: Break up error capture compression loops with cond_resched()

2020-11-09 Thread Pavel Machek
Hi! > commit 7d5553147613b50149238ac1385c60e5c7cacb34 upstream. > > As the error capture will compress user buffers as directed to by the > user, it can take an arbitrary amount of time and space. Break up the > compression loops with a call to cond_resched(), that will allow other > processes to

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