Re: [PATCH] KVM/SVM: add support for SEV attestation command

2020-12-09 Thread Brijesh Singh
On 12/9/20 1:51 AM, Ard Biesheuvel wrote: > On Fri, 4 Dec 2020 at 22:30, Brijesh Singh wrote: >> The SEV FW version >= 0.23 added a new command that can be used to query >> the attestation report containing the SHA-256 digest of the guest memory >> encrypted through the

Re: [PATCH 1/2] rcu-tasks: move RCU-tasks initialization out of core_initcall()

2020-12-09 Thread Paul E. McKenney
On Wed, Dec 09, 2020 at 09:27:31PM +0100, Uladzislau Rezki (Sony) wrote: > Initialize the RCU-tasks earlier, before *_initcall() callbacks are > invoked. Do it after the workqueue subsytem is up and running. That > gives us a possibility to make use of synchronize_rcu_tasks*() wait > API in

Re: [PATCH v2 sl-b 2/5] mm: Make mem_dump_obj() handle NULL and zero-sized pointers

2020-12-09 Thread Paul E. McKenney
On Wed, Dec 09, 2020 at 06:48:47PM +0100, Vlastimil Babka wrote: > On 12/9/20 2:13 AM, paul...@kernel.org wrote: > > From: "Paul E. McKenney" > > > > This commit makes mem_dump_obj() call out NULL and zero-sized pointers > > specially instead of classifying them as non-paged memory. > > > > Cc:

Re: [PATCH] power: supply: axp288_fuel_gauge: Add the ECS EF20EA to the blacklist

2020-12-09 Thread Chris Chiu
On Wed, Dec 9, 2020 at 10:57 PM Hans de Goede wrote: > > Hi, > > On 12/9/20 5:50 AM, Chris Chiu wrote: > > The ECS EF20EA laptop ships an AXP288 but it is actually using a > > different, separate FG chip for AC and battery monitoring. On this > > laptop we need to keep using the regular ACPI

RE: [PATCH 2/3] soc: sifive: beu: Add support for SiFive Bus Error Unit

2020-12-09 Thread Yash Shah
Any updates on this patch? - Yash > -Original Message- > From: Yash Shah > Sent: 12 November 2020 17:31 > To: robh...@kernel.org; Paul Walmsley ( Sifive) > ; pal...@dabbelt.com; b...@alien8.de; > mche...@kernel.org; tony.l...@intel.com; james.mo...@arm.com; > r...@kernel.org > Cc:

Re: [PATCH v5 12/19] dt-bindings: usb: dwc3: Add synopsys, dwc3 compatible string

2020-12-09 Thread Rob Herring
On Sat, 05 Dec 2020 18:24:19 +0300, Serge Semin wrote: > The DWC USB3 driver and some DTS files like Exynos 5250, Keystone k2e, etc > expects the DWC USB3 DT node to have the compatible string with the > "synopsys" vendor prefix. Let's add the corresponding compatible string to > the controller DT

Re: [PATCH net-next v2] net: hdlc_x25: Remove unnecessary skb_reset_network_header calls

2020-12-09 Thread David Miller
From: Xie He Date: Tue, 8 Dec 2020 17:40:13 -0800 > 1. In x25_xmit, skb_reset_network_header is not necessary before we call > lapb_data_request. The lapb module doesn't need skb->network_header. > So there is no need to set skb->network_header before calling > lapb_data_request. > > 2. In

Re: [PATCH v5 01/19] dt-bindings: usb: usb-hcd: Detach generic USB controller properties

2020-12-09 Thread Rob Herring
On Sat, 05 Dec 2020 18:24:08 +0300, Serge Semin wrote: > There can be three distinctive types of the USB controllers: USB hosts, > USB peripherals/gadgets and USB OTG, which can switch from one role to > another. In order to have that hierarchy handled in the DT binding files, > we need to collect

Re: [PATCH v2 net-next] net/mlx4: simplify the return expression of mlx4_init_cq_table()

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 09:20:02 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

[PATCH -next] c6x: fix build of signal.c using _TIF_SIGNALs

2020-12-09 Thread Randy Dunlap
: add support for TIF_NOTIFY_SIGNAL") Signed-off-by: Randy Dunlap Cc: linux-c6x-...@linux-c6x.org Cc: Jens Axboe Cc: Mark Salter Cc: Aurelien Jacquiot --- arch/c6x/kernel/signal.c |1 + 1 file changed, 1 insertion(+) --- linux-next-20201209.orig/arch/c6x/kernel/signal.c +++ linux-next

Re: [PATCH] spi: spi-geni-qcom: Fix NULL pointer access in geni_spi_isr

2020-12-09 Thread Stephen Boyd
Quoting Doug Anderson (2020-12-03 08:40:46) > I would guess that if "mas->cur_xfer" is NULL then > geni_spi_handle_rx() should read all data in the FIFO and throw it > away and geni_spi_handle_tx() should set SE_GENI_TX_WATERMARK_REG to > 0. NOTE: I _think_ that with the synchronize_irq() I'm

Re: [PATCH v3 1/4] dt-bindings: gpio: Add bindings for Toshiba Visconti GPIO Controller

