Re: [MPTCP][PATCH net] mptcp: fix kmalloc flag in mptcp_pm_nl_get_local_id

2020-09-10 Thread David Miller
From: Geliang Tang Date: Wed, 9 Sep 2020 11:01:24 +0800 > mptcp_pm_nl_get_local_id may be called in interrupt context, so we need to > use GFP_ATOMIC flag to allocate memory to avoid sleeping in atomic context. ... > Fixes: 01cacb00b35cb ("mptcp: add netlink-based PM") > Signed-off-by: Geliang

[PATCH v2 4/4] crypto: allwinner/sun8i - Simplify with dev_err_probe()

2020-09-10 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and the error value gets printed. Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. None --- drivers/crypto/allwinner/sun8i-ce/sun8i-ce-core.c | 9 +++--

[tip: locking/core] seqlock: seqcount_t: Implement all read APIs as statement expressions

2020-09-10 Thread tip-bot2 for Ahmed S. Darwish
The following commit has been merged into the locking/core branch of tip: Commit-ID: 52ac39e5db5148f70392edb654ad882ac8da88a8 Gitweb: https://git.kernel.org/tip/52ac39e5db5148f70392edb654ad882ac8da88a8 Author:Ahmed S. Darwish AuthorDate:Fri, 04 Sep 2020 17:32:29 +02:00

Re: [PATCH net-next] net: stmmac: Remove unused variable 'ret' at stmmac_rx_buf1_len()

2020-09-10 Thread Jakub Kicinski
On Thu, 10 Sep 2020 10:42:45 +0800 Luo Jiaxing wrote: > Fixes the following warning when using W=1 to build kernel: > > drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:3634:6: warning: variable > ‘ret’ set but not used [-Wunused-but-set-variable] > int ret, coe = priv->hw->rx_csum; > > When

[tip: locking/core] seqlock: seqcount_LOCKNAME_t: Introduce PREEMPT_RT support

2020-09-10 Thread tip-bot2 for Ahmed S. Darwish
The following commit has been merged into the locking/core branch of tip: Commit-ID: 8117ab508f9c476e0a10b9db7f4818f784cf3176 Gitweb: https://git.kernel.org/tip/8117ab508f9c476e0a10b9db7f4818f784cf3176 Author:Ahmed S. Darwish AuthorDate:Fri, 04 Sep 2020 17:32:30 +02:00

[tip: locking/core] seqlock: seqcount_LOCKNAME_t: Standardize naming convention

2020-09-10 Thread tip-bot2 for Ahmed S. Darwish
The following commit has been merged into the locking/core branch of tip: Commit-ID: 6dd699b13d53f26a7603702d8bada3482312df74 Gitweb: https://git.kernel.org/tip/6dd699b13d53f26a7603702d8bada3482312df74 Author:Ahmed S. Darwish AuthorDate:Fri, 04 Sep 2020 17:32:27 +02:00

[tip: locking/core] seqlock: PREEMPT_RT: Do not starve seqlock_t writers

2020-09-10 Thread tip-bot2 for Ahmed S. Darwish
The following commit has been merged into the locking/core branch of tip: Commit-ID: 1909760f5fc3f123e47b4e24e0ccdc0fc8f3f106 Gitweb: https://git.kernel.org/tip/1909760f5fc3f123e47b4e24e0ccdc0fc8f3f106 Author:Ahmed S. Darwish AuthorDate:Fri, 04 Sep 2020 17:32:31 +02:00

[tip: locking/core] time/sched_clock: Use raw_read_seqcount_latch() during suspend

2020-09-10 Thread tip-bot2 for Ahmed S. Darwish
The following commit has been merged into the locking/core branch of tip: Commit-ID: 58faf20a086bd34f91983609e26eac3d5fe76be3 Gitweb: https://git.kernel.org/tip/58faf20a086bd34f91983609e26eac3d5fe76be3 Author:Ahmed S. Darwish AuthorDate:Thu, 27 Aug 2020 13:40:37 +02:00

[tip: locking/core] time/sched_clock: Use seqcount_latch_t

2020-09-10 Thread tip-bot2 for Ahmed S. Darwish
The following commit has been merged into the locking/core branch of tip: Commit-ID: a690ed07353ec45f056b0a6f87c23a12a59c030d Gitweb: https://git.kernel.org/tip/a690ed07353ec45f056b0a6f87c23a12a59c030d Author:Ahmed S. Darwish AuthorDate:Thu, 27 Aug 2020 13:40:40 +02:00

[tip: locking/core] x86/tsc: Use seqcount_latch_t

2020-09-10 Thread tip-bot2 for Ahmed S. Darwish
The following commit has been merged into the locking/core branch of tip: Commit-ID: a1f1066133d85d5f42217cc72a2490bb7aa889c5 Gitweb: https://git.kernel.org/tip/a1f1066133d85d5f42217cc72a2490bb7aa889c5 Author:Ahmed S. Darwish AuthorDate:Thu, 27 Aug 2020 13:40:42 +02:00

[tip: locking/core] rbtree_latch: Use seqcount_latch_t

2020-09-10 Thread tip-bot2 for Ahmed S. Darwish
The following commit has been merged into the locking/core branch of tip: Commit-ID: 24bf401cebfd630cc9e2c3746e43945e836626f9 Gitweb: https://git.kernel.org/tip/24bf401cebfd630cc9e2c3746e43945e836626f9 Author:Ahmed S. Darwish AuthorDate:Thu, 27 Aug 2020 13:40:43 +02:00

[tip: locking/core] seqlock: Use unique prefix for seqcount_t property accessors

2020-09-10 Thread tip-bot2 for Ahmed S. Darwish
The following commit has been merged into the locking/core branch of tip: Commit-ID: 5cdd25572a29e46f932d3e6eedbd07429de66431 Gitweb: https://git.kernel.org/tip/5cdd25572a29e46f932d3e6eedbd07429de66431 Author:Ahmed S. Darwish AuthorDate:Fri, 04 Sep 2020 17:32:28 +02:00

