Re: [PATCH] rcu: shrink each possible cpu krcp

2020-08-18 Thread Uladzislau Rezki
> On Tue, Aug 18, 2020 at 03:00:35PM -0400, Joel Fernandes wrote: > > On Tue, Aug 18, 2020 at 1:18 PM Paul E. McKenney wrote: > > > > > > On Mon, Aug 17, 2020 at 06:03:54PM -0400, Joel Fernandes wrote: > > > > On Fri, Aug 14, 2020 at 2:51 PM Uladzislau Rezki > > > > wrote: > > > > > > > > > > >

Re: [RFC PATCH v2 0/3] mikroBUS driver for add-on boards

2020-08-18 Thread Vaishnav M A
On Wed, Aug 19, 2020 at 2:08 AM Frank Rowand wrote: > > Hi Vaishnav, > > +me +devicetree > > Please add these two recipients to future versions. > > I will comment more after reading the first version and v2. > > -Frank > Hi Frank, Sorry, I missed to run get_maintainer.pl after making the

Re: [GIT PULL] mailmap update for v5.9-rc2

2020-08-18 Thread Kees Cook
On Mon, Aug 17, 2020 at 05:32:32PM -0700, Linus Torvalds wrote: > If you want dictionary sorting you'd use "sort -d". > > But the commit message says "sort -f". O_o Err, I don't know how that happened. I must have cut/pasted into the commit log from my command history at the wrong place or

Re: [PATCH v3] drm/msm/dp: Add DP compliance tests on Snapdragon Chipsets

2020-08-18 Thread Stephen Boyd
Quoting Kuogee Hsieh (2020-08-18 14:15:46) > add event thread to execute events serially from event queue. Also > timeout mode is supported which allow an event be deferred to be > executed at later time. Both link and phy compliant tests had been > done successfully. > > Changes in v2: > - Fix

Re: [PATCH 0/4] -ffreestanding/-fno-builtin-* patches

2020-08-18 Thread Nick Desaulniers
On Tue, Aug 18, 2020 at 2:41 PM Arvind Sankar wrote: > > On Tue, Aug 18, 2020 at 01:58:51PM -0700, Nick Desaulniers wrote: > > On Tue, Aug 18, 2020 at 1:27 PM Nick Desaulniers > > wrote: > > > > > > On Tue, Aug 18, 2020 at 1:24 PM Arvind Sankar > > > wrote: > > > > > > > > On Tue, Aug 18, 2020

Re: [PATCH] rcu: shrink each possible cpu krcp

2020-08-18 Thread Paul E. McKenney
On Tue, Aug 18, 2020 at 11:55:11PM +0200, Uladzislau Rezki wrote: > > On Tue, Aug 18, 2020 at 03:00:35PM -0400, Joel Fernandes wrote: > > > On Tue, Aug 18, 2020 at 1:18 PM Paul E. McKenney > > > wrote: > > > > > > > > On Mon, Aug 17, 2020 at 06:03:54PM -0400, Joel Fernandes wrote: > > > > > On

Re: [PATCH 00/16] IOMMU driver for Kirin 960/970

2020-08-18 Thread John Stultz
On Tue, Aug 18, 2020 at 9:26 AM Robin Murphy wrote: > On 2020-08-18 16:29, Mauro Carvalho Chehab wrote: > > Em Tue, 18 Aug 2020 15:47:55 +0100 > > Basically, the DT binding has this, for IOMMU: > > > > > > smmu_lpae { > > compatible = "hisilicon,smmu-lpae"; > > }; > > >

Re: [PATCH] Makefile: Yes. Finally remove '-Wdeclaration-after-statement'

2020-08-18 Thread Michael Witten
I think there's an important distinction to make between the following 2 kinds of code: * The curated code people just want to build. * The new patches that maintainers are reviewing. Certainly, maintainers should have a wide range of tools at their disposal to probe the quality of a patch;

Re: [PATCH 0/4] -ffreestanding/-fno-builtin-* patches

2020-08-18 Thread Dávid Bolvanský
Here: https://godbolt.org/z/qjo5P6 st 19. 8. 2020 o 0:00 Nick Desaulniers napísal(a): > > On Tue, Aug 18, 2020 at 2:41 PM Arvind Sankar wrote: > > > > On Tue, Aug 18, 2020 at 01:58:51PM -0700, Nick Desaulniers wrote: > > > On Tue, Aug 18, 2020 at 1:27 PM Nick Desaulniers > > > wrote: > > > > >

Re: [PATCH 1/6] dt-bindings: soc: ti: Add TI PRUSS bindings

2020-08-18 Thread Grzegorz Jaszczyk
Hi Rob, On Mon, 17 Aug 2020 at 23:14, Rob Herring wrote: > > On Wed, Jul 29, 2020 at 01:02:03PM +0200, Grzegorz Jaszczyk wrote: > > This patch adds the bindings for the Programmable Real-Time Unit > > and Industrial Communication Subsystem (PRU-ICSS) present on various > > TI SoCs. The IP is

[PATCH v3] powerpc/pseries/svm: Allocate SWIOTLB buffer anywhere in memory

2020-08-18 Thread Thiago Jung Bauermann
POWER secure guests (i.e., guests which use the Protection Execution Facility) need to use SWIOTLB to be able to do I/O with the hypervisor, but they don't need the SWIOTLB memory to be in low addresses since the hypervisor doesn't have any addressing limitation. This solves a SWIOTLB