2020-12-09 Thread Punit Agrawal
Nobuhiro Iwamatsu writes: > Add bindings for the Toshiba Visconti GPIO Controller. > > Signed-off-by: Nobuhiro Iwamatsu > --- > .../bindings/gpio/toshiba,gpio-visconti.yaml | 85 +++ > 1 file changed, 85 insertions(+) > create mode 100644 >

Re: [PATCH v3 1/4] dt-bindings: gpio: Add bindings for Toshiba Visconti GPIO Controller

2020-12-09 Thread Punit Agrawal
Rob Herring writes: [...] >> > + gpio-ranges: true >> >> I am not sure I have a good handle on the yaml schema definitions but >> "gpio-ranges" feels like it should be a list of ranges not a boolean. >> >> Something like - >> >> gpio-ranges: >> maxItems: 1 >> >> feels more

[PATCH 1/1] dt-bindings: leds: add onboard LED triggers of 96Boards

2020-12-09 Thread Zhen Lei
For all 96Boards, the following standard is used for onboard LEDs. green:user1 default-trigger: heartbeat green:user2 default-trigger: mmc0/disk-activity(onboard-storage) green:user3 default-trigger: mmc1 (SD-card) green:user4 default-trigger: none, panic-indicator yellow:wlan

Re: [PATCH 1/3] Add TX sending hardware timestamp.

2020-12-09 Thread kernel test robot
:b65054597872ce3aefbc6a666385eabdf9e288da config: mips-randconfig-r026-20201209 (attached as .config) compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 1968804ac726e7674d5de22bc2204b45857da344) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin

Re: [PATCH v5] erofs: avoid using generic_block_bmap

2020-12-09 Thread Huang Jianan
Thanks for reminding me, I will pay attention about this next time. 在 2020/12/10 10:36, Gao Xiang 写道: Hi Jianan, On Wed, Dec 09, 2020 at 07:57:40PM +0800, Huang Jianan wrote: iblock indicates the number of i_blkbits-sized blocks rather than sectors. In addition, considering buffer_head

Re: [PATCH 00/19] rcu/nocb: De-offload and re-offload support v4

2020-12-09 Thread Boqun Feng
On Wed, Dec 09, 2020 at 05:21:58PM -0800, Paul E. McKenney wrote: > On Tue, Dec 08, 2020 at 01:51:04PM +0100, Frederic Weisbecker wrote: > > Hi Boqun Feng, > > > > On Tue, Dec 08, 2020 at 10:41:31AM +0800, Boqun Feng wrote: > > > Hi Frederic, > > > > > > On Fri, Nov 13, 2020 at 01:13:15PM +0100,

Re: [PATCH] Staging: silabs si4455 serial driver

2020-12-09 Thread Rob Herring
On Wed, Dec 9, 2020 at 5:17 AM Info wrote: > > This is a serial port driver for > Silicon Labs Si4455 Sub-GHz transciver. > > Signed-off-by: József Horváth > --- > .../bindings/staging/serial/silabs,si4455.txt | 39 + Looks straightforward enough to not be in staging. Plus

Re: [PATCH] mm/filemap: add static for function __add_to_page_cache_locked

2020-12-09 Thread Alexei Starovoitov
On Wed, Dec 9, 2020 at 6:31 PM Steven Rostedt wrote: > > On Wed, 9 Dec 2020 17:12:43 -0800 > Alexei Starovoitov wrote: > > > > > > > FWIW, I intend to do some consolidation/renaming in this area. I > > > > > > trust that will not be a problem? > > > > > > > > > > If it does not break anything,

Re: [PATCH -next] fs/ntfs: fix set but not used variable 'log_page_mask'

2020-12-09 Thread Anton Altaparmakov
Hi Andrew, Ah, oops! Thank you and apologies. Quite right the alternative patch was even better. No need to apply this patch after all... Zheng, the log_page_mask variable was removed altogether so your patch no longer makes sense. Best regards, Anton > On 10 Dec 2020, at 02:36,

Re: [PATCH] dt-bindings: i2c: Add compatible string for AM64 SoC

2020-12-09 Thread Rob Herring
On Wed, 09 Dec 2020 22:27:33 +0530, Aswath Govindraju wrote: > Add compatible string for AM64 SoC in device tree binding of OMAP I2C > modules as the same IP is used. > > Signed-off-by: Aswath Govindraju > --- > Documentation/devicetree/bindings/i2c/i2c-omap.txt | 1 + > 1 file changed, 1

Re: [PATCH] dt-bindings: gpio: Add compatible string for AM64 SoC

2020-12-09 Thread Rob Herring
On Wed, 09 Dec 2020 22:27:31 +0530, Aswath Govindraju wrote: > Add compatible string for AM64 SoC in device tree binding of davinci GPIO > modules as the same IP is used. > > Signed-off-by: Aswath Govindraju > --- > Documentation/devicetree/bindings/gpio/gpio-davinci.txt | 1 + > 1 file

[PATCH] [v2] tty: Protect disc_data in n_tty_close and n_tty_flush_buffer

2020-12-09 Thread Yan.Gao
n_tty_flush_buffer can happen in parallel with n_tty_close that the tty->disc_data will be set to NULL. n_tty_flush_buffer accesses tty->disc_data, so we must prevent n_tty_close clear tty->disc_data while n_tty_flush_buffer has a non-NULL view of tty->disc_data. So we need to make sure that