[tip: locking/core] mm/swap: Do not abuse the seqcount_t latching API

2020-09-10 Thread tip-bot2 for Ahmed S. Darwish
The following commit has been merged into the locking/core branch of tip: Commit-ID: 6446a5131e24a834606c15a965fa920041581c2c Gitweb: https://git.kernel.org/tip/6446a5131e24a834606c15a965fa920041581c2c Author:Ahmed S. Darwish AuthorDate:Thu, 27 Aug 2020 13:40:38 +02:00

[tip: locking/core] seqlock: seqcount latch APIs: Only allow seqcount_latch_t

2020-09-10 Thread tip-bot2 for Ahmed S. Darwish
The following commit has been merged into the locking/core branch of tip: Commit-ID: 0c9794c8b6781eb7dad8e19b78c5d4557790597a Gitweb: https://git.kernel.org/tip/0c9794c8b6781eb7dad8e19b78c5d4557790597a Author:Ahmed S. Darwish AuthorDate:Thu, 27 Aug 2020 13:40:44 +02:00

Re: [PATCH v3] x86/uaccess: Use pointer masking to limit uaccess speculation

2020-09-10 Thread Peter Zijlstra
On Thu, Sep 10, 2020 at 12:22:53PM -0500, Josh Poimboeuf wrote: > The x86 uaccess code uses barrier_nospec() in various places to prevent > speculative dereferencing of user-controlled pointers (which might be > combined with further gadgets or CPU bugs to leak data). > > There are some issues

Re: [PATCH net-next v2 0/3] Allow more than 255 IPv4 multicast interfaces

2020-09-10 Thread David Miller
From: Paul Davey Date: Tue, 8 Sep 2020 10:04:05 +1200 > Currently it is not possible to use more than 255 multicast interfaces > for IPv4 due to the format of the igmpmsg header which only has 8 bits > available for the VIF ID. There is space available in the igmpmsg > header to store the full

[tip: locking/core] timekeeping: Use seqcount_latch_t

2020-09-10 Thread tip-bot2 for Ahmed S. Darwish
The following commit has been merged into the locking/core branch of tip: Commit-ID: 249d053835320cb3e7c00066cf085a6ba9b1f126 Gitweb: https://git.kernel.org/tip/249d053835320cb3e7c00066cf085a6ba9b1f126 Author:Ahmed S. Darwish AuthorDate:Thu, 27 Aug 2020 13:40:41 +02:00

[tip: locking/core] seqlock: Introduce seqcount_latch_t

2020-09-10 Thread tip-bot2 for Ahmed S. Darwish
The following commit has been merged into the locking/core branch of tip: Commit-ID: 80793c3471d90d4dc2b48deadb6413bdfe39500f Gitweb: https://git.kernel.org/tip/80793c3471d90d4dc2b48deadb6413bdfe39500f Author:Ahmed S. Darwish AuthorDate:Thu, 27 Aug 2020 13:40:39 +02:00

Re: remove the last set_fs() in common code, and remove it for x86 and powerpc v3

2020-09-10 Thread Segher Boessenkool
On Wed, Sep 09, 2020 at 02:33:36PM -0700, Linus Torvalds wrote: > On Wed, Sep 9, 2020 at 11:42 AM Segher Boessenkool > wrote: > > > > It will not work like this in GCC, no. The LLVM people know about that. > > I do not know why they insist on pushing this, being incompatible and > > everything.

Re: [PATCH] lib: Fix some broken comments

2020-09-10 Thread Kees Cook
On Thu, Sep 10, 2020 at 05:05:24AM -0400, Miaohe Lin wrote: > Fix some weird and confusing comments. > > Signed-off-by: Miaohe Lin Reviewed-by: Kees Cook -- Kees Cook

Re: [PATCH 3/3] Documentation: fpga: dfl: Add description for VFIO Mdev support

2020-09-10 Thread Alex Williamson
On Thu, 10 Sep 2020 16:32:30 +0800 Xu Yilun wrote: > Hi Alex: > > Thanks for your quick response and is helpful to me. I did some more > investigation and some comments inline. > > On Tue, Sep 08, 2020 at 03:10:02PM -0600, Alex Williamson wrote: > > On Tue, 8 Sep 2020 15:13:32 +0800 > > Xu

Re: [PATCH v2] platform/chrome: Don't populate lightbar device if it isn't there

2020-09-10 Thread Enric Balletbo i Serra
Hi, On 10/9/20 16:52, Guenter Roeck wrote: > On Thu, Sep 10, 2020 at 7:32 AM Enric Balletbo i Serra > wrote: >> >> Hi, >> >> On 10/9/20 16:18, Guenter Roeck wrote: >>> On Wed, Sep 9, 2020 at 3:42 PM Stephen Boyd wrote: The cros ec lightbar driver has a check in probe to fail early if

Re: [PATCH] PCI: Don't use Printk in raw_spinlocks