Re: [PATCH v8 1/6] ACPI: Support Generic Initiator only domains

2020-08-18 Thread kernel test robot
Hi Jonathan, I love your patch! Yet something to improve: [auto build test ERROR on pm/linux-next] [also build test ERROR on tip/x86/core driver-core/driver-core-testing tip/x86/mm linus/master v5.9-rc1 next-20200818] [If your patch is applied to the wrong git tree, kindly drop us a note

Re: [PATCH v3 43/44] dt: document HiSilicon SPMI controller and mfd/regulator properties

2020-08-18 Thread Mauro Carvalho Chehab
Em Tue, 18 Aug 2020 11:07:55 -0600 Rob Herring escreveu: > > > > + spmi-channel: > > > > +description: number of the SPMI channel where the PMIC is > > > > connected > > > > > > This looks like a common (to SPMI), but it's not something defined in > > > spmi.txt > > > > This one

Re: [PATCH v3 10/17] memblock: reduce number of parameters in for_each_mem_range()

2020-08-18 Thread Miguel Ojeda
On Tue, Aug 18, 2020 at 5:19 PM Mike Rapoport wrote: > > .clang-format | 2 ++ For the .clang-format bit: Acked-by: Miguel Ojeda Cheers, Miguel

Re: [PATCH 0/4] -ffreestanding/-fno-builtin-* patches

2020-08-18 Thread Arvind Sankar
On Mon, Aug 17, 2020 at 03:02:08PM -0700, Nick Desaulniers wrote: > -ffreestanding typically inhibits "libcall optimizations" where calls to > certain library functions can be replaced by the compiler in certain > cases to calls to other library functions that may be more efficient. > This can be

Re: [PATCH v3 16/19] media: rkvdec: Drop unneeded per_request driver-specific control flag

2020-08-18 Thread Jonas Karlman
On 2020-08-18 23:38, Ezequiel Garcia wrote: > On Tue, 2020-08-18 at 20:17 +, Jonas Karlman wrote: >> Hi Ezequiel, >> >> On 2020-08-14 15:36, Ezequiel Garcia wrote: >>> Currently, the drivers makes no distinction between per_request >>> and mandatory, as both are used in the same request

linux-next: Signed-off-by missing for commits in the ext4 tree

2020-08-18 Thread Stephen Rothwell
Hi all, Commits dddcd2f9ebde ("ext4: optimize the implementation of ext4_mb_good_group()") 051e2ce8cb90 ("ext4: delete invalid comments near ext4_mb_check_limits()") e9a3cd48d653 ("ext4: fix typos in ext4_mb_regular_allocator() comment") 9375ac770cda ("ext4: delete the invalid BUGON in

[PATCH] mmc: sdhci-acpi: Fix HS400 tuning for AMDI0040

2020-08-18 Thread Raul E Rangel
The AMD eMMC Controller can only use the tuned clock while in HS200 and HS400 mode. If we switch to a different mode, we need to disable the tuned clock. If we have previously performed tuning and switch back to HS200 or HS400, we can re-enable the tuned clock. Previously the tuned clock was not

linux-next: Fixes tag needs some work in the wireless-drivers-next tree

2020-08-18 Thread Stephen Rothwell
Hi all, In commit 3b9fb6791e71 ("wcn36xx: Fix reported 802.11n rx_highest rate wcn3660/wcn3680") Fixes tag Fixes: 8e84c2582169 ("wcn36xx: mac80211 driver for Qualcomm WCN3660/WCN3680 has these problem(s): - Subject has leading but no trailing parentheses - Subject has leading but no

Re: [PATCH 5.8 000/464] 5.8.2-rc1 review

2020-08-18 Thread Shuah Khan
On 8/17/20 9:09 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 5.8.2 release. There are 464 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

Re: [PATCH 5.7 000/393] 5.7.16-rc1 review

2020-08-18 Thread Shuah Khan
On 8/17/20 9:10 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 5.7.16 release. There are 393 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

Re: [PATCH] ext4: Fix comment typo "the the".

2020-08-18 Thread Theodore Y. Ts'o
On Sat, Apr 25, 2020 at 02:16:24AM +0900, kyoungho koo wrote: > I have found double typed comments "the the". So i modified it to > one "the" > > Signed-off-by: kyoungho koo Thanks, applied; apologies for this falling through the cracks! - Ted

Re: [PATCH 4.19 000/168] 4.19.140-rc1 review

2020-08-18 Thread Shuah Khan
On 8/17/20 9:15 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.19.140 release. There are 168 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

Re: [PATCH 5.4 000/270] 5.4.59-rc1 review

2020-08-18 Thread Shuah Khan
On 8/17/20 9:13 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 5.4.59 release. There are 270 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

Re: fsl_espi errors on v5.7.15

2020-08-18 Thread Chris Packham
Hi Again, On 17/08/20 9:09 am, Chris Packham wrote: > > On 14/08/20 6:19 pm, Heiner Kallweit wrote: >> On 14.08.2020 04:48, Chris Packham wrote: >>> Hi, >>> >>> I'm seeing a problem with accessing spi-nor after upgrading a T2081 >>> based system to linux v5.7.15 >>> >>> For this board u-boot and

[v9 2/4] media: vidtv: implement a demodulator driver

2020-08-18 Thread Daniel W. S. Almeida
From: "Daniel W. S. Almeida" Implement a I2C demodulator driver, simulating support for DVB-T, DVB-C and DVB-S. This demodulator will periodically check the signal quality against a table and drop the TS lock if it drops below a threshold value, regaining it in the event that the signal

Re: [PATCH] Revert "seqlock: lockdep assert non-preemptibility on seqcount_t write"

2020-08-18 Thread Valdis Klētnieks
On Mon, 10 Aug 2020 07:10:32 -0700, Guenter Roeck said: > > ERROR: modpost: "__bad_udelay" > > [drivers/net/ethernet/aquantia/atlantic/atlantic.ko] undefined! > > > > I don't think that is new. If anything, it is surprising that builds don't > fail more > widely because of it. AFAICS it was

[v9 4/4] media: Documentation: vidtv: Add ReST documentation for vidtv

2020-08-18 Thread Daniel W. S. Almeida
From: "Daniel W. S. Almeida" Add documentation for the Virtual Digital TV driver (vidtv) in the Restructured Text (ReST) format. This discusses: - What is vidtv - Why vidtv is needed - How to build and run vidtv - How vidtv is structured - How to test vidtv - How to improve vidtv

[v9 1/4] media: vidtv: implement a tuner driver

2020-08-18 Thread Daniel W. S. Almeida
From: "Daniel W. S. Almeida" The virtual DVB test driver serves as a reference DVB driver and helps validate the existing APIs in the media subsystem. It can also aid developers working on userspace applications. This dummy tuner should support common TV standards such as DVB-T/T2/S/S2, ISDB-T

[v9 0/4] media: vidtv: Implement a virtual DVB driver

2020-08-18 Thread Daniel W. S. Almeida
From: "Daniel W. S. Almeida" This series is work in progress. It represents the current work done on a virtual DVB driver for the Linux media subsystem. I am new to the media subsystem and to kernel development in general. This driver aims to: - Serve as template for new DVB driver

Re: [PATCH v2] net: eliminate meaningless memcpy to data in pskb_carve_inside_nonlinear()

2020-08-18 Thread David Miller
From: Miaohe Lin Date: Sat, 15 Aug 2020 04:48:53 -0400 > The frags of skb_shared_info of the data is assigned in following loop. It > is meaningless to do a memcpy of frags here. > > Signed-off-by: Miaohe Lin Applied, thank you.

Re: [PATCH] net: handle the return value of pskb_carve_frag_list() correctly

2020-08-18 Thread David Miller
From: Miaohe Lin Date: Sat, 15 Aug 2020 04:46:41 -0400 > pskb_carve_frag_list() may return -ENOMEM in pskb_carve_inside_nonlinear(). > we should handle this correctly or we would get wrong sk_buff. > > Fixes: 6fa01ccd8830 ("skbuff: Add pskb_extract() helper function") > Signed-off-by: Miaohe

Re: [PATCH 0/4] -ffreestanding/-fno-builtin-* patches

2020-08-18 Thread Nick Desaulniers
On Tue, Aug 18, 2020 at 3:25 PM Arvind Sankar wrote: > > Another thing that needs to be fixed is that at least lib/string.c needs > to be compiled with -ffreestanding. > > gcc-10 optimizes the generic memset implementation in there into a call > to memset. Now that's on x86 which doesn't use the

Re: [PATCH v3] drm/msm/dp: Add DP compliance tests on Snapdragon Chipsets

2020-08-18 Thread khsieh
On 2020-08-18 14:59, Stephen Boyd wrote: Quoting Kuogee Hsieh (2020-08-18 14:15:46) add event thread to execute events serially from event queue. Also timeout mode is supported which allow an event be deferred to be executed at later time. Both link and phy compliant tests had been done

Re: [PATCH] net: mscc: ocelot: remove duplicate "the the" phrase in Kconfig text

2020-08-18 Thread David Miller
From: Colin King Date: Mon, 17 Aug 2020 23:40:42 +0100 > From: Colin Ian King > > The Kconfig help text contains the phrase "the the" in the help > text. Fix this. > > Signed-off-by: Colin Ian King Applied.

Re: [PATCH] net: ipv4: remove duplicate "the the" phrase in Kconfig text

2020-08-18 Thread David Miller
From: Colin King Date: Mon, 17 Aug 2020 23:44:25 +0100 > From: Colin Ian King > > The Kconfig help text contains the phrase "the the" in the help > text. Fix this and reformat the block of help text. > > Signed-off-by: Colin Ian King Applied.

My Dear in the lord

2020-08-18 Thread Mrs. Mina A. Brunel
My Dear in the lord My name is Mrs. Mina A. Brunel I am a Norway Citizen who is living in Burkina Faso, I am married to Mr. Brunel Patrice, a politician who owns a small gold company in Burkina Faso; He died of Leprosy and Radesyge, in the year February 2010, During his lifetime he

[PATCH v3] drm/msm/dp: Add DP compliance tests on Snapdragon Chipsets

2020-08-18 Thread Kuogee Hsieh
add event thread to execute events serially from event queue. Also timeout mode is supported which allow an event be deferred to be executed at later time. Both link and phy compliant tests had been done successfully. Changes in v2: - Fix potential deadlock by removing redundant connect_mutex -

include/vdso/helpers.h:37:9: sparse: sparse: context imbalance in 'vdso_update_begin' - wrong count at exit

2020-08-18 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 06a4ec1d9dc652e17ee3ac2ceb6c7cf6c2b75cdd commit: 19d0070a2792181f79df01277fe00b83b9f7eda7 timekeeping/vsyscall: Provide vdso_update_begin/end() date: 13 days ago config: arm64-randconfig-s031-20200818

WARNING in nsim_destroy

2020-08-18 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:9123e3a7 Linux 5.9-rc1 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=166038ea90 kernel config: https://syzkaller.appspot.com/x/.config?x=3d400a47d1416652 dashboard link:

Re: KASAN: use-after-free Write in page_counter_uncharge

2020-08-18 Thread Andrew Morton
On Tue, 18 Aug 2020 07:50:28 -0700 syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit:a1d21081 Merge git://git.kernel.org/pub/scm/linux/kernel/g.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=17ceb0ce90 > kernel

Re: [PATCH 0/4] -ffreestanding/-fno-builtin-* patches

2020-08-18 Thread Nick Desaulniers
On Tue, Aug 18, 2020 at 3:05 PM Dávid Bolvanský wrote: > > st 19. 8. 2020 o 0:00 Nick Desaulniers napísal(a): > > > > On Tue, Aug 18, 2020 at 2:41 PM Arvind Sankar wrote: > > > > > > Note that -fno-builtin-foo seems to mean slightly different things in > > > clang and gcc. From experimentation,

Re: [RFC-PATCH 1/2] mm: Add __GFP_NO_LOCKS flag

2020-08-18 Thread Thomas Gleixner
Paul, On Tue, Aug 18 2020 at 10:13, Paul E. McKenney wrote: > On Tue, Aug 18, 2020 at 06:55:11PM +0200, Thomas Gleixner wrote: >> On Tue, Aug 18 2020 at 09:13, Paul E. McKenney wrote: >> > On Tue, Aug 18, 2020 at 04:43:14PM +0200, Thomas Gleixner wrote: >> >> Throttling the flooder is incresing

Re: [PATCH] rcu: shrink each possible cpu krcp

2020-08-18 Thread Joel Fernandes
On Tue, Aug 18, 2020 at 11:55:11PM +0200, Uladzislau Rezki wrote: > > On Tue, Aug 18, 2020 at 03:00:35PM -0400, Joel Fernandes wrote: > > > On Tue, Aug 18, 2020 at 1:18 PM Paul E. McKenney > > > wrote: > > > > > > > > On Mon, Aug 17, 2020 at 06:03:54PM -0400, Joel Fernandes wrote: > > > > > On

Re: [PATCH 0/3] Bluetooth: Emit events for suspend/resume

2020-08-18 Thread Abhishek Pandit-Subedi
Hi Marcel, Please review this patch. A newer series for how the controller resume event will be used is available at https://patchwork.kernel.org/project/bluetooth/list/?series=334811 Besides usage in bluez, these events will also make debugging and testing suspend/resume for Bluez easier (i.e.

Re: [PATCH] drm: ast: fix double __iomem sparse warning

2020-08-18 Thread kernel test robot
Hi Randy, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on drm-tip/drm-tip] [also build test WARNING on linus/master v5.9-rc1 next-20200818] [cannot apply to linux/master drm-intel/for-linux-next] [If your patch is applied to the wrong git tree, kindly drop us

[PATCH] drivers: input: Use single i2c_transfer transaction when using RM_CMD_BANK_SWITCH

2020-08-18 Thread Furquan Shaikh
On an AMD chromebook, where the same I2C bus is shared by both Raydium touchscreen and a trackpad device, it is observed that interleaving of I2C messages when raydium_i2c_read_message() is called leads to the Raydium touch IC reporting incorrect information. This is the sequence that was observed

[PATCH] lib/string.c: Disable tree-loop-distribute-patterns

2020-08-18 Thread Arvind Sankar
gcc can transform the loop in a naive implementation of memset/memcpy etc into a call to the function itself. This optimization is enabled by -ftree-loop-distribute-patterns. This has been the case for a while (see eg [0]), but gcc-10.x enables this option at -O2 rather than -O3 as in previous

Re: [PATCH 7/7] media: usb: uvc: no need to check return value of debugfs_create functions

2020-08-18 Thread Laurent Pinchart
Hi Greg, Thank you for the patch. On Tue, Aug 18, 2020 at 03:36:08PM +0200, Greg Kroah-Hartman wrote: > When calling debugfs functions, there is no need to ever check the > return value. The function can work or not, but the code logic should > never do something different based on this. Is

Re: [PATCH 0/4] -ffreestanding/-fno-builtin-* patches

2020-08-18 Thread Arvind Sankar
On Tue, Aug 18, 2020 at 03:59:45PM -0700, Nick Desaulniers wrote: > On Tue, Aug 18, 2020 at 3:25 PM Arvind Sankar wrote: > > > > Another thing that needs to be fixed is that at least lib/string.c needs > > to be compiled with -ffreestanding. > > > > gcc-10 optimizes the generic memset

Re: [PATCH 1/2] lockdep: improve current->(hard|soft)irqs_enabled synchronisation with actual irq state

2020-08-18 Thread Nicholas Piggin
Excerpts from pet...@infradead.org's message of August 19, 2020 1:41 am: > On Tue, Aug 18, 2020 at 05:22:33PM +1000, Nicholas Piggin wrote: >> Excerpts from pet...@infradead.org's message of August 12, 2020 8:35 pm: >> > On Wed, Aug 12, 2020 at 06:18:28PM +1000, Nicholas Piggin wrote: >> >>

Re: [PATCH] rcu: shrink each possible cpu krcp

2020-08-18 Thread Joel Fernandes
On Tue, Aug 18, 2020 at 6:02 PM Paul E. McKenney wrote: > > diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c > > index b8ccd7b5af82..6decb9ad2421 100644 > > --- a/kernel/rcu/tree.c > > +++ b/kernel/rcu/tree.c > > @@ -2336,10 +2336,15 @@ int rcutree_dead_cpu(unsigned int cpu) > > { > >

Re: [PATCH] drivers: input: Use single i2c_transfer transaction when using RM_CMD_BANK_SWITCH

2020-08-18 Thread Dmitry Torokhov
Hi Furquan, On Tue, Aug 18, 2020 at 04:42:15PM -0700, Furquan Shaikh wrote: > On an AMD chromebook, where the same I2C bus is shared by both Raydium > touchscreen and a trackpad device, it is observed that interleaving of > I2C messages when raydium_i2c_read_message() is called leads to the >

Re: [PATCH net-next RFC v2 01/13] devlink: Add reload action option to devlink reload command

2020-08-18 Thread Jakub Kicinski
On Tue, 18 Aug 2020 12:10:36 +0300 Moshe Shemesh wrote: > On 8/17/2020 7:36 PM, Jiri Pirko wrote: > > Mon, Aug 17, 2020 at 11:37:40AM CEST, mo...@mellanox.com wrote: > >> Add devlink reload action to allow the user to request a specific reload > >> action. The action parameter is optional, if

Re: [PATCH] libbpf: convert comma to semicolon

2020-08-18 Thread Alexei Starovoitov
On Tue, Aug 18, 2020 at 8:54 AM Yonghong Song wrote: > > > > On 8/18/20 12:16 AM, Xu Wang wrote: > > Replace a comma between expression statements by a semicolon. > > > > Signed-off-by: Xu Wang > > Acked-by: Yonghong Song Applied. Thanks

Re: [PATCH bpf] net-tun: add type safety to tun_xdp_to_ptr() and tun_ptr_to_xdp()

2020-08-18 Thread Alexei Starovoitov
On Tue, Aug 18, 2020 at 1:39 AM Maciej Żenczykowski wrote: > > From: Maciej Żenczykowski > > Test: builds > Signed-off-by: Maciej Żenczykowski I know it's a trivial patch, but please provide a proper commit log and explain _why_ this type safety is necessary. Also pls use email subject with

Re: [PATCH net] drivers/net/wan/lapbether: Added needed_tailroom

2020-08-18 Thread Xie He
Hi Guillaume Nault, I'm currently trying to fix a driver's "needed_tailroom" setting. This driver is a virtual driver stacked on top of Ethernet devices (similar to pppoe). I believe its needed_tailroom setting should take into account the underlying Ethernet device's needed_tailroom. So I

Re: [PATCH 0/4] -ffreestanding/-fno-builtin-* patches

2020-08-18 Thread Arvind Sankar
On Tue, Aug 18, 2020 at 03:59:45PM -0700, Nick Desaulniers wrote: > On Tue, Aug 18, 2020 at 3:25 PM Arvind Sankar wrote: > > > > Another thing that needs to be fixed is that at least lib/string.c needs > > to be compiled with -ffreestanding. > > > > gcc-10 optimizes the generic memset

linux-next: manual merge of the reset tree with the kspp-gustavo tree

2020-08-18 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the reset tree got a conflict in: drivers/reset/reset-imx7.c between commit: 58e813cceabd ("treewide: Use fallthrough pseudo-keyword") from the kspp-gustavo tree and commit: 2983e2385ff6 ("reset: imx7: add the cm4 reset for i.MX8MQ") from the reset

Re: [PATCH v2 1/3] bcm-vk: add bcm_vk UAPI

2020-08-18 Thread Scott Branden
On 2020-08-18 10:44 a.m., Greg Kroah-Hartman wrote: > On Tue, Aug 18, 2020 at 10:23:42AM -0700, Scott Branden wrote: >> Hi Greg, >> >> On 2020-08-18 6:53 a.m., Greg Kroah-Hartman wrote: >>> On Wed, Aug 05, 2020 at 05:46:29PM -0700, Scott Branden wrote: Add user space api for bcm-vk driver.

Re: [PATCH 0/2] x86/resctrl: Enable user to view thread or core throttling mode

2020-08-18 Thread Fenghua Yu
Hi, X86 maintainers, On Thu, Jul 16, 2020 at 10:53:12AM -0700, Fenghua Yu wrote: > This series enumerates Memory Bandwidth Allocation (MBA) per-thread > feature and introduces a new resctrl file "thread_throttle_mode". > The file shows either "per-thread" on newer systems that implement the MBA >

Re: 5.9-rc1: graphics regression moved from -next to mainline

2020-08-18 Thread Linus Torvalds
Ping on this? The code disassembles to 24: 8b 85 d0 fd ff ffmov-0x230(%ebp),%eax 2a:* c7 03 01 00 40 10movl $0x1041,(%ebx) <-- trapping instruction 30: 89 43 04 mov%eax,0x4(%ebx) 33: 8b 85 b4 fd ff ffmov-0x24c(%ebp),%eax 39: 89 43 08

Re: [PATCH] lib/string.c: Disable tree-loop-distribute-patterns

2020-08-18 Thread Linus Torvalds
On Tue, Aug 18, 2020 at 4:43 PM Arvind Sankar wrote: > > This by itself is insufficient for gcc if the optimization was > explicitly enabled by CFLAGS, so also add a flag to explicitly disable > it. Using -fno-tree-loop-distribute-patterns seems to really be a bit too incestuous with internal

[tip:WIP.x86/cpu] BUILD SUCCESS 1a1e485a4d447cbc4139e023f3177c38b46cb09a

2020-08-18 Thread kernel test robot
allnoconfig i386 randconfig-a005-20200818 i386 randconfig-a002-20200818 i386 randconfig-a001-20200818 i386 randconfig-a006-20200818 i386 randconfig-a003-20200818 i386 randconfig-a004-20200818 x86_64

[tip:ras/core] BUILD SUCCESS 5f2c67bd0f8a470a12c38a8786c42c043e100014

2020-08-18 Thread kernel test robot
allnoconfig i386 randconfig-a005-20200818 i386 randconfig-a002-20200818 i386 randconfig-a001-20200818 i386 randconfig-a006-20200818 i386 randconfig-a003-20200818 i386 randconfig-a004-20200818 x86_64

[tip:x86/mm] BUILD SUCCESS 7a27ef5e83089090f3a4073a9157c862ef00acfc

2020-08-18 Thread kernel test robot
-a002-20200816 i386 randconfig-a003-20200816 i386 randconfig-a006-20200816 i386 randconfig-a004-20200816 i386 randconfig-a005-20200818 i386 randconfig-a002-20200818 i386 randconfig-a001-20200818 i386

[tip:x86/boot] BUILD SUCCESS 527afc212231ea9d585b7709c0ab73263ecf0c85

2020-08-18 Thread kernel test robot
-a003-20200816 i386 randconfig-a006-20200816 i386 randconfig-a004-20200816 i386 randconfig-a005-20200818 i386 randconfig-a002-20200818 i386 randconfig-a001-20200818 i386 randconfig-a006-20200818 i386

[tip:x86/paravirt] BUILD SUCCESS 7c9f80cb76ec9f14c3b25509168b1a2f7942e418

2020-08-18 Thread kernel test robot
-a005-20200816 i386 randconfig-a001-20200816 i386 randconfig-a002-20200816 i386 randconfig-a003-20200816 i386 randconfig-a006-20200816 i386 randconfig-a004-20200816 i386 randconfig-a005-20200818 i386

[tip:sched/urgent] BUILD SUCCESS cc172ff301d8079e941a6eb31758951a6d764084

2020-08-18 Thread kernel test robot
randconfig-a006-20200816 i386 randconfig-a004-20200816 i386 randconfig-a005-20200818 i386 randconfig-a002-20200818 i386 randconfig-a001-20200818 i386 randconfig-a003-20200818 i386 randconfig

[tip:master] BUILD SUCCESS 2b82b6dff5472a551e897f4bac2a68190870ced1

2020-08-18 Thread kernel test robot
randconfig-a005-20200818 i386 randconfig-a002-20200818 i386 randconfig-a001-20200818 i386 randconfig-a006-20200818 i386 randconfig-a003-20200818 i386 randconfig-a004-20200818 x86_64 randconfig-a013-20200818

[tip:perf/urgent] BUILD SUCCESS 24633d901ea44fe99bc9a2d01a3881fa097b78b3

2020-08-18 Thread kernel test robot
randconfig-a002-20200816 i386 randconfig-a003-20200816 i386 randconfig-a006-20200816 i386 randconfig-a004-20200816 i386 randconfig-a005-20200818 i386 randconfig-a002-20200818 i386 randconfig

RE: [PATCH 04/10] remoteproc: imx_rproc: make syscon optional

2020-08-18 Thread Peng Fan
> Subject: Re: [PATCH 04/10] remoteproc: imx_rproc: make syscon optional > > Hi Peng, > > On Fri, Jul 24, 2020 at 04:08:07PM +0800, Peng Fan wrote: > > Make syscon optional, since i.MX8QM/QXP/7ULP not have SRC to control > M4. > > But currently i.MX8QM/QXP/7ULP not added, so still check regmap

Re: [PATCH] Revert "seqlock: lockdep assert non-preemptibility on seqcount_t write"

2020-08-18 Thread Guenter Roeck
On 8/18/20 3:51 PM, Valdis Klētnieks wrote: > On Mon, 10 Aug 2020 07:10:32 -0700, Guenter Roeck said: >>> ERROR: modpost: "__bad_udelay" >>> [drivers/net/ethernet/aquantia/atlantic/atlantic.ko] undefined! >>> >> >> I don't think that is new. If anything, it is surprising that builds don't >>

Re: [PATCH] x86/cpu: Fix typos and improve the comments in sync_core()

2020-08-18 Thread Ricardo Neri
On Tue, Aug 18, 2020 at 07:31:30AM +0200, Ingo Molnar wrote: > > * tip-bot2 for Ricardo Neri wrote: > > > --- a/arch/x86/include/asm/sync_core.h > > +++ b/arch/x86/include/asm/sync_core.h > > @@ -5,6 +5,7 @@ > > #include > > #include > > #include > > +#include > > > > #ifdef

linux-next: manual merge of the v4l-dvb tree with the kspp-gustavo tree

2020-08-18 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the v4l-dvb tree got a conflict in: drivers/media/platform/pxa_camera.c between commit: 58e813cceabd ("treewide: Use fallthrough pseudo-keyword") from the kspp-gustavo tree and commit: ebb965acddac ("media: pxa_camera: Use the new set_mbus_config

[PATCH v2] scsi: ufs: Remove an unpaired ufshcd_scsi_unblock_requests() in err_handler()

2020-08-18 Thread Can Guo
Commit 5586dd8ea250 ("scsi: ufs: Fix a race condition between error handler and runtime PM ops") moves the ufshcd_scsi_block_requests() inside err_handler(), but forgets to remove the ufshcd_scsi_unblock_requests() in the early return path. Correct the coding mistake. Fixes: 5586dd8ea250 ("scsi:

[PATCH bpf-next 2/2] net-tun: eliminate two tun/xdp related function calls from vhost-net

2020-08-18 Thread Maciej Żenczykowski
From: Maciej Żenczykowski This provides a minor performance boost by virtue of inlining instead of cross module function calls. Test: builds Signed-off-by: Maciej Żenczykowski --- drivers/net/tun.c | 18 -- include/linux/if_tun.h | 15 --- 2 files changed, 12

[PATCH bpf-next 1/2] net-tun: add type safety to tun_xdp_to_ptr() and tun_ptr_to_xdp()

2020-08-18 Thread Maciej Żenczykowski
From: Maciej Żenczykowski This reduces likelihood of incorrect use. Test: builds Signed-off-by: Maciej Żenczykowski --- drivers/net/tun.c | 6 +++--- include/linux/if_tun.h | 8 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/net/tun.c b/drivers/net/tun.c

Re: [PATCH 1/3] libnvdimm: Fix memory leaks in of_pmem.c

2020-08-18 Thread Leizhen (ThunderTown)
On 8/19/2020 3:00 AM, Markus Elfring wrote: >> The memory priv->bus_desc.provider_name allocated by kstrdup() should be >> freed. > > * Would an imperative wording be preferred for the change description? > > * I propose to add the tag “Fixes” to the commit message. Thanks for your

linux-next: manual merge of the net-next tree with the kspp-gustavo tree

2020-08-18 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: lib/nlattr.c between commit: 58e813cceabd ("treewide: Use fallthrough pseudo-keyword") from the kspp-gustavo tree and commit: 8aa26c575fb3 ("netlink: make NLA_BINARY validation more flexible") from the net-next

Re: [Intel-gfx] 5.9-rc1: graphics regression moved from -next to mainline

2020-08-18 Thread Dave Airlie
On Wed, 19 Aug 2020 at 10:38, Linus Torvalds wrote: > > Ping on this? > > The code disassembles to > > 24: 8b 85 d0 fd ff ffmov-0x230(%ebp),%eax > 2a:* c7 03 01 00 40 10movl $0x1041,(%ebx) <-- trapping instruction > 30: 89 43 04 mov%eax,0x4(%ebx) > 33:

[PATCH bpf] bpf: verifier: check for packet data access based on target prog

2020-08-18 Thread Udip Pant
While using dynamic program extension (of type BPF_PROG_TYPE_EXT), we need to check the program type of the target program to grant the read / write access to the packet data. The BPF_PROG_TYPE_EXT type can be used to extend types such as XDP, SKB and others. Since the BPF_PROG_TYPE_EXT program

linux-next: manual merge of the wireless-drivers-next tree with the kspp-gustavo tree

2020-08-18 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the wireless-drivers-next tree got a conflict in: drivers/net/wireless/ath/ath11k/dp_rx.c between commit: 58e813cceabd ("treewide: Use fallthrough pseudo-keyword") from the kspp-gustavo tree and commit: 0b294aebb6a0 ("ath11k: Use fallthrough

Re: [PATCH v2 11/25] powerpc/signal: Refactor bad frame logging

2020-08-18 Thread Joe Perches
On Tue, 2020-08-18 at 17:19 +, Christophe Leroy wrote: > The logging of bad frame appears half a dozen of times > and is pretty similar. [] > diff --git a/arch/powerpc/kernel/signal.c b/arch/powerpc/kernel/signal.c [] > @@ -355,3 +355,14 @@ static unsigned long get_tm_stackpointer(struct >

[PATCH] USB: usblcd: Remove the superfluous break

2020-08-18 Thread Jing Xiangfeng
Remove the superfuous break, as there is a 'return' before it. Signed-off-by: Jing Xiangfeng --- drivers/usb/misc/usblcd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/usb/misc/usblcd.c b/drivers/usb/misc/usblcd.c index 61e9e987fe4a..bb546f624a45 100644 ---

Re: Protecting uvcvideo againt USB device disconnect [Was: Re: Protecting usb_set_interface() against device removal]

2020-08-18 Thread Laurent Pinchart
Hi Hans, On Mon, Aug 17, 2020 at 01:00:49PM +0200, Hans Verkuil wrote: > On 17/08/2020 01:51, Laurent Pinchart wrote: > > On Sun, Aug 16, 2020 at 08:54:18AM -0700, Guenter Roeck wrote: > >> On 8/16/20 5:18 AM, Laurent Pinchart wrote: > >>> CC'ing Hans Verkuil and Sakari Ailus for the discussion

[PATCH] checkpatch: Move repeated word test

2020-08-18 Thread Joe Perches
Currently this test only works on .[ch] files. Move the test to check more file types and the commit log. Signed-off-by: Joe Perches --- scripts/checkpatch.pl | 72 +-- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git

Re: [PATCH 1/2] dma-mapping: introduce relaxed version of dma sync

2020-08-18 Thread Cho KyongHo
On Tue, Aug 18, 2020 at 11:07:57AM +0100, Will Deacon wrote: > On Tue, Aug 18, 2020 at 06:37:39PM +0900, Cho KyongHo wrote: > > On Tue, Aug 18, 2020 at 09:28:53AM +0100, Will Deacon wrote: > > > On Tue, Aug 18, 2020 at 04:43:10PM +0900, Cho KyongHo wrote: > > > > Cache maintenance operations in

linux-next: build warning after merge of the sound-asoc tree

2020-08-18 Thread Stephen Rothwell
Hi all, After merging the sound-asoc tree, today's linux-next build (x86_64 allmodconfig) produced this warning: sound/soc/sunxi/sun8i-codec.c:532:12: warning: 'sun8i_codec_component_probe' defined but not used [-Wunused-function] 532 | static int sun8i_codec_component_probe(struct

Re: [PATCH v2] f2fs: fix indefinite loop scanning for free nid

2020-08-18 Thread Chao Yu
On 2020/8/18 18:10, Sahitya Tummala wrote: If the sbi->ckpt->next_free_nid is not NAT block aligned and if there are free nids in that NAT block between the start of the block and next_free_nid, then those free nids will not be scanned in scan_nat_page(). This results into mismatch between

Re: [PATCH] hugetlb_cgroup: convert comma to semicolon

2020-08-18 Thread Andrew Morton
On Tue, 18 Aug 2020 06:43:33 + Xu Wang wrote: > Replace a comma between expression statements by a semicolon. > > ... > > --- a/mm/hugetlb_cgroup.c > +++ b/mm/hugetlb_cgroup.c > @@ -655,7 +655,7 @@ static void __init __hugetlb_cgroup_file_dfl_init(int idx) > snprintf(cft->name,

[rcu:rcu/next] BUILD SUCCESS 398b53b5b3751726c05f14a4331b0de258c0453a

2020-08-18 Thread kernel test robot
allyesconfig mips allmodconfig powerpc defconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a005-20200818 i386

Re: [PATCH] net: Relax the npages test against MAX_SKB_FRAGS

2020-08-18 Thread linmiaohe
Eric Dumazet wrote: >On Tue, Aug 18, 2020 at 4:58 AM Miaohe Lin wrote: >> >> The npages test against MAX_SKB_FRAGS can be relaxed if we succeed to >> allocate high order pages as the note in comment said. >> > > >We do not want this change. > >This interface is used by datagram providers, we do

Re: [PATCH] net: Avoid strcmp current->comm with warncomm when warned >= 5

2020-08-18 Thread linmiaohe
David Miller wrote: >From: Miaohe Lin >Date: Tue, 18 Aug 2020 07:41:32 -0400 > >> @@ -417,7 +417,7 @@ static void sock_warn_obsolete_bsdism(const char >> *name) { >> static int warned; >> static char warncomm[TASK_COMM_LEN]; >> -if (strcmp(warncomm, current->comm) && warned < 5)

Re: [PATCH] uart:8250: change lock order in serial8250_do_startup()

2020-08-18 Thread Sergey Senozhatsky
On (20/08/18 14:52), Petr Mladek wrote: > > I guess we may add some tags here > > > > Fixes: 768aec0b5bcc ("serial: 8250: fix shared interrupts issues with SMP > > and RT kernels") > > Reported-by: Guenter Roeck > > Reported-by: Raul Rangel > > BugLink:

Re: [LKP] Re: [ext4] d3b6f23f71: stress-ng.fiemap.ops_per_sec -60.5% regression

2020-08-18 Thread Xing Zhengjun
On 7/22/2020 2:17 PM, Xing Zhengjun wrote: On 7/15/2020 7:04 PM, Ritesh Harjani wrote: Hello Xing, On 4/7/20 1:30 PM, kernel test robot wrote: Greeting, FYI, we noticed a -60.5% regression of stress-ng.fiemap.ops_per_sec due to commit: commit:

[PATCH] gre6: Fix reception with IP6_TNL_F_RCV_DSCP_COPY

2020-08-18 Thread Mark Tomlinson
When receiving an IPv4 packet inside an IPv6 GRE packet, and the IP6_TNL_F_RCV_DSCP_COPY flag is set on the tunnel, the IPv4 header would get corrupted. This is due to the common ip6_tnl_rcv() function assuming that the inner header is always IPv6. This patch checks the tunnel protocol for IPv4

Re: [Intel-gfx] 5.9-rc1: graphics regression moved from -next to mainline

2020-08-18 Thread Linus Torvalds
On Tue, Aug 18, 2020 at 6:13 PM Dave Airlie wrote: > > I think there's been some discussion about reverting that change for > other reasons, but it's quite likely the culprit. Hmm. It reverts cleanly, but the end result doesn't work, because of other changes. Reverting all of 763fedd6a216

[PATCH 0/7] soundwire: filter out invalid PARITY errors

2020-08-18 Thread Bard Liao
Some codecs may report fake PARITY errors in the initial state. This series will filter them out. Pierre-Louis Bossart (7): soundwire: bus: use property to set interrupt masks soundwire: bus: filter-out unwanted interrupt reports soundwire: slave: add first_interrupt_done status

[PATCH bpf-next] net-veth: add type safety to veth_xdp_to_ptr() and veth_ptr_to_xdp()

2020-08-18 Thread Maciej Żenczykowski
From: Maciej Żenczykowski This reduces likelihood of incorrect use. Test: builds Signed-off-by: Maciej Żenczykowski --- drivers/net/veth.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/veth.c b/drivers/net/veth.c index e56cd562a664..b80cbffeb88e 100644

  1   2   3   4   5   6   7   8   9   10   >