Re: [PATCH v5] erofs: avoid using generic_block_bmap

2020-12-09 Thread Gao Xiang
Hi Jianan, On Wed, Dec 09, 2020 at 07:57:40PM +0800, Huang Jianan wrote: > iblock indicates the number of i_blkbits-sized blocks rather than > sectors. > > In addition, considering buffer_head limits mapped size to 32-bits, > should avoid using generic_block_bmap. > > Fixes: 9da681e017a3

Re: UBSAN: shift-out-of-bounds in ext4_fill_super

2020-12-09 Thread Theodore Y. Ts'o
On Tue, Dec 08, 2020 at 11:33:11PM -0800, syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit:15ac8fdb Add linux-next specific files for 20201207 > git tree: linux-next > console output: https://syzkaller.appspot.com/x/log.txt?x=1125c92350 > kernel

Re: [PATCH -next] fs/ntfs: fix set but not used variable 'log_page_mask'

2020-12-09 Thread Andrew Morton
On Tue, 8 Dec 2020 08:24:02 + Anton Altaparmakov wrote: > Can you please apply this? > > ... > > > --- a/fs/ntfs/logfile.c > > +++ b/fs/ntfs/logfile.c > > @@ -507,7 +507,7 @@ bool ntfs_check_logfile(struct inode *log_vi, > > RESTART_PAGE_HEADER **rp) > > * optimize log_page_size and

[PATCH 1/4] spmi: get rid of a warning when built with W=1

2020-12-09 Thread Stephen Boyd
From: Mauro Carvalho Chehab The SPMI core complaing with this warning when built with W=1: drivers/spmi/spmi.c: In function ‘spmi_controller_remove’: drivers/spmi/spmi.c:548:6: warning: variable ‘dummy’ set but not used [-Wunused-but-set-variable] 548 | int dummy;

[PATCH 0/4] SPMI queue for next merge window

2020-12-09 Thread Stephen Boyd
Please apply these SPMI patches for the next merge window. I've collected the few patches that were ready and setup a git tree on kernel.org to push them to. Hsin-Hsiung Wang (1): spmi: Add driver shutdown support Mauro Carvalho Chehab (2): spmi: get rid of a warning when built with W=1

[PATCH 3/4] spmi: Add driver shutdown support

2020-12-09 Thread Stephen Boyd
From: Hsin-Hsiung Wang Add new shutdown() method. Use it in the standard driver model style. Signed-off-by: Hsin-Hsiung Wang Link: https://lore.kernel.org/r/1603187810-30481-2-git-send-email-hsin-hsiung.w...@mediatek.com Signed-off-by: Stephen Boyd --- drivers/spmi/spmi.c | 9 +

[PATCH] drivers: mdt_loader: Add parallel blobs loading capability

2020-12-09 Thread Rishabh Bhatnagar
Add capability to load blobs parallely during loading of firmware. Create a high priority unbound workqueue and schedule work items to load the firmware blobs parallely. This helps in improving firmware loading times. Signed-off-by: Rishabh Bhatnagar --- drivers/soc/qcom/mdt_loader.c | 147

[PATCH 4/4] MAINTAINERS: Mark SPMI as maintained

2020-12-09 Thread Stephen Boyd
I can do more than just review patches here. The plan is to pick up patches from the list and shuttle them up to gregkh. The korg tree will be used to hold the pending patches. Move the list away from linux-arm-msm to just be linux-kernel as SPMI isn't msm specific anymore. Cc: Greg Kroah-Hartman

[PATCH 2/4] spmi: fix some coding style issues at the spmi core

2020-12-09 Thread Stephen Boyd
From: Mauro Carvalho Chehab While preparing to port the HiSilicon 6421v600 SPMI driver, I noticed some coding style issues at the SPMI core. Address them. Reviewed-by: Stephen Boyd Signed-off-by: Mauro Carvalho Chehab Link:

Re: [PATCH] mm/filemap: add static for function __add_to_page_cache_locked

2020-12-09 Thread Steven Rostedt
On Wed, 9 Dec 2020 17:12:43 -0800 Alexei Starovoitov wrote: > > > > > FWIW, I intend to do some consolidation/renaming in this area. I > > > > > trust that will not be a problem? > > > > > > > > If it does not break anything, it will be not a problem ;-) > > > > > > > > It's possible that

Re: [PATCH v3 0/7] Improve s0ix flows for systems i219LM

2020-12-09 Thread Alexander Duyck
On Wed, Dec 9, 2020 at 6:44 AM Hans de Goede wrote: > > Hi, > > On 12/8/20 5:14 PM, Alexander Duyck wrote: > > On Tue, Dec 8, 2020 at 1:30 AM Hans de Goede wrote: > >> > >> Hi, > >> > >> On 12/8/20 6:08 AM, Neftin, Sasha wrote: > >>> On 12/7/2020 17:41, Limonciello, Mario wrote: > > First of

Re: [PATCH v3 4/8] net: macb: unprepare clocks in case of failure

2020-12-09 Thread Andrew Lunn
On Wed, Dec 09, 2020 at 03:03:35PM +0200, Claudiu Beznea wrote: > Unprepare clocks in case of any failure in fu540_c000_clk_init(). > > Fixes: c218ad559020 ("macb: Add support for SiFive FU540-C000") > Signed-off-by: Claudiu Beznea Reviewed-by: Andrew Lunn Andrew