2020-09-10 Thread Florian Fainelli
On 9/10/2020 12:20 PM, Bjorn Helgaas wrote: On Thu, Sep 10, 2020 at 11:50:07AM -0700, Florian Fainelli wrote: On 9/10/2020 11:46 AM, Bjorn Helgaas wrote: On Thu, Sep 10, 2020 at 08:21:06AM -0600, Rob Herring wrote: On Wed, Sep 9, 2020 at 8:07 PM Bjorn Helgaas wrote: [+cc Mark, Florian,

Re: [PATCH v2 07/10] rtc: Introduce RTC_TIMESTAMP_END_2255

2020-09-10 Thread Jonathan Neuschäfer
On Tue, Sep 08, 2020 at 11:39:46AM +0200, Alexandre Belloni wrote: > On 05/09/2020 15:32:27+0200, Jonathan Neuschäfer wrote: [...] > > #define RTC_TIMESTAMP_END_2079 3471292799LL /* 2079-12-31 > > 23:59:59 */ > > #define RTC_TIMESTAMP_END_2099 4102444799LL /* 2099-12-31

Re: [RFC][Patch v1 3/3] PCI: Limit pci_alloc_irq_vectors as per housekeeping CPUs

2020-09-10 Thread Marcelo Tosatti
On Wed, Sep 09, 2020 at 11:08:18AM -0400, Nitesh Narayan Lal wrote: > This patch limits the pci_alloc_irq_vectors max vectors that is passed on > by the caller based on the available housekeeping CPUs by only using the > minimum of the two. > > A minimum of the max_vecs passed and available

[PATCH 1/4] dt-bindings: clock: Add AST2600 APLLdivN definition

2020-09-10 Thread Eddie James
Add a new clock definition for the "APLLdivN" as described in the AST2600 specification. This clock is simply the APLL divided by a factor defined in the SCU registers. It is the input to the FSI bus. Signed-off-by: Eddie James --- include/dt-bindings/clock/ast2600-clock.h | 1 + 1 file

Re: [PATCH] PCI: Don't use Printk in raw_spinlocks

2020-09-10 Thread Bjorn Helgaas
On Thu, Sep 10, 2020 at 11:50:07AM -0700, Florian Fainelli wrote: > On 9/10/2020 11:46 AM, Bjorn Helgaas wrote: > > On Thu, Sep 10, 2020 at 08:21:06AM -0600, Rob Herring wrote: > > > On Wed, Sep 9, 2020 at 8:07 PM Bjorn Helgaas wrote: > > > > > > > > [+cc Mark, Florian, Rob, Scott] > > > > > >

Re: [PATCH -rc v1] gcov: Disable gcov build with GCC 10

2020-09-10 Thread Colin Ian King
On 10/09/2020 13:52, Peter Oberparleiter wrote: > On 04.09.2020 17:58, Leon Romanovsky wrote: >> GCOV built with GCC 10 doesn't initialize n_function variable. >> This produces different kernel panics as was seen by Colin in >> Ubuntu [1] and me in FC 32 [2]. >> >> As a workaround, let's disable

Re: remove the last set_fs() in common code, and remove it for x86 and powerpc v3

2020-09-10 Thread Segher Boessenkool
On Thu, Sep 10, 2020 at 12:26:53PM +, David Laight wrote: > Actually this is pretty sound: > __label__ label; > register int eax asm ("eax"); > // Ensure eax can't be reloaded from anywhere > // In particular it can't be reloaded after the asm goto line > asm

Re: [PATCH v11 03/11] PCI: brcmstb: Add bcm7278 register info

2020-09-10 Thread Rob Herring
On Mon, Aug 24, 2020 at 03:30:16PM -0400, Jim Quinlan wrote: > From: Jim Quinlan > > Add in compatibility strings and code for three Broadcom STB chips. Some > of the register locations, shifts, and masks are different for certain > chips, requiring the use of different constants based on

Re: [PATCH] Revert "net: linkwatch: add check for netdevice being present to linkwatch_do_dev"

2020-09-10 Thread David Miller
From: Geert Uytterhoeven Date: Tue, 1 Sep 2020 17:02:37 +0200 > This reverts commit 124eee3f6955f7aa19b9e6ff5c9b6d37cb3d1e2c. > > Inami-san reported that this commit breaks bridge support in a Xen > environment, and that reverting it fixes this. > > During system resume, bridge ports are no

Re: [PATCH -next] btrfs: Remove unused function calc_global_rsv_need_space()

2020-09-10 Thread David Sterba
On Wed, Sep 09, 2020 at 09:51:42PM +0800, YueHaibing wrote: > It is not used since commit 0096420adb03 ("btrfs: do not > account global reserve in can_overcommit") > > Signed-off-by: YueHaibing Added to misc-next, thanks.

Re: [PATCH -rc v1] gcov: Disable gcov build with GCC 10

2020-09-10 Thread Linus Torvalds
On Thu, Sep 10, 2020 at 5:52 AM Peter Oberparleiter wrote: > > Fix this by updating the in-kernel GCOV_COUNTERS value. Also re-enable > config GCOV_KERNEL for use with GCC 10. Lovely. Is there some way we could see this value automatically, or at least have a check for it? Right now it's that

[PATCH 0/4] clk: AST2600 and FSI: Add APLL to control FSI bus frequency

2020-09-10 Thread Eddie James
Add functionality to control the APLL clock on the AST2600. The APLL provides the clock for the FSI master on the AST2600. Then add a devicetree property to set the AST2600 FSI master bus frequency. Eddie James (4): dt-bindings: clock: Add AST2600 APLLdivN definition clk: ast2600: Add

Re: [PATCH] sched.h: drop in_ubsan field when UBSAN is in trap mode

2020-09-10 Thread Kees Cook
On Thu, Sep 10, 2020 at 02:48:02PM +0100, Elena Petrova wrote: > in_ubsan field of task_struct is only used in lib/ubsan.c, which in its > turn is used only `ifneq ($(CONFIG_UBSAN_TRAP),y)`. > > Removing unnecessary field from a task_struct will help preserve the > ABI between vanilla and

Re: [PATCH] PCI/ASPM: Enable ASPM for links under VMD domain

2020-09-10 Thread Bjorn Helgaas
On Thu, Sep 10, 2020 at 06:52:48PM +, Derrick, Jonathan wrote: > On Thu, 2020-09-10 at 12:38 -0500, Bjorn Helgaas wrote: > > On Thu, Sep 10, 2020 at 04:33:39PM +, Derrick, Jonathan wrote: > > > On Wed, 2020-09-09 at 20:55 -0500, Bjorn Helgaas wrote: > > > > On Fri, Aug 21, 2020 at

Re: [PATCH 00/15] Adding GAUDI NIC code to habanalabs driver

2020-09-10 Thread Greg KH
On Thu, Sep 10, 2020 at 06:03:13PM +0300, Oded Gabbay wrote: > This patch-set adds support for initializing and using the GAUDI NIC ports, > functioning as scale-out interconnect when doing distributed Deep Learning > training. The training can be performed over tens of thousands of GAUDIs > and

Re: [PATCH V2 1/2] thermal: ti-soc-thermal: Enable addition power management

2020-09-10 Thread Daniel Lezcano
On 10/09/2020 20:01, Andreas Kemnade wrote: > On Wed, 19 Aug 2020 07:59:23 -0500 > Adam Ford wrote: > >> The bandgap sensor can be idled when the processor is too, but it >> isn't currently being done, so the power consumption of OMAP3 >> boards can elevated if the bangap sensor is enabled. >>

Re: [PATCH v2 05/10] pwm: ntxec: Add driver for PWM function in Netronix EC

2020-09-10 Thread Jonathan Neuschäfer
On Tue, Sep 08, 2020 at 10:35:38AM +0100, Lee Jones wrote: > On Tue, 08 Sep 2020, Andy Shevchenko wrote: > > > On Tue, Sep 8, 2020 at 11:14 AM Lee Jones wrote: > > > On Sat, 05 Sep 2020, Andy Shevchenko wrote: > > > > On Saturday, September 5, 2020, Jonathan Neuschäfer > > > > [...] > > > > >

Re: rework check_disk_change() v2

2020-09-10 Thread Jens Axboe
On 9/8/20 8:53 AM, Christoph Hellwig wrote: > Hi Jens, > > this series replaced the not very nice check_disk_change() function with > a new bdev_media_changed that avoids having the ->revalidate_disk call > at its end. As a result ->revalidate_disk can be removed from a lot of > drivers.

Re: [PATCH 00/15] Adding GAUDI NIC code to habanalabs driver

2020-09-10 Thread Oded Gabbay
On Thu, Sep 10, 2020 at 6:54 PM Greg KH wrote: > > On Thu, Sep 10, 2020 at 06:03:13PM +0300, Oded Gabbay wrote: > > This patch-set adds support for initializing and using the GAUDI NIC ports, > > functioning as scale-out interconnect when doing distributed Deep Learning > > training. The training

Re: [PATCH v2 01/15] dt-bindings: gpio: convert bindings for NXP PCA953x family to dtschema

2020-09-10 Thread Nishanth Menon
On 20:53-20200910, Krzysztof Kozlowski wrote: > On Thu, 10 Sep 2020 at 20:28, Nishanth Menon wrote: > > > > On 19:57-20200910, Krzysztof Kozlowski wrote: > > [...] > > > + wakeup-source: > > > +$ref: /schemas/types.yaml#/definitions/flag > > >

[PATCH net-next 2/3] i40e: Fix some kernel-doc warnings in i40e_common.c

2020-09-10 Thread Wang Hai
Fixes the following W=1 kernel build warning(s): drivers/net/ethernet/intel/i40e/i40e_common.c:3778: warning: Excess function parameter 'buff' description in 'i40e_aq_start_lldp' drivers/net/ethernet/intel/i40e/i40e_common.c:3778: warning: Excess function parameter 'buff_size' description in

[PATCH net-next 1/3] i40e: Fix some kernel-doc warnings in i40e_client.c

2020-09-10 Thread Wang Hai
Fixes the following W=1 kernel build warning(s): drivers/net/ethernet/intel/i40e/i40e_client.c:286: warning: Excess function parameter 'client' description in 'i40e_client_add_instance' drivers/net/ethernet/intel/i40e/i40e_client.c:286: warning: Excess function parameter 'existing' description

Re: [PATCH] vfs: add fchmodat2 syscall

2020-09-10 Thread Rich Felker
On Thu, Sep 10, 2020 at 04:18:28PM +0100, Al Viro wrote: > On Thu, Sep 10, 2020 at 10:23:37AM -0400, Rich Felker wrote: > > > It was determined (see glibc issue #14578 and commit a492b1e5ef) that, > > on some filesystems, performing chmod on the link itself produces a > > change in the inode's

[PATCH net-next 0/3] Fix some kernel-doc warnings for i40e

2020-09-10 Thread Wang Hai
Wang Hai (3): i40e: Fix some kernel-doc warnings in i40e_client.c i40e: Fix some kernel-doc warnings in i40e_common.c i40e: Fix a kernel-doc warning in i40e_ptp.c drivers/net/ethernet/intel/i40e/i40e_client.c | 2 -- drivers/net/ethernet/intel/i40e/i40e_common.c | 2 --

Re: [PATCH v2 05/10] pwm: ntxec: Add driver for PWM function in Netronix EC

2020-09-10 Thread Jonathan Neuschäfer
On Sat, Sep 05, 2020 at 09:08:49PM +0300, Andy Shevchenko wrote: > On Saturday, September 5, 2020, Jonathan Neuschäfer > wrote: > > > The Netronix EC provides a PWM output which is used for the backlight > > on some ebook readers. This patches adds a driver for the PWM output. > > > >

Re: [RFC PATCH v2 1/3] mm/gup: fix gup_fast with dynamic page table folding

2020-09-10 Thread Gerald Schaefer
On Thu, 10 Sep 2020 11:33:17 -0700 Linus Torvalds wrote: > On Thu, Sep 10, 2020 at 11:13 AM Jason Gunthorpe wrote: > > > > So.. To change away from the stack option I think we'd have to pass > > the READ_ONCE value to pXX_offset() as an extra argument instead of it > > derefing the pointer

Re: [PATCH v11 04/11] PCI: brcmstb: Add suspend and resume pm_ops

2020-09-10 Thread Jim Quinlan
On Thu, Sep 10, 2020 at 2:50 PM Rob Herring wrote: > > On Thu, Sep 10, 2020 at 10:42 AM Jim Quinlan > wrote: > > > > On Thu, Sep 10, 2020 at 11:56 AM Rob Herring wrote: > > > > > > On Mon, Aug 24, 2020 at 03:30:17PM -0400, Jim Quinlan wrote: > > > > From: Jim Quinlan > > > > > > > > Broadcom

Re: [PATCH] scripts/setlocalversion: make git describe output more reliable

2020-09-10 Thread Brian Norris
On Thu, Sep 10, 2020 at 7:35 AM Masahiro Yamada wrote: > On Thu, Sep 10, 2020 at 8:57 PM Rasmus Villemoes > wrote: > > So in order to avoid `uname -a` output relying on such random details > > of the build environment which are rather hard to ensure are > > consistent between developers and

Re: [PATCH v11 04/11] PCI: brcmstb: Add suspend and resume pm_ops

2020-09-10 Thread Jim Quinlan
On Thu, Sep 10, 2020 at 3:08 PM Florian Fainelli wrote: > > > > On 9/10/2020 12:05 PM, Jim Quinlan wrote: > > On Thu, Sep 10, 2020 at 2:50 PM Rob Herring wrote: > >> > >> On Thu, Sep 10, 2020 at 10:42 AM Jim Quinlan > >> wrote: > >>> > >>> On Thu, Sep 10, 2020 at 11:56 AM Rob Herring wrote: >

Re: [PATCH v5] perf: arm_dsu: Support DSU ACPI devices

2020-09-10 Thread Tuan Phan
Hi Will, > On Sep 10, 2020, at 6:40 AM, kernel test robot wrote: > > Hi Tuan, > > Thank you for the patch! Perhaps something to improve: > > [auto build test WARNING on linus/master] > [also build test WARNING on v5.9-rc4 next-20200910] > [If your patch is ap

Re: [PATCH v11 04/11] PCI: brcmstb: Add suspend and resume pm_ops

2020-09-10 Thread Florian Fainelli
On 9/10/2020 12:05 PM, Jim Quinlan wrote: On Thu, Sep 10, 2020 at 2:50 PM Rob Herring wrote: On Thu, Sep 10, 2020 at 10:42 AM Jim Quinlan wrote: On Thu, Sep 10, 2020 at 11:56 AM Rob Herring wrote: On Mon, Aug 24, 2020 at 03:30:17PM -0400, Jim Quinlan wrote: From: Jim Quinlan

[PATCH net] net: dec: de2104x: Increase receive ring size for Tulip

2020-09-10 Thread Lucy Yan
Increase Rx ring size to address issue where hardware is reaching the receive work limit. Before: [ 102.223342] de2104x :17:00.0 eth0: rx work limit reached [ 102.245695] de2104x :17:00.0 eth0: rx work limit reached [ 102.251387] de2104x :17:00.0 eth0: rx work limit reached [

Re: [PATCH] hwmon: pmbus: max20730: adjust the vout reading given voltage divider

2020-09-10 Thread Guenter Roeck
On 9/10/20 10:08 AM, Chu Lin wrote: > Problem: > We use voltage dividers so that the voltage presented at the voltage > sense pins is confusing. We might need to convert these readings to more > meaningful readings given the voltage divider. > > Solution: > Read the voltage divider resistance

Re: [PATCH v11 05/11] PCI: brcmstb: Add bcm7278 PERST# support

2020-09-10 Thread Rob Herring
On Mon, Aug 24, 2020 at 03:30:18PM -0400, Jim Quinlan wrote: > From: Jim Quinlan > > The PERST# bit was moved to a different register in 7278-type STB chips. > In addition, the polarity of the bit was also changed; for other chips > writing a 1 specified assert; for 7278-type chips, writing a 0

Re: [PATCH] mm: memcontrol: Add the missing numa stat of anon and file for cgroup v2

2020-09-10 Thread Shakeel Butt
On Thu, Sep 10, 2020 at 1:46 AM Muchun Song wrote: > > In the cgroup v1, we have a numa_stat interface. This is useful for > providing visibility into the numa locality information within an > memcg since the pages are allowed to be allocated from any physical > node. One of the use cases is

[PATCH 2/4] clk: ast2600: Add functionality to the APLL clock

2020-09-10 Thread Eddie James
Register a clock with it's own operations to describe the APLL on the AST2600. The clock is controlled by an SCU register containing a multiplier and divider of the 25MHz input clock. The functionality to change the APLL is necessary to finely control the FSI bus frequency. Signed-off-by: Eddie

[PATCH 02/15] habanalabs/gaudi: add NIC firmware-related definitions

2020-09-10 Thread Oded Gabbay
From: Omer Shpigelman Add new structures and messages that the driver use to interact with the firmware to receive information and events (errors) about GAUDI's NIC. Signed-off-by: Omer Shpigelman Reviewed-by: Oded Gabbay Signed-off-by: Oded Gabbay ---

drivers/regulator/mp886x.c:203:34: warning: unused variable 'mp886x_dt_ids'

2020-09-10 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 7fe10096c1508c7f033d34d0741809f8eecc1ed4 commit: 97be82880b617fb6bc06ff19e3ddb039501b2dcf regulator: add support for MP8869 regulator date: 6 months ago config: x86_64-randconfig-a011-20200910 (attached

[tip: objtool/core] objtool: Decode unwind hint register depending on architecture

2020-09-10 Thread tip-bot2 for Julien Thierry
The following commit has been merged into the objtool/core branch of tip: Commit-ID: edea9e6bcbeaa41718b022a8b99ffddef2330bbc Gitweb: https://git.kernel.org/tip/edea9e6bcbeaa41718b022a8b99ffddef2330bbc Author:Julien Thierry AuthorDate:Fri, 04 Sep 2020 16:30:28 +01:00

[tip: objtool/core] objtool: Only include valid definitions depending on source file type

2020-09-10 Thread tip-bot2 for Julien Thierry
The following commit has been merged into the objtool/core branch of tip: Commit-ID: 5567c6c39f3404e4492c18c0c1abff5556684f6e Gitweb: https://git.kernel.org/tip/5567c6c39f3404e4492c18c0c1abff5556684f6e Author:Julien Thierry AuthorDate:Fri, 04 Sep 2020 16:30:26 +01:00

[tip: objtool/core] objtool: Move ORC logic out of check()

2020-09-10 Thread tip-bot2 for Julien Thierry
The following commit has been merged into the objtool/core branch of tip: Commit-ID: d44becb9decf4438d1e555b1428634964d2e5764 Gitweb: https://git.kernel.org/tip/d44becb9decf4438d1e555b1428634964d2e5764 Author:Julien Thierry AuthorDate:Tue, 25 Aug 2020 13:47:40 +01:00

[tip: objtool/core] objtool: Move object file loading out of check()

2020-09-10 Thread tip-bot2 for Julien Thierry
The following commit has been merged into the objtool/core branch of tip: Commit-ID: 6545eb030e6f14cef8793a86312483c788eaee46 Gitweb: https://git.kernel.org/tip/6545eb030e6f14cef8793a86312483c788eaee46 Author:Julien Thierry AuthorDate:Tue, 25 Aug 2020 13:47:39 +01:00

Re: [RFC PATCH] x86/mce: Make mce_rdmsrl() do a plain RDMSR only

2020-09-10 Thread Borislav Petkov
On Thu, Sep 10, 2020 at 11:42:06AM -0700, Luck, Tony wrote: > With only one call site the rIP isn't super helpful at the moment. But > once you start selling those "MSR or die" T-shirts everyone will want > to use this :-) :-))) > Do we need the stack trace twice? Once from your fixup >

[PATCH v4 3/3] remoteproc: qcom: Add minidump id for sm8150 modem remoteproc

2020-09-10 Thread Siddharth Gupta
Add minidump id for modem in sm8150 chipset. Signed-off-by: Rishabh Bhatnagar Signed-off-by: Gurbir Arora Signed-off-by: Siddharth Gupta --- drivers/remoteproc/qcom_q6v5_pas.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/remoteproc/qcom_q6v5_pas.c

[PATCH v4 1/3] remoteproc: core: Add ops to enable custom coredump functionality

2020-09-10 Thread Siddharth Gupta
Each remoteproc might have different requirements for coredumps and might want to choose the type of dumps it wants to collect. This change allows remoteproc drivers to specify their own custom dump function to be executed in place of rproc_coredump. If the coredump op is not specified by the

[PATCH v4 0/3] Introduce mini-dump support for remoteproc

2020-09-10 Thread Siddharth Gupta
Sometimes firmware sizes can be in ten's of MB's and reading all the memory during coredump can consume lot of time and memory. Introducing support for mini-dumps. Mini-dump contains smallest amount of useful information, that could help to debug subsystem crashes. During bootup memory is

[tip: objtool/core] objtool: Make sync-check consider the target architecture

2020-09-10 Thread tip-bot2 for Julien Thierry
The following commit has been merged into the objtool/core branch of tip: Commit-ID: bb090fdb70ecc51c91e1d86345adae064caa06c8 Gitweb: https://git.kernel.org/tip/bb090fdb70ecc51c91e1d86345adae064caa06c8 Author:Julien Thierry AuthorDate:Fri, 04 Sep 2020 16:30:20 +01:00

[tip: objtool/core] objtool: Skip ORC entry creation for non-text sections

2020-09-10 Thread tip-bot2 for Julien Thierry
The following commit has been merged into the objtool/core branch of tip: Commit-ID: 3eaecac88a17f7fdf29561a197dc728f7f697c60 Gitweb: https://git.kernel.org/tip/3eaecac88a17f7fdf29561a197dc728f7f697c60 Author:Julien Thierry AuthorDate:Tue, 25 Aug 2020 13:47:41 +01:00

[PATCH v4 2/3] remoteproc: qcom: Add capability to collect minidumps

2020-09-10 Thread Siddharth Gupta
This patch adds support for collecting minidump in the event of remoteproc crash. Parse the minidump table based on remoteproc's unique minidump-id, read all memory regions from the remoteproc's minidump table entry and expose the memory to userspace. The remoteproc platform driver can choose to

[tip: objtool/core] objtool: Group headers to check in a single list

2020-09-10 Thread tip-bot2 for Julien Thierry
The following commit has been merged into the objtool/core branch of tip: Commit-ID: 3890b8d92710af75baedf291832cf40193b33454 Gitweb: https://git.kernel.org/tip/3890b8d92710af75baedf291832cf40193b33454 Author:Julien Thierry AuthorDate:Fri, 04 Sep 2020 16:30:19 +01:00

[tip: objtool/core] objtool: Define 'struct orc_entry' only when needed

2020-09-10 Thread tip-bot2 for Julien Thierry
The following commit has been merged into the objtool/core branch of tip: Commit-ID: 66734e32463bd1346466f92662feeaccef26e94f Gitweb: https://git.kernel.org/tip/66734e32463bd1346466f92662feeaccef26e94f Author:Julien Thierry AuthorDate:Tue, 25 Aug 2020 13:47:42 +01:00

[tip: objtool/core] objtool: Move macros describing structures to arch-dependent code

2020-09-10 Thread tip-bot2 for Julien Thierry
The following commit has been merged into the objtool/core branch of tip: Commit-ID: c8ea0d672521ef663f0f9a77faa94d0d47102d77 Gitweb: https://git.kernel.org/tip/c8ea0d672521ef663f0f9a77faa94d0d47102d77 Author:Julien Thierry AuthorDate:Fri, 04 Sep 2020 16:30:21 +01:00

[tip: objtool/core] objtool: Refactor jump table code to support other architectures

2020-09-10 Thread tip-bot2 for Raphael Gault
The following commit has been merged into the objtool/core branch of tip: Commit-ID: d871f7b5a6a2a30f4eba577fd56941fa3657e394 Gitweb: https://git.kernel.org/tip/d871f7b5a6a2a30f4eba577fd56941fa3657e394 Author:Raphael Gault AuthorDate:Fri, 04 Sep 2020 16:30:24 +01:00

[tip: objtool/core] objtool: Abstract alternative special case handling

2020-09-10 Thread tip-bot2 for Julien Thierry
The following commit has been merged into the objtool/core branch of tip: Commit-ID: eda3dc905834dc9c99132f987f77b68cf53a8682 Gitweb: https://git.kernel.org/tip/eda3dc905834dc9c99132f987f77b68cf53a8682 Author:Julien Thierry AuthorDate:Fri, 04 Sep 2020 16:30:22 +01:00

[tip: objtool/core] objtool: Rename frame.h -> objtool.h

2020-09-10 Thread tip-bot2 for Julien Thierry
The following commit has been merged into the objtool/core branch of tip: Commit-ID: 00089c048eb4a8250325efb32a2724fd0da68cce Gitweb: https://git.kernel.org/tip/00089c048eb4a8250325efb32a2724fd0da68cce Author:Julien Thierry AuthorDate:Fri, 04 Sep 2020 16:30:25 +01:00

[tip: objtool/core] objtool: Make relocation in alternative handling arch dependent

2020-09-10 Thread tip-bot2 for Julien Thierry
The following commit has been merged into the objtool/core branch of tip: Commit-ID: 45245f51f9a4b9a883a8c94468473c1de9b88153 Gitweb: https://git.kernel.org/tip/45245f51f9a4b9a883a8c94468473c1de9b88153 Author:Julien Thierry AuthorDate:Fri, 04 Sep 2020 16:30:23 +01:00

[tip: objtool/core] objtool: Make unwind hint definitions available to other architectures

2020-09-10 Thread tip-bot2 for Julien Thierry
The following commit has been merged into the objtool/core branch of tip: Commit-ID: ee819aedf34a8f35cd54ee3967c7beb4d1d4a635 Gitweb: https://git.kernel.org/tip/ee819aedf34a8f35cd54ee3967c7beb4d1d4a635 Author:Julien Thierry AuthorDate:Fri, 04 Sep 2020 16:30:27 +01:00

[PATCH 14/15] habanalabs/gaudi: support DCB protocol

2020-09-10 Thread Oded Gabbay
From: Omer Shpigelman Add DCB support to configure the NIC's Priority Flow Control (PFC). The added support is minimal because a full support is not currently required. A summary of the supported callbacks: - ieee_getpfc: get the current PFC configuration. PFC is enabled by

Re: [PATCH v11 04/11] PCI: brcmstb: Add suspend and resume pm_ops

2020-09-10 Thread Florian Fainelli
On 9/10/2020 11:50 AM, Rob Herring wrote: On Thu, Sep 10, 2020 at 10:42 AM Jim Quinlan wrote: On Thu, Sep 10, 2020 at 11:56 AM Rob Herring wrote: On Mon, Aug 24, 2020 at 03:30:17PM -0400, Jim Quinlan wrote: From: Jim Quinlan Broadcom Set-top (BrcmSTB) boards typically support S2, S3,

Re: [PATCH v2 01/15] dt-bindings: gpio: convert bindings for NXP PCA953x family to dtschema

2020-09-10 Thread Krzysztof Kozlowski
On Thu, 10 Sep 2020 at 20:28, Nishanth Menon wrote: > > On 19:57-20200910, Krzysztof Kozlowski wrote: > [...] > > + wakeup-source: > > +$ref: /schemas/types.yaml#/definitions/flag > > + > > +patternProperties: > > + "^(hog-[0-9]+|.+-hog(-[0-9]

Re: [PATCH kernel] srcu: Fix static initialization

2020-09-10 Thread Paul E. McKenney
On Wed, Sep 09, 2020 at 10:31:03PM +1000, Alexey Kardashevskiy wrote: > > > On 09/09/2020 21:50, Paul E. McKenney wrote: > > On Wed, Sep 09, 2020 at 07:24:11PM +1000, Alexey Kardashevskiy wrote: > >> > >> > >> On 09/09/2020 00:43, Alexey Kardashevskiy wrote: > >>> init_srcu_struct_nodes() is

[PATCH 10/15] habanalabs/gaudi: add WQ control operations

2020-09-10 Thread Oded Gabbay
From: Omer Shpigelman Add Work Queue (WQ) opcodes to NIC ioctl. A WQ contains entries (WQEs) where each WQE represents a packet that should be sent or received. Each WQ has two types: requester (sender) and responder (receiver). The added opcodes are: - Set WQ: set the WQ configuration in the

Re: [PATCH] PCI: Don't use Printk in raw_spinlocks

2020-09-10 Thread Florian Fainelli
On 9/10/2020 11:46 AM, Bjorn Helgaas wrote: On Thu, Sep 10, 2020 at 08:21:06AM -0600, Rob Herring wrote: On Wed, Sep 9, 2020 at 8:07 PM Bjorn Helgaas wrote: [+cc Mark, Florian, Rob, Scott] On Sat, Aug 01, 2020 at 09:25:49AM +0800, Xingxing Su wrote: Do not use printk in raw_spinlocks,

Re: [patch 2/2] nohz: try to avoid IPI when setting tick dependency for task

2020-09-10 Thread Marcelo Tosatti
On Thu, Sep 03, 2020 at 05:01:53PM +0200, Frederic Weisbecker wrote: > On Tue, Aug 25, 2020 at 03:41:49PM -0300, Marcelo Tosatti wrote: > > When enabling per-CPU posix timers, an IPI to nohz_full CPUs might be > > performed (to re-read the dependencies and possibly not re-enter > > nohz_full on a

Re: [PATCH v2] usb: serial: Repair FTDI FT232R bricked eeprom

2020-09-10 Thread James Hilliard
On Thu, Sep 10, 2020 at 3:57 AM Hector Martin wrote: > > On 10/09/2020 18.52, James Hilliard wrote: > > So I'm having trouble coming up with a reliable way to fix this in > > userspace, > > I've already got quite a few moving parts there as is and most of what I > > come up with seems like it

Re: [PATCH v11 04/11] PCI: brcmstb: Add suspend and resume pm_ops

2020-09-10 Thread Rob Herring
On Thu, Sep 10, 2020 at 10:42 AM Jim Quinlan wrote: > > On Thu, Sep 10, 2020 at 11:56 AM Rob Herring wrote: > > > > On Mon, Aug 24, 2020 at 03:30:17PM -0400, Jim Quinlan wrote: > > > From: Jim Quinlan > > > > > > Broadcom Set-top (BrcmSTB) boards typically support S2, S3, and S5 suspend > > >

[PATCH 04/15] habanalabs/gaudi: add support for NIC QMANs

2020-09-10 Thread Oded Gabbay
From: Omer Shpigelman Initialize the QMANs that are responsible to submit doorbells to the NIC engines. Add support for stopping and disabling them, and reset them as part of the hard-reset procedure of GAUDI. This will allow the user to submit work to the NICs. Add support for receiving events

[PATCH 05/15] habanalabs/gaudi: add NIC Ethernet support

2020-09-10 Thread Oded Gabbay
From: Omer Shpigelman Basic NIC driver which handles Ethernet packet of several types like IPv4, IPv6, LLDP, VLAN and ARP. The NIC HW is composed of 5 NIC macros, in each macro 2 NIC engines of 100GbE each. Each engine exposes a single port of 100GbE, so in total we have 10 ports per GAUDI

[PATCH 12/15] habanalabs/gaudi: add debugfs entries for the NIC

2020-09-10 Thread Oded Gabbay
From: Omer Shpigelman Add several debugfs entries to help us debug the NIC engines and ports and also the communication layer of the DL training application that use them. There are eight new entries. Detailed description is in the documentation file but here is a summary: - nic_mac_loopback:

[PATCH 06/15] habanalabs/gaudi: add NIC PHY code

2020-09-10 Thread Oded Gabbay
From: Omer Shpigelman Configure the NIC PHY (physical layer). The PHY is configured with the correct polarity and Tx taps depending on the card type. After the initial configuration, the PHY flow contains the following: - Auto-negotiation (if enabled) - PHY F/W tuning - Physical Coding Sublayer

[PATCH 13/15] habanalabs/gaudi: Add ethtool support using coresight

2020-09-10 Thread Oded Gabbay
From: Omer Shpigelman The driver supports ethtool callbacks and provides statistics using the device's profiling infrastructure (coresight). We support the basic ethtool functionality and counters, as far as our H/W provides support. A summary of the supported callbacks: - get_drvinfo: fill

[PATCH 11/15] habanalabs/gaudi: add QP error handling

2020-09-10 Thread Oded Gabbay
From: Omer Shpigelman Add Queue Pair (QP) error notification to the user e.g. security violation, too many retransmissions, invalid QP etc. Whenever a QP caused an error, the firmware will send an event to the driver which will push the error as an error entry to the Completion Queue (if

[PATCH 09/15] habanalabs/gaudi: add CQ control operations

2020-09-10 Thread Oded Gabbay
From: Omer Shpigelman Add NIC Completion Queue (CQ) opcodes to NIC ioctl. The CQ is used by the user-space process to get notification of a completed work. A CQ entry (CQE) has three types: requester (sender), responder (receiver) and error. Each type has unique fields as well as shared ones.

[PATCH v3 0/8] nfc: s3fwrn5: Few cleanups

2020-09-10 Thread Krzysztof Kozlowski
Hi, Changes since v2: 1. Fix dtschema ID after rename (patch 1/8). 2. Apply patch 9/9 (defconfig change). Changes since v1: 1. Rename dtschema file and add additionalProperties:false, as Rob suggested, 2. Add Marek's tested-by, 3. New patches: #4, #5, #6, #7 and #9. Best regards, Krzysztof

[PATCH] dt-bindings: example: Extend based on practice

2020-09-10 Thread Krzysztof Kozlowski
Extend the example schema with common rules which seems to be not that obvious: 1. Expecting arrays of phandles to be always ordered, regardless if "xxx-names" is provided (e.g. clocks), 2. Add example of altering a property based on presence of other property, 3. Document usage of

[PATCH v3 1/8] dt-bindings: net: nfc: s3fwrn5: Convert to dtschema

2020-09-10 Thread Krzysztof Kozlowski
Convert the Samsung S3FWRN5 NCI NFC controller bindings to dtschema. This is conversion only so it includes properties with invalid prefixes (s3fwrn5,en-gpios) which should be addressed later. Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/net/nfc/s3fwrn5.txt | 25

Re: [PATCH 4.19] net/mlx5e: Don't support phys switch id if not in switchdev mode

2020-09-10 Thread Saeed Mahameed
On Fri, 2020-08-07 at 15:13 +0200, Greg Kroah-Hartman wrote: > On Thu, Aug 06, 2020 at 07:05:42PM -0700, Saeed Mahameed wrote: > > From: Roi Dayan > > > > Support for phys switch id ndo added for representors and if > > we do not have representors there is no need to support it. > > Since each

Re: [PATCH] PCI: Don't use Printk in raw_spinlocks

2020-09-10 Thread Bjorn Helgaas
On Thu, Sep 10, 2020 at 08:21:06AM -0600, Rob Herring wrote: > On Wed, Sep 9, 2020 at 8:07 PM Bjorn Helgaas wrote: > > > > [+cc Mark, Florian, Rob, Scott] > > > > On Sat, Aug 01, 2020 at 09:25:49AM +0800, Xingxing Su wrote: > > > Do not use printk in raw_spinlocks, > > > it will cause BUG:

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