Re: [PATCH] ASoC: audio-graph-card: Drop remote-endpoint as required property

2020-12-09 Thread Rob Herring
On Wed, Dec 09, 2020 at 12:52:12PM +0530, Sameer Pujar wrote: > The remote-endpoint may not be available if it is part of some > pluggable module. One such example would be an audio card, the > Codec endpoint will not be available until it is plugged in. > Hence drop 'remote-endpoint' as a

Re: [PATCH RESEND v2 1/5] f2fs: compress: add compress_inode to cache compressed blocks

2020-12-09 Thread Jaegeuk Kim
On 12/10, Chao Yu wrote: > Hi Daeho, Jaegeuk > > I found one missing place in this patch which should adapt > "compress vs verity race bugfix" > > Could you please check and apply below diff? Applied. > > From 61a9812944ac2f6f64fb458d5ef8b662c007bc50 Mon Sep 17 00:00:00 2001 > From: Chao Yu

Re: [PATCH v3 3/8] net: macb: add function to disable all macb clocks

2020-12-09 Thread Andrew Lunn
On Wed, Dec 09, 2020 at 03:03:34PM +0200, Claudiu Beznea wrote: > Add function to disable all macb clocks. > > Signed-off-by: Claudiu Beznea > Suggested-by: Andrew Lunn Reviewed-by: Andrew Lunn Andrew

Business Need..

2020-12-09 Thread Reem Al-hasimi
Hello, My name is Reem E. Al-Hashimi,I am writing to you to stand as my partner to receive my share of gratification from foreign companies whom I helped during the bidding exercise towards the Dubai World Expo 2020 Committee. Am a women and serving as a Minister, there is a limit to my

Re: [PATCH 1/2] dt-bindings: vendor-prefixes: Add an entry for AmpereComputing.com

2020-12-09 Thread Rob Herring
On Tue, 08 Dec 2020 11:36:59 +0700, Quan Nguyen wrote: > Add "ampere" entry for Ampere Computing LLC: amperecomputing.com > > Reviewed-by: Andrew Jeffery > Reviewed-by: Joel Stanley > Signed-off-by: Quan Nguyen > Signed-off-by: Phong Vo > Signed-off-by: Thang Q. Nguyen > --- >

Re: [f2fs-dev] [PATCH] fs: f2fs: fix potential shift-out-of-bounds error in sanity_check_raw_super()

2020-12-09 Thread Anant Thazhemadam
On 10/12/20 7:40 am, Chao Yu wrote: > On 2020/12/10 10:00, Anant Thazhemadam wrote: >> >> On 10/12/20 7:16 am, Chao Yu wrote: >>> Hi Anant, >>> >>> I've posted a patch a little earlier. :P >>> >>> https://lore.kernel.org/linux-f2fs-devel/20201209084936.31711-1-yuch...@huawei.com/T/#u >>> >> Ah

Re: [PATCH] dt-bindings: vendor-prefixes: correct the spelling of TQ-Systems GmbH

2020-12-09 Thread Rob Herring
On Mon, 07 Dec 2020 10:30:36 +0100, Matthias Schiffer wrote: > From: Max Merchel > > "TQ-Systems" is written with a dash, as can be seen on > https://www.tq-group.com/en/imprint/ > > Signed-off-by: Max Merchel > Signed-off-by: Matthias Schiffer > --- >

Re: [PATCH v9 3/4] phy: Add Sparx5 ethernet serdes PHY driver

2020-12-09 Thread Andrew Lunn
> diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig > index 01b53f86004c..f6a094c81e86 100644 > --- a/drivers/phy/Kconfig > +++ b/drivers/phy/Kconfig > @@ -66,9 +66,11 @@ source "drivers/phy/broadcom/Kconfig" > source "drivers/phy/cadence/Kconfig" > source "drivers/phy/freescale/Kconfig" >

linux-next: manual merge of the net-next tree with the netfilter tree

2020-12-09 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: net/netfilter/nf_tables_api.c between commit: 42f1c2712090 ("netfilter: nftables: comment indirect serialization of commit_mutex with rtnl_mutex") from the netfilter tree and commit: 872f69034194 ("treewide:

Re: [f2fs-dev] [PATCH] fs: f2fs: fix potential shift-out-of-bounds error in sanity_check_raw_super()

2020-12-09 Thread Chao Yu
On 2020/12/10 10:00, Anant Thazhemadam wrote: On 10/12/20 7:16 am, Chao Yu wrote: Hi Anant, I've posted a patch a little earlier. :P https://lore.kernel.org/linux-f2fs-devel/20201209084936.31711-1-yuch...@huawei.com/T/#u Ah well, that's alright, especially considering that your patch looks

Re: [RFC][PATCH] ftrace/selftests: Add binary test to verify ring buffer timestamps

2020-12-09 Thread Masami Hiramatsu
On Wed, 9 Dec 2020 09:49:19 -0500 Steven Rostedt wrote: > On Wed, 9 Dec 2020 08:39:54 +0900 > Masami Hiramatsu wrote: > > > > OK. I'll look at how to make this for both cases (embedded and not). > > > Because, my current case is to copy the selftests to the machine and run > > > them there. So

Re: [RFC PATCH] blk-mq: Clean up references when freeing rqs

2020-12-09 Thread Ming Lei
On Wed, Dec 09, 2020 at 09:55:30AM +, John Garry wrote: > On 09/12/2020 01:01, Ming Lei wrote: > > blk_mq_queue_tag_busy_iter() can be run on another request queue just > > between one driver tag is allocated and updating the request map, so one > > extra request reference still can be

Re: [PATCH] kexec: Fix error code in kexec_calculate_store_digests()

2020-12-09 Thread Dave Young
On 12/08/20 at 10:55pm, Dan Carpenter wrote: > Return -ENOMEM on allocation failure instead of returning success. > > Fixes: a43cac0d9dc2 ("kexec: split kexec_file syscall code to kexec_file.c") > Signed-off-by: Dan Carpenter > --- > kernel/kexec_file.c | 4 +++- > 1 file changed, 3

Re: [PATCH 1/2] dt-bindings: add simple-audio-mux binding

2020-12-09 Thread Rob Herring
On Sat, Dec 05, 2020 at 01:15:07AM +0100, Alexandre Belloni wrote: > Add devicetree documentation for simple audio multiplexers > > Signed-off-by: Alexandre Belloni > --- > Cc: Rob Herring > > .../bindings/sound/simple-audio-mux.yaml | 41 +++ > 1 file changed, 41

Re: [RFC PATCH 04/15] lib/scatterlist: Add flag for indicating P2PDMA segments in an SGL

2020-12-09 Thread Logan Gunthorpe
On 2020-12-09 6:22 p.m., Dan Williams wrote: > On Mon, Nov 9, 2020 at 8:47 AM Logan Gunthorpe wrote: >> >> >> >> On 2020-11-09 2:12 a.m., Christoph Hellwig wrote: >>> On Fri, Nov 06, 2020 at 10:00:25AM -0700, Logan Gunthorpe wrote: We make use of the top bit of the dma_length to indicate

Re: [f2fs-dev] [PATCH] fs: f2fs: fix potential shift-out-of-bounds error in sanity_check_raw_super()

2020-12-09 Thread Anant Thazhemadam
On 10/12/20 7:16 am, Chao Yu wrote: > Hi Anant, > > I've posted a patch a little earlier. :P > > https://lore.kernel.org/linux-f2fs-devel/20201209084936.31711-1-yuch...@huawei.com/T/#u > Ah well, that's alright, especially considering that your patch looks better. Glad that bug has been fixed

Re: [PATCH RESEND v2 1/5] f2fs: compress: add compress_inode to cache compressed blocks

2020-12-09 Thread Chao Yu
Hi Daeho, Jaegeuk I found one missing place in this patch which should adapt "compress vs verity race bugfix" Could you please check and apply below diff? From 61a9812944ac2f6f64fb458d5ef8b662c007bc50 Mon Sep 17 00:00:00 2001 From: Chao Yu Date: Thu, 10 Dec 2020 09:52:42 +0800 Subject:

Re: [v2] i2c: mediatek: Move suspend and resume handling to NOIRQ phase

2020-12-09 Thread Qii Wang
On Mon, 2020-12-07 at 18:35 +0200, Grygorii Strashko wrote: > > > > > On Thu, 2020-12-03 at 10:01 +0200, Grygorii Strashko wrote: > >> > >> On 03/12/2020 03:25, Qii Wang wrote: > >>> On Wed, 2020-12-02 at 16:35 +0100, Wolfram Sang wrote: > Hi, > > > Some i2c device driver

RE: [PATCH] block: blk-iocost: fix build for ARCH with missing local64.h files

2020-12-09 Thread Tan, Ley Foon
> -Original Message- > From: Randy Dunlap > Sent: Thursday, December 10, 2020 4:47 AM > To: linux-kernel@vger.kernel.org > Cc: Randy Dunlap ; Tejun Heo ; > Jens Axboe ; linux-bl...@vger.kernel.org; Tan, Ley Foon > ; Mark Salter ; Aurelien > Jacquiot ; linux-c6x-...@linux-c6x.org >

Re: [PATCH v1 bpf-next 03/11] tcp: Migrate TCP_ESTABLISHED/TCP_SYN_RECV sockets in accept queues.

2020-12-09 Thread Martin KaFai Lau
On Thu, Dec 10, 2020 at 01:57:19AM +0900, Kuniyuki Iwashima wrote: [ ... ] > > > > I think it is a bit complex to pass the new listener from > > > > reuseport_detach_sock() to inet_csk_listen_stop(). > > > > > > > > __tcp_close/tcp_disconnect/tcp_abort > > > > |-tcp_set_state > > > > |

Re: [PATCH v2 2/2] mm: fix initialization of struct page for holes in memory layout

2020-12-09 Thread Andrea Arcangeli
Hello, On Wed, Dec 09, 2020 at 11:43:04PM +0200, Mike Rapoport wrote: > +void __init __weak memmap_init(unsigned long size, int nid, > +unsigned long zone, > +unsigned long range_start_pfn) > +{ > + unsigned long start_pfn, end_pfn,

Re: [PATCH] drm/bridge: ti-sn65dsi86: Implement the pwm_chip

2020-12-09 Thread Shawn Guo
On Mon, Dec 07, 2020 at 10:40:22PM -0600, Bjorn Andersson wrote: > The SN65DSI86 provides the ability to supply a PWM signal on GPIO 4, > with the primary purpose of controlling the backlight of the attached > panel. Add an implementation that exposes this using the standard PWM > framework, to

Re: [f2fs-dev] [PATCH] fs: f2fs: fix potential shift-out-of-bounds error in sanity_check_raw_super()

2020-12-09 Thread Chao Yu
Hi Anant, I've posted a patch a little earlier. :P https://lore.kernel.org/linux-f2fs-devel/20201209084936.31711-1-yuch...@huawei.com/T/#u Thanks, On 2020/12/10 2:13, Anant Thazhemadam wrote: In sanity_check_raw_super(), if 1 << le32_to_cpu(raw_super->log_blocksize) != F2FS_BLKSIZE, then the

[RFC PATCH v8] sched/fair: select idle cpu from idle cpumask for task wakeup

2020-12-09 Thread Aubrey Li
Add idle cpumask to track idle cpus in sched domain. Every time a CPU enters idle, the CPU is set in idle cpumask to be a wakeup target. And if the CPU is not in idle, the CPU is cleared in idle cpumask during scheduler tick to ratelimit idle cpumask update. When a task wakes up to select an idle

Re: [PATCH v4 2/2] Input: add driver for power button on Dell Wyse 3020

2020-12-09 Thread Dmitry Torokhov
On Tue, Dec 01, 2020 at 09:35:33AM +0100, Lubomir Rintel wrote: > This adds support for the power button attached to the Embedded Controller > on a Dell Wyse 3020 "Ariel" board. > > The Embedded Controller's SPI interface is actually capable sending and > receiving the PS/2 keyboard and mouse

Re: [PATCH v4 1/2] dt-bindings: input: Add Dell Wyse 3020 Power Button binding

2020-12-09 Thread Dmitry Torokhov
On Tue, Dec 01, 2020 at 09:35:32AM +0100, Lubomir Rintel wrote: > Add binding document for the Dell Wyse 3020 a.k.a. "Ariel" Power Button. > > Signed-off-by: Lubomir Rintel > Reviewed-by: Rob Herring > Applied, thank you. -- Dmitry

Re: [PATCH RESEND v2 5/5] f2fs: introduce sb_status sysfs node

2020-12-09 Thread Chao Yu
On 2020/12/10 0:04, Jaegeuk Kim wrote: On 12/09, Chao Yu wrote: Introduce /sys/fs/f2fs//stat/sb_status to show superblock status in real time as below: IS_DIRTY: no IS_CLOSE: no IS_SHUTDOWN:no IS_RECOVERED: no IS_RESIZEFS:no

Re: [RFC][PATCH 0/4] arm64:kvm: teach guest sched that VCPUs can be preempted

2020-12-09 Thread Joel Fernandes
Hi Marc, nice to hear from you. On Wed, Dec 9, 2020 at 4:43 AM Marc Zyngier wrote: > > Hi all, > > On 2020-12-08 20:02, Joel Fernandes wrote: > > On Fri, Sep 11, 2020 at 4:58 AM Sergey Senozhatsky > > wrote: > >> > >> My apologies for the slow reply. > >> > >> On (20/08/17 13:25), Marc Zyngier

Re: [PATCH 07/20] ethernet: ucc_geth: use qe_muram_free_addr()

2020-12-09 Thread Andrew Lunn
On Sat, Dec 05, 2020 at 08:17:30PM +0100, Rasmus Villemoes wrote: > This removes the explicit NULL checks, and allows us to stop storing > at least some of the _offset values separately. > > Signed-off-by: Rasmus Villemoes This seems to rely on one of the missing patches. Please don't split

Re: PROBLEM: Recent raid10 block discard patchset causes filesystem corruption on fstrim

2020-12-09 Thread Xiao Ni
On 12/09/2020 12:17 PM, Song Liu wrote: Hi Matthew, On Dec 8, 2020, at 7:46 PM, Matthew Ruffell wrote: Hello, I recently backported the following patches into the Ubuntu stable kernels: md: add md_submit_discard_bio() for submitting discard bio md/raid10: extend r10bio devs to raid

Re: [PATCH v1] clk: tegra: Fix duplicated SE clock entry

2020-12-09 Thread Stephen Boyd
Quoting Dmitry Osipenko (2020-10-25 15:42:12) > The periph_clks[] array contains duplicated entry for Security Engine > clock which was meant to be defined for T210, but it wasn't added > properly. This patch corrects the T210 SE entry and fixes the following > error message on T114/T124: "Tegra

[PATCH v9] x86,swiotlb: Adjust SWIOTLB bounce buffer size for SEV guests

2020-12-09 Thread Ashish Kalra
From: Ashish Kalra For SEV, all DMA to and from guest has to use shared (un-encrypted) pages. SEV uses SWIOTLB to make this happen without requiring changes to device drivers. However, depending on the workload being run, the default 64MB of it might not be enough and it may run out of buffers

Re: KRETPROBES are broken since kernel 5.8

2020-12-09 Thread Masami Hiramatsu
Hi Adam, Thank you for reporting and debugging, actually we had investigated this issue in Aug. Please read this thread. https://lkml.kernel.org/r/8816bdbbc55c4d2397e0b02aad282...@trendmicro.com We finally fixed this issue by commit e03b4a084ea6 ("kprobes: Remove NMI context check") and commit

Re: [PATCH 01/20] ethernet: ucc_geth: set dev->max_mtu to 1518

2020-12-09 Thread Andrew Lunn
On Sat, Dec 05, 2020 at 08:17:24PM +0100, Rasmus Villemoes wrote: > All the buffers and registers are already set up appropriately for an > MTU slightly above 1500, so we just need to expose this to the > networking stack. AFAICT, there's no need to implement .ndo_change_mtu > when the receive

[RFC 2/5] drm/nouveau/kms: Don't probe eDP connectors more then once

2020-12-09 Thread Lyude Paul
eDP doesn't do hotplugging, so there's no reason for us to reprobe it (unless a connection status change is being forced, of course). Signed-off-by: Lyude Paul Cc: Jani Nikula Cc: Dave Airlie Cc: greg.depo...@gmail.com --- drivers/gpu/drm/nouveau/nouveau_connector.c | 6 ++ 1 file

[RFC 1/5] drm/nouveau/kms/nv40-/backlight: Assign prop type once

2020-12-09 Thread Lyude Paul
Signed-off-by: Lyude Paul Cc: Jani Nikula Cc: Dave Airlie Cc: greg.depo...@gmail.com --- drivers/gpu/drm/nouveau/nouveau_backlight.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_backlight.c b/drivers/gpu/drm/nouveau/nouveau_backlight.c

[RFC 5/5] drm/nouveau/kms/nv50-: Add basic DPCD backlight support for nouveau

2020-12-09 Thread Lyude Paul
This adds support for controlling panel backlights over eDP using VESA's standard backlight control interface. Luckily, Nvidia was cool enough to never come up with their own proprietary backlight control interface (at least, not any that I or the laptop manufacturers I've talked to are aware of),

[RFC 3/5] drm/i915/dp: Remove redundant AUX backlight frequency calculations

2020-12-09 Thread Lyude Paul
Noticed this while moving all of the VESA backlight code in i915 over to DRM helpers: it would appear that we calculate the frequency value we want to write to DP_EDP_BACKLIGHT_FREQ_SET twice even though this value never actually changes during runtime. So, let's simplify things by just caching

[RFC 4/5] drm/dp: Extract i915's eDP backlight code into DRM helpers

2020-12-09 Thread Lyude Paul
Since we're about to implement eDP backlight support in nouveau using the standard protocol from VESA, we might as well just take the code that's already written for this and move it into a set of shared DRM helpers. Note that these helpers are intended to handle DPCD related backlight control

RE: [PATCH v5 01/16] dt-bindings: dma: Add YAML schemas for dw-axi-dmac

2020-12-09 Thread Sia, Jee Heng
Hi Rob, I think I still need the 'ref', but can remove the 'allOf'. Thanks Regards Jee Heng > -Original Message- > From: Sia, Jee Heng > Sent: 09 December 2020 11:21 AM > To: Rob Herring > Cc: vk...@kernel.org; eugeniy.palt...@synopsys.com; > andriy.shevche...@linux.intel.com;

[PATCH v2] cgroup: Fix memory leak when parsing multiple source parameters

2020-12-09 Thread Qinglang Miao
A memory leak is found in cgroup1_parse_param() when multiple source parameters overwrite fc->source in the fs_context struct without free. unreferenced object 0x888100d930e0 (size 16): comm "mount", pid 520, jiffies 4303326831 (age 152.783s) hex dump (first 16 bytes): 74 65 73 74 6c

Re: [RFC PATCH 04/15] lib/scatterlist: Add flag for indicating P2PDMA segments in an SGL

2020-12-09 Thread Dan Williams
On Mon, Nov 9, 2020 at 8:47 AM Logan Gunthorpe wrote: > > > > On 2020-11-09 2:12 a.m., Christoph Hellwig wrote: > > On Fri, Nov 06, 2020 at 10:00:25AM -0700, Logan Gunthorpe wrote: > >> We make use of the top bit of the dma_length to indicate a P2PDMA > >> segment. > > > > I don't think "we" can.

Re: [PATCH 00/19] rcu/nocb: De-offload and re-offload support v4

2020-12-09 Thread Paul E. McKenney
On Tue, Dec 08, 2020 at 01:51:04PM +0100, Frederic Weisbecker wrote: > Hi Boqun Feng, > > On Tue, Dec 08, 2020 at 10:41:31AM +0800, Boqun Feng wrote: > > Hi Frederic, > > > > On Fri, Nov 13, 2020 at 01:13:15PM +0100, Frederic Weisbecker wrote: > > > This keeps growing up. Rest assured, most of

[PATCH] Bluetooth: btusb: Always fallback to alt 1 for WBS

2020-12-09 Thread Trent Piepho
When alt mode 6 is not available, fallback to the kernel <= 5.7 behavior of always using alt mode 1. Prior to kernel 5.8, btusb would always use alt mode 1 for WBS (Wide Band Speech aka mSBC aka transparent SCO). In commit baac6276c0a9 ("Bluetooth: btusb: handle mSBC audio over USB Endpoints")

Re: [PATCH net-next] net: marvell: octeontx2: simplify the otx2_ptp_adjfine()

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 17:27:26 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: marvell: octeontx2: simplify the otx2_ptp_adjfine()

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 17:27:26 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: emulex: benet: simplify the return expression of be_if_create()

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 17:19:57 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: sja1105: simplify the return sja1105_cls_flower_stats()

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 17:25:04 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: stmmac: simplify the return dwmac5_rxp_disable()

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 17:23:25 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: dsa: simplify the return rtl8366_vlan_prepare()

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 17:26:21 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: hinic: simplify the return hinic_configure_max_qnum()

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 17:22:41 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH] mm/filemap: add static for function __add_to_page_cache_locked

2020-12-09 Thread Alexei Starovoitov
On Wed, Dec 9, 2020 at 2:32 PM Steven Rostedt wrote: > > On Wed, Dec 09, 2020 at 06:05:52PM +, Christoph Hellwig wrote: > > On Wed, Dec 09, 2020 at 04:51:48PM +0100, Stanislaw Gruszka wrote: > > > On Wed, Dec 09, 2020 at 03:08:26PM +, Matthew Wilcox wrote: > > > > On Wed, Dec 09, 2020 at

Re: [PATCH net-next] net: cisco: enic: simplify the return vnic_cq_alloc()

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 17:20:31 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: freescale: dpaa: simplify the return dpaa_eth_refill_bpools()

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 17:21:07 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: marvell: octeontx2: simplify the return expression of rvu_npa_init()

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 17:18:44 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: marvell: prestera: simplify the return expression of prestera_port_close()

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 17:17:51 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH] Input: fix spelling mistake "theses" -> "these" in Kconfig

2020-12-09 Thread Dmitry Torokhov
On Fri, Dec 04, 2020 at 07:36:35PM +, Colin King wrote: > From: Colin Ian King > > There is a spelling mistake in the Kconfig help text. Fix it. > > Signed-off-by: Colin Ian King Applied, thank you. -- Dmitry

Re: linux-next: Tree for Dec 9 (usb/cdns3)

2020-12-09 Thread Randy Dunlap
On 12/9/20 2:44 AM, Stephen Rothwell wrote: > Hi all, > > Changes since 20201208: > (I don't know what to do about this one -- seeking help.) on x86_64: ld: drivers/usb/cdns3/host.o: in function `xhci_cdns3_suspend_quirk': host.c:(.text+0x9): undefined reference to `usb_hcd_is_primary_hcd'

Re: [PATCH] files: rcu free files_struct

2020-12-09 Thread Paul E. McKenney
On Wed, Dec 09, 2020 at 04:41:06PM -0800, Linus Torvalds wrote: > On Wed, Dec 9, 2020 at 4:39 PM Paul E. McKenney wrote: > > > > Like this, then? > > Ack. Queued with Matthew's Reported-by and your Acked-by, thank you all! Thanx, Paul

[RFC PATCH 1/1] platform-msi: Add platform check for subdevice irq domain

2020-12-09 Thread Lu Baolu
The pci_subdevice_msi_create_irq_domain() should fail if the underlying platform is not able to support IMS (Interrupt Message Storage). Otherwise, the isolation of interrupt is not guaranteed. For x86, IMS is only supported on bare metal for now. We could enable it in the virtualization

[PATCH v4 3/3] perf-stat: enable counting events for BPF programs

2020-12-09 Thread Song Liu
Introduce perf-stat -b option, which counts events for BPF programs, like: [root@localhost ~]# ~/perf stat -e ref-cycles,cycles -b 254 -I 1000 1.487903822115,200 ref-cycles 1.487903822 86,012 cycles 2.489147029 80,560 ref-cycles

[PATCH v4 1/3] bpftool: add Makefile target bootstrap

2020-12-09 Thread Song Liu
This target is used to only build the bootstrap bpftool, which will be used to generate bpf skeletons for other tools, like perf. Signed-off-by: Song Liu --- tools/bpf/bpftool/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/bpf/bpftool/Makefile b/tools/bpf/bpftool/Makefile

[PATCH v4 0/3] Introduce perf-stat -b for BPF programs

2020-12-09 Thread Song Liu
This set introduces perf-stat -b option to count events for BPF programs. This is similar to bpftool-prog-profile. But perf-stat makes it much more flexible. Changes v3 => v4: 1. Split changes in bpftool/Makefile to a separate patch 2. Various small fixes. (Jiri) Changes v2 => v3: 1. Small

[PATCH v4 2/3] perf: support build BPF skeletons with perf

2020-12-09 Thread Song Liu
BPF programs are useful in perf to profile BPF programs. BPF skeleton is by far the easiest way to write BPF tools. Enable building BPF skeletons in util/bpf_skel. A dummy bpf skeleton is added. More bpf skeletons will be added for different use cases. Acked-by: Jiri Olsa Signed-off-by: Song Liu

Re: [PATCH v2 net-next 0/2] nfc: s3fwrn5: Change I2C interrupt trigger to EDGE_RISING

2020-12-09 Thread David Miller
From: Bongsu Jeon Date: Tue, 8 Dec 2020 23:10:10 +0900 > From: Bongsu Jeon > > For stable Samsung's I2C interrupt handling, I changed the interrupt > trigger from IRQ_TYPE_LEVEL_HIGH to IRQ_TYPE_EDGE_RISING and removed > the hard coded interrupt trigger type in the i2c module for the

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