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

2020-12-08 Thread Jakub Kicinski
On Tue, 8 Dec 2020 19:48:56 +0100 Andrew Lunn wrote: > > -err_disable_rxclk: > > - clk_disable_unprepare(*rx_clk); > > - > > -err_disable_txclk: > > - clk_disable_unprepare(*tx_clk); > > - > > -err_disable_hclk: > > - clk_disable_unprepare(*hclk); > > - > > -err_disable_pclk: > > -

Re: [PATCH v2 1/3] KVM: x86: implement KVM_{GET|SET}_TSC_STATE

2020-12-08 Thread Thomas Gleixner
On Tue, Dec 08 2020 at 12:32, Andy Lutomirski wrote: >> On Dec 8, 2020, at 11:25 AM, Thomas Gleixner wrote: >> One issue here is that guests might want to run their own NTP/PTP. One >> reason to do that is that some people prefer the leap second smearing >> NTP servers. > > I would hope that

Re: [PATCH v1] apparmor: Remove duplicate macro list_entry_is_head()

2020-12-08 Thread John Johansen
On 12/8/20 2:06 AM, Andy Shevchenko wrote: > Strangely I hadn't had noticed the existence of the list_entry_is_head() in > apparmor code when added the same one in the list.h. Luckily it's fully > identical and didn't break builds. In any case we don't need a duplicate > anymore, thus remove it

Re: [PATCH net v1 1/2] lan743x: improve performance: fix rx_napi_poll/interrupt ping-pong

2020-12-08 Thread Sven Van Asbroeck
On Tue, Dec 8, 2020 at 6:50 PM Eric Dumazet wrote: > > Driver could be called with an arbitrary budget (of 64), > and if its ring buffer has been depleted, return @budget instead of skb > counts, > and not ream the interrupt > Aha, so the decision to re-arm the interrupts is made by looking at

Re: [PATCH net] net: ll_temac: Fix potential NULL dereference in temac_probe()

2020-12-08 Thread David Miller
From: Zhang Changzhong Date: Tue, 8 Dec 2020 09:53:42 +0800 > platform_get_resource() may fail and in this case a NULL dereference > will occur. > > Fix it to use devm_platform_ioremap_resource() instead of calling > platform_get_resource() and devm_ioremap(). > > This is detected by

Re: [PATCH drm/hisilicon 0/3] support reading resolutions from EDID

2020-12-08 Thread Daniel Vetter
On Fri, Dec 04, 2020 at 09:28:33AM +0800, Tian Tao wrote: > patch #1 add a new file to implements i2c adapters, #2 read the > resolution from the edid, if that fails, set the resolution to fixed. > patch #3 update the destroy callback function to release the i2c adapters. > > Tian Tao (3): >

Re: [PATCH 02/22] dt-bindings: Add bindings for Keem Bay IPC driver

2020-12-08 Thread mark gross
On Mon, Dec 07, 2020 at 02:31:37PM -0600, Jassi Brar wrote: > On Mon, Dec 7, 2020 at 12:43 PM Daniele Alessandrelli > wrote: > > > > Hi Rob, > > > > Thanks for the feedback. > > > > On Mon, 2020-12-07 at 10:01 -0600, Rob Herring wrote: > > > On Tue, Dec 01, 2020 at 02:34:51PM -0800,

Greeting in Jesus name!!!

2020-12-08 Thread Sister Rose Hary
-- -- -- Greeting in Jesus name!!! Claim of donation funds!!! My name is, Sister Rose Hary from United States, I'm a widow suffering from Breast Cancer and Stroke, which denied me a child as a result i may not last till the next two months according to my doctor report. I'm married to

Re: One potential issue with concurrent execution of RCU callbacks...

2020-12-08 Thread Paul E. McKenney
On Tue, Dec 08, 2020 at 11:04:38PM +0100, Frederic Weisbecker wrote: > On Tue, Dec 08, 2020 at 10:24:09AM -0800, Paul E. McKenney wrote: > > > It reduces the code scope running with BH disabled. > > > Also narrowing down helps to understand what it actually protects. > > > > I thought that you

Re: [PATCH] net: sched: fix spelling mistake in Kconfig "trys" -> "tries"

2020-12-08 Thread David Miller
From: Colin King Date: Mon, 7 Dec 2020 16:12:31 + > From: Colin Ian King > > There is a spelling mistake in the Kconfig help text. Fix it. > > Signed-off-by: Colin Ian King Applied, thanks.

Re: [PATCH 2/2] mm/madvise: add process_madvise MADV_DONTNEER support

2020-12-08 Thread Suren Baghdasaryan
On Tue, Dec 8, 2020 at 3:40 PM Jann Horn wrote: > > On Tue, Nov 24, 2020 at 6:50 AM Suren Baghdasaryan wrote: > > In modern systems it's not unusual to have a system component monitoring > > memory conditions of the system and tasked with keeping system memory > > pressure under control. One way

Re: [rcu:dev.2020.12.08a 96/97] mm/slab_common.c:583: undefined reference to `kmem_struct_debug_provenance'

2020-12-08 Thread Paul E. McKenney
/97] mm: Add > kmalloc_debug_print_provenance() to print source of memory block > config: i386-randconfig-s002-20201208 (attached as .config) > compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 > reproduce: > # apt-get install sparse > # sparse version: v0.6.3-179-ga00755aa-dirty >

sched: exporting linux-rt migrate_disable for ZFS

2020-12-08 Thread Orivej Desh
Greetings! (If you are receiving this again, that's because I'm sending from another domain since my message from @gmx.fr was not forwarded to the lists.) With sched-Add-migrate_disable.patch first released in v5.9-rc8-rt14 [1] linux-rt defines functions migrate_disable and migrate_enable. They

Re: [f2fs-dev] [PATCH v3] f2fs: fix race of pending_pages in decompression

2020-12-08 Thread Jaegeuk Kim
On 12/07, Eric Biggers wrote: > On Tue, Dec 08, 2020 at 08:51:45AM +0900, Daeho Jeong wrote: > > > I am trying to review this but it is very hard, as the f2fs compression > > > code is > > > very hard to understand. > > > > > > It looks like a 'struct decompress_io_ctx' represents the work to >

Re: [PATCH] net: tipc: prevent possible null deref of link

2020-12-08 Thread David Miller
From: Cengiz Can Date: Mon, 7 Dec 2020 11:14:24 +0300 > `tipc_node_apply_property` does a null check on a `tipc_link_entry` > pointer but also accesses the same pointer out of the null check block. > > This triggers a warning on Coverity Static Analyzer because we're > implying that `e->link`

Re: [RFC PATCH] drm/panel: Make backlight attachment lazy

2020-12-08 Thread Daniel Vetter
On Tue, Dec 08, 2020 at 04:02:16PM -0600, Bjorn Andersson wrote: > On Tue 08 Dec 06:47 CST 2020, Thierry Reding wrote: > > > On Mon, Dec 07, 2020 at 10:44:46PM -0600, Bjorn Andersson wrote: > > > Some bridge chips, such as the TI SN65DSI86 DSI/eDP bridge, provides > > > means of generating a PWM

[PATCH] afs: Fix memory leak when mounting with multiple source parameters

2020-12-08 Thread David Howells
There's a memory leak in afs_parse_source() whereby multiple source= parameters overwrite fc->source in the fs_context struct without freeing the previously recorded source. Fix this by only permitting a single source parameter and rejecting with an error all subsequent ones. This was caught by

Re: [PATCH net v1 1/2] lan743x: improve performance: fix rx_napi_poll/interrupt ping-pong

2020-12-08 Thread Eric Dumazet
On Wed, Dec 9, 2020 at 12:29 AM Jakub Kicinski wrote: > > On Tue, 8 Dec 2020 17:23:08 -0500 Sven Van Asbroeck wrote: > > On Tue, Dec 8, 2020 at 2:50 PM Jakub Kicinski wrote: > > > > > > > > > > > +done: > > > > /* update RX_TAIL */ > > > > lan743x_csr_write(adapter,

[rcu:dev.2020.12.08a 96/97] mm/slab_common.c:583: undefined reference to `kmem_struct_debug_provenance'

2020-12-08 Thread kernel test robot
-s002-20201208 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.3-179-ga00755aa-dirty # https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git/commit/?id

Re: [PATCH] usb: typec: Add bus type for plug alt modes

2020-12-08 Thread Prashant Malani
Hi Heikki, Thanks a lot for looking at the patch. On Tue, Dec 8, 2020 at 1:37 AM Heikki Krogerus wrote: > > On Wed, Dec 02, 2020 at 07:08:47PM -0800, Prashant Malani wrote: > > Add the Type C bus for plug alternate modes which are being > > registered via the Type C connector class. This

Re: [PATCH v3 1/9] dt-binding: soc: xilinx: ai-engine: Add AI engine binding

2020-12-08 Thread Rob Herring
On Sun, Nov 29, 2020 at 11:48:17PM -0800, Wendy Liang wrote: > Xilinx AI engine array can be partitioned statically for different > applications. In the device tree, there will be device node for the AI > engine device, and device nodes for the statically configured AI engine > partitions. Each of

Re: [PATCH 2/2] mm/madvise: add process_madvise MADV_DONTNEER support

2020-12-08 Thread Jann Horn
On Tue, Nov 24, 2020 at 6:50 AM Suren Baghdasaryan wrote: > In modern systems it's not unusual to have a system component monitoring > memory conditions of the system and tasked with keeping system memory > pressure under control. One way to accomplish that is to kill > non-essential processes to

Re: [PATCH V2 2/2] mm/highmem: Lift memcpy_[to|from]_page to core

2020-12-08 Thread Dan Williams
On Tue, Dec 8, 2020 at 2:49 PM Darrick J. Wong wrote: [..] > > So what's your preferred poison? > > > > 1. Corrupt random data in whatever's been mapped into the next page (which > >is what the helpers currently do) > > Please no. My assertion is that the kernel can't know it's corruption,

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

2020-12-08 Thread Masami Hiramatsu
On Tue, 8 Dec 2020 10:00:24 -0500 Steven Rostedt wrote: > On Tue, 8 Dec 2020 21:14:11 +0900 > Masami Hiramatsu wrote: > > > On Tue, 1 Dec 2020 16:06:56 -0500 > > Steven Rostedt wrote: > > > > > From: Steven Rostedt (VMware) > > > > > > A bug was reported about the ftrace ring buffer going

Re: [PATCH net v1 2/2] lan743x: boost performance: limit PCIe bandwidth requirement

2020-12-08 Thread Florian Fainelli
On 12/8/20 3:02 PM, Sven Van Asbroeck wrote: > Hi Andrew, > > On Tue, Dec 8, 2020 at 5:51 PM Andrew Lunn wrote: >> >>> >>> So I assumed that it's a PCIe dma bandwidth issue, but I could be wrong - >>> I didn't do any PCIe bandwidth measurements. >> >> Sometimes it is actually cache operations

Re: [PATCH v4 2/2] media: i2c: Add support for the OV5648 image sensor

2020-12-08 Thread Sakari Ailus
Hi Paul, On Sat, Nov 28, 2020 at 03:33:50PM +0100, Paul Kocialkowski wrote: ... > + if (ret) > + goto error_ctrls; > + > + /* V4L2 subdev register */ > + > + ret = v4l2_async_register_subdev_sensor_common(subdev); The driver's device node may be already available to the

Re: [RFC PATCH 2/4] cpufreq: acpi-cpufreq: Add processor to the ignore PSD override list

2020-12-08 Thread Borislav Petkov
On Wed, Dec 09, 2020 at 08:21:48AM +0900, Punit Agrawal wrote: > According to the commit log, acd316248205 seems to be only targeted at > powernow-K8 - No, it is not targeted at powernow-k8 - acpi-cpufreq.c is what is used on AMD hw. He means to make acpi-cpufreq's behavior consistent with

Re: [PATCH v8] swiotlb: Adjust SWIOTBL bounce buffer size for SEV guests.

2020-12-08 Thread Borislav Petkov
On Tue, Dec 08, 2020 at 06:27:39PM -0500, Konrad Rzeszutek Wilk wrote: > That said if you have the time to take a peek at the x86 bits - that > would be awesome! Sure, tomorrow. Good night. :-) -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette

Re: [RFC PATCH 1/4] cpufreq: acpi-cpufreq: Re-factor overriding ACPI PSD

2020-12-08 Thread Punit Agrawal
Hi Wei, Wei Huang writes: > On 11/25/20 8:48 AM, Punit Agrawal wrote: >> Re-factor the code to override the firmware provided frequency domain >> information (via PSD) to localise the checks in one function. >> >> No functional change intended. >> >> Signed-off-by: Punit Agrawal >> Cc: Wei

Re: [PATCH v8] swiotlb: Adjust SWIOTBL bounce buffer size for SEV guests.

2020-12-08 Thread Konrad Rzeszutek Wilk
On December 8, 2020 6:01:19 PM EST, Borislav Petkov wrote: >On Tue, Dec 08, 2020 at 05:22:20PM -0500, Konrad Rzeszutek Wilk wrote: >> I will fix it up. > >So who's picking this up? If not me then I probably should have a >detailed look at the x86 bits before it goes in... I was planning to pick

Re: [PATCH net v1 1/2] lan743x: improve performance: fix rx_napi_poll/interrupt ping-pong

2020-12-08 Thread Jakub Kicinski
On Tue, 8 Dec 2020 17:23:08 -0500 Sven Van Asbroeck wrote: > On Tue, Dec 8, 2020 at 2:50 PM Jakub Kicinski wrote: > > > > > > > > +done: > > > /* update RX_TAIL */ > > > lan743x_csr_write(adapter, RX_TAIL(rx->channel_number), > > > rx_tail_flags |

Re: scheduling while atomic in z3fold

2020-12-08 Thread Vitaly Wool
Hi Mike, On 2020-12-07 16:41, Mike Galbraith wrote: On Mon, 2020-12-07 at 16:21 +0100, Vitaly Wool wrote: On Mon, Dec 7, 2020 at 1:34 PM Mike Galbraith wrote: Unfortunately, that made zero difference. Okay, I suggest that you submit the patch that changes read_lock() to write_lock() in

Re: [RFC PATCH 0/4] Add processor to the ignore PSD override list

2020-12-08 Thread Punit Agrawal
Hi Rafael, "Rafael J. Wysocki" writes: > On Fri, Dec 4, 2020 at 11:45 PM Punit Agrawal wrote: >> >> Hi Rafael, >> >> Punit Agrawal writes: >> >> > Hi, >> > >> > While looking into Giovanni's patches to enable frequency invariance >> > on AMD systems[0], I noticed an issue with initialising

Re: memory leak in generic_parse_monolithic [+PATCH]

2020-12-08 Thread David Howells
Randy Dunlap wrote: > Here's the syzbot reproducer: > https://syzkaller.appspot.com/x/repro.c?x=129ca3d650 > > The "interesting" mount params are: > source=%^]$[+%](${:\017k[)-:,source=%^]$[+.](%{:\017\200[)-:,\000 > > There is no other AFS activity: nothing mounted, no cells known

Re: [PATCH v2 1/2] RISC-V: Update l2 cache DT documentation to add support for SiFive FU740

2020-12-08 Thread Rob Herring
On Mon, Nov 30, 2020 at 11:13:03AM +0530, Yash Shah wrote: > The L2 cache controller in SiFive FU740 has 4 ECC interrupt sources as > compared to 3 in FU540. Update the DT documentation accordingly with > "compatible" and "interrupt" property changes. 'dt-bindings: riscv: ...' for the subject. >

Re: [RFC PATCH 2/4] cpufreq: acpi-cpufreq: Add processor to the ignore PSD override list

2020-12-08 Thread Punit Agrawal
Borislav Petkov writes: > On Mon, Dec 07, 2020 at 04:07:52PM -0600, Wei Huang wrote: >> I think we shouldn't override zen2 if _PSD is correct. In my opinion, >> there are two approaches: >> >> * Keep override_acpi_psd() >> Let us keep the original quirk and override_acpi_psd() function. Over >>

[PATCH] kunit: tool: simplify kconfig is_subset_of() logic

2020-12-08 Thread Daniel Latypov
Don't use an O(nm) algorithm* and make it more readable by using a dict. *Most obviously, it does a nested for-loop over the entire other config. A bit more subtle, it calls .entries(), which constructs a set from the list for _every_ outer iteration. Signed-off-by: Daniel Latypov ---

Re: [BUG] iwlwifi: card unusable after firmware crash

2020-12-08 Thread Rui Salvaterra
Hi, Luca, On Tue, 8 Dec 2020 at 16:27, Coelho, Luciano wrote: > > On Tue, 2020-12-08 at 11:27 +, Rui Salvaterra wrote: > > > > [ 3174.003910] iwlwifi :02:00.0: RF_KILL bit toggled to disable radio. > > [ 3174.003913] iwlwifi :02:00.0: reporting RF_KILL (radio disabled) > > It looks

Re: memory leak in generic_parse_monolithic [+PATCH]

2020-12-08 Thread Randy Dunlap
On 12/8/20 2:54 PM, David Howells wrote: > Randy Dunlap wrote: > >>> Now the backtrace only shows what the state was when the string was >>> allocated; >>> it doesn't show what happened to it after that, so another possibility is >>> that >>> the filesystem being mounted nicked what

Re: problem booting 5.10

2020-12-08 Thread John Garry
On 08/12/2020 22:51, Martin K. Petersen wrote: Julia, This solves the problem. Starting from 5.10-rc7 and doing this revert, I get a kernel that boots. Hi Julia, Can you also please test Ming's patchset here (without the megaraid sas revert) when you get a chance:

Re: [PATCH net v1 2/2] lan743x: boost performance: limit PCIe bandwidth requirement

2020-12-08 Thread Jakub Kicinski
On Tue, 8 Dec 2020 16:54:33 -0500 Sven Van Asbroeck wrote: > > > Tested with iperf3 on a freescale imx6 + lan7430, both sides > > > set to mtu 1500 bytes. > > > > > > Before: > > > [ ID] Interval Transfer Bandwidth Retr > > > [ 4] 0.00-20.00 sec 483 MBytes 203 Mbits/sec

Re: [PATCH] Update documentation to reflect what TAINT_CPU_OUT_OF_SPEC means nowadays

2020-12-08 Thread Mathieu Chouquet-Stringer
Hello, On Tue, Dec 08, 2020 at 09:58:32AM -0800, Randy Dunlap wrote: > On 12/8/20 9:54 AM, Jonathan Corbet wrote: > > On Wed, 2 Dec 2020 16:32:43 +0100 > > Mathieu Chouquet-Stringer wrote: > >> Signed-off-by: Mathieu Chouquet-Stringer > > > > Hearing no objection, I've applied this.

Re: [BUG] iwlwifi: card unusable after firmware crash

2020-12-08 Thread Rui Salvaterra
Hi, Jakub, On Tue, 8 Dec 2020 at 16:06, Jakub Kicinski wrote: > > Just to confirm - is this a regression in 5.10-rc? Does 5.9 work > smoothly in the problematic scenario? Good question. It's definitely a regression, though I don't remember exactly the last working version I had. I *think* 5.9

Re: [PATCH net v1 2/2] lan743x: boost performance: limit PCIe bandwidth requirement

2020-12-08 Thread Jakub Kicinski
On Tue, 8 Dec 2020 18:02:30 -0500 Sven Van Asbroeck wrote: > On Tue, Dec 8, 2020 at 5:51 PM Andrew Lunn wrote: > > > So I assumed that it's a PCIe dma bandwidth issue, but I could be wrong - > > > I didn't do any PCIe bandwidth measurements. > > > > Sometimes it is actually cache operations

Re: [git pull] [brown paperbag] regression in sparc64 this cycle

2020-12-08 Thread pr-tracker-bot
The pull request you sent on Tue, 8 Dec 2020 21:48:23 +: > git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/c6f7e1510b872c281ff603a3108c084b6548d35c Thank you! -- Deet-doot-dot, I am a bot.

Re: [PATCH v3 1/2] Bluetooth: btusb: define HCI packet sizes of USB Alts

2020-12-08 Thread Trent Piepho
On Wednesday, September 23, 2020 3:22:15 AM PST Pali Rohár wrote: > On Monday 14 September 2020 20:18:27 Joseph Hwang wrote: > > On Thu, Sep 10, 2020 at 4:18 PM Pali Rohár wrote: > > > And this part of code which you write is Realtek specific. > > > > We currently only have Intel and Realtek

Re: [PATCH net v1 2/2] lan743x: boost performance: limit PCIe bandwidth requirement

2020-12-08 Thread Sven Van Asbroeck
Hi Andrew, On Tue, Dec 8, 2020 at 5:51 PM Andrew Lunn wrote: > > > > > So I assumed that it's a PCIe dma bandwidth issue, but I could be wrong - > > I didn't do any PCIe bandwidth measurements. > > Sometimes it is actually cache operations which take all the > time. This needs to invalidate the

Re: [PATCH v8] swiotlb: Adjust SWIOTBL bounce buffer size for SEV guests.

2020-12-08 Thread Borislav Petkov
On Tue, Dec 08, 2020 at 05:22:20PM -0500, Konrad Rzeszutek Wilk wrote: > I will fix it up. So who's picking this up? If not me then I probably should have a detailed look at the x86 bits before it goes in... -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette

Re: [PATCH] arch: fix 'unexpected IRQ trap at vector' warnings

2020-12-08 Thread Thomas Gleixner
On Tue, Dec 08 2020 at 13:11, Michael Ellerman wrote: > "Enrico Weigelt, metux IT consult" writes: >> All archs, except Alpha, print out the irq number in hex, but the message >> looks like it was a decimal number, which is quite confusing. Fixing this >> by adding "0x" prefix. > > Arguably

Re: problem booting 5.10

2020-12-08 Thread Martin K. Petersen
Linus, > I'll take this as an "ack" for the revert, though ;) Indeed! -- Martin K. Petersen Oracle Linux Engineering

Re: problem booting 5.10

2020-12-08 Thread Jens Axboe
On 12/8/20 3:56 PM, Linus Torvalds wrote: > On Tue, Dec 8, 2020 at 2:54 PM Martin K. Petersen > wrote: >> >> Oh, I just realized the megaraid patch went in through block. > > I'll take this as an "ack" for the revert, though ;) You can add mine too, if you wish. We'll follow up in 5.11 time

Re: problem booting 5.10

2020-12-08 Thread Linus Torvalds
On Tue, Dec 8, 2020 at 2:54 PM Martin K. Petersen wrote: > > Oh, I just realized the megaraid patch went in through block. I'll take this as an "ack" for the revert, though ;) Linus

Re: memory leak in generic_parse_monolithic [+PATCH]

2020-12-08 Thread David Howells
Randy Dunlap wrote: > > Now the backtrace only shows what the state was when the string was > > allocated; > > it doesn't show what happened to it after that, so another possibility is > > that > > the filesystem being mounted nicked what vfs_parse_fs_param() had rightfully > > stolen,

Re: [PATCH V2 2/2] mm/highmem: Lift memcpy_[to|from]_page to core

2020-12-08 Thread Matthew Wilcox
On Tue, Dec 08, 2020 at 02:45:55PM -0800, Darrick J. Wong wrote: > On Tue, Dec 08, 2020 at 10:32:34PM +, Matthew Wilcox wrote: > > On Tue, Dec 08, 2020 at 02:23:10PM -0800, Dan Williams wrote: > > > On Tue, Dec 8, 2020 at 1:51 PM Matthew Wilcox wrote: > > > > > > > > On Tue, Dec 08, 2020 at

Re: [PATCH v2 1/8] lib/find_bit.c: Add find_last_zero_bit

2020-12-08 Thread Yun Levi
> btrfs' free space cache v1 is going to be removed some time in the > future so introducing kernel-wide change just for its own sake is a bit > premature But, I think it's not quite a kernel-wide change just add the correspondent function to find_last_bit. So, if we add this feature, maybe some

Re: problem booting 5.10

2020-12-08 Thread Martin K. Petersen
Jens, > Thanks for testing! Linus, do you just want to revert this, or do you > want me to queue it up? Oh, I just realized the megaraid patch went in through block. -- Martin K. Petersen Oracle Linux Engineering

Re: problem booting 5.10

2020-12-08 Thread Linus Torvalds
On Tue, Dec 8, 2020 at 2:47 PM Jens Axboe wrote: > > On Tue, Dec 8, 2020 at 3:42 PM Julia Lawall wrote: > > > > This solves the problem. Starting from 5.10-rc7 and doing this > > revert, I get a kernel that boots. > > Thanks for testing! Linus, do you just want to revert this, or do you > want

Re: [PATCH net v1 2/2] lan743x: boost performance: limit PCIe bandwidth requirement

2020-12-08 Thread Andrew Lunn
> That's a good question. I used perf to create a flame graph of what > the cpu was doing when receiving data at high speed. It showed that > __dma_page_dev_to_cpu took up most of the cpu time. Which is triggered > by dma_unmap_single(9K, DMA_FROM_DEVICE). > > So I assumed that it's a PCIe dma

Re: problem booting 5.10

2020-12-08 Thread Martin K. Petersen
Julia, > This solves the problem. Starting from 5.10-rc7 and doing this revert, I > get a kernel that boots. Thanks for testing! I'll go ahead and revert 103fbf8e4020 in 5.10/scsi-fixes. We can revisit this change in 5.11 when Ming's fixes are in place. -- Martin K. Petersen Oracle

[PATCH net-next] net: lapbether: Consider it successful if (dis)connecting when already (dis)connected

2020-12-08 Thread Xie He
When the upper layer instruct us to connect (or disconnect), but we have already connected (or disconnected), consider this operation successful rather than failed. This can help the upper layer to correct its record about whether we are connected or not here in layer 2. The upper layer may not

Re: [PATCH V2 2/2] mm/highmem: Lift memcpy_[to|from]_page to core

2020-12-08 Thread Darrick J. Wong
On Tue, Dec 08, 2020 at 10:32:34PM +, Matthew Wilcox wrote: > On Tue, Dec 08, 2020 at 02:23:10PM -0800, Dan Williams wrote: > > On Tue, Dec 8, 2020 at 1:51 PM Matthew Wilcox wrote: > > > > > > On Tue, Dec 08, 2020 at 01:32:55PM -0800, Ira Weiny wrote: > > > > On Mon, Dec 07, 2020 at

Re: problem booting 5.10

2020-12-08 Thread Jens Axboe
On Tue, Dec 8, 2020 at 3:42 PM Julia Lawall wrote: > On Tue, 8 Dec 2020, Linus Torvalds wrote: > > > On Tue, Dec 8, 2020 at 1:14 PM John Garry wrote: > > > > > > JFYI, About "scsi: megaraid_sas: Added support for shared host tagset > > > for cpuhotplug", we did have an issue reported here

Re: problem booting 5.10

2020-12-08 Thread Julia Lawall
On Tue, 8 Dec 2020, Linus Torvalds wrote: > On Tue, Dec 8, 2020 at 1:14 PM John Garry wrote: > > > > JFYI, About "scsi: megaraid_sas: Added support for shared host tagset > > for cpuhotplug", we did have an issue reported here already from Qian > > about a boot hang: > > Hmm. That does sound

[ANNOUNCE] 4.9.247-rt162

2020-12-08 Thread Luis Claudio R. Goncalves
Hello RT-list! I'm pleased to announce the 4.9.247-rt162 stable release. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git branch: v4.9-rt Head SHA1: 35e7b01017420a52fa269101a09a0a93815ec65d Or to build 4.9.247-rt162

Re: [PATCH v2 01/17] ibmvfc: add vhost fields and defaults for MQ enablement

2020-12-08 Thread Tyrel Datwyler
On 12/7/20 3:56 AM, Hannes Reinecke wrote: > On 12/4/20 3:26 PM, Brian King wrote: >> On 12/2/20 11:27 AM, Tyrel Datwyler wrote: >>> On 12/2/20 7:14 AM, Brian King wrote: On 12/1/20 6:53 PM, Tyrel Datwyler wrote: > Introduce several new vhost fields for managing MQ state of the adapter

memory leak in pcan_usb_pro_init

2020-12-08 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:0477e928 Linux 5.10-rc7 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=14ef3f4550 kernel config: https://syzkaller.appspot.com/x/.config?x=4305fa9ea70c7a9f dashboard link:

Re: [PATCH V2 2/2] mm/highmem: Lift memcpy_[to|from]_page to core

2020-12-08 Thread Matthew Wilcox
On Tue, Dec 08, 2020 at 02:23:10PM -0800, Dan Williams wrote: > On Tue, Dec 8, 2020 at 1:51 PM Matthew Wilcox wrote: > > > > On Tue, Dec 08, 2020 at 01:32:55PM -0800, Ira Weiny wrote: > > > On Mon, Dec 07, 2020 at 03:49:55PM -0800, Dan Williams wrote: > > > > On Mon, Dec 7, 2020 at 3:40 PM

Re: [PATCH next v2 2/3] printk: change @clear_seq to atomic64_t

2020-12-08 Thread John Ogness
On 2020-12-09, Sergey Senozhatsky wrote: >> Sigh, atomic64_read() uses a spin lock in the generic implementation >> that is used on some architectures. > > Oh... So on those archs prb is not lockless in fact, it actually > takes the spin_lock each time we read the descriptor state? > >

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

2020-12-08 Thread Limonciello, Mario
> > Based on the earlier thread you had referenced and his comment here it > sounds like while adding time will work for most cases, it doesn't > solve it for all cases. The problem is as a vendor you are usually > stuck looking for a solution that will work for all cases which can > lead to

Re: Re: [PATCH] drivers: rtc: retire RTC_DRV_GOLDFISH

2020-12-08 Thread Roman Kiryanov
On Sat, Nov 14, 2020 at 1:48 AM Jiaxun Yang wrote: > Thus I do think it shouldn't be retired as for now. If nobody comes in > I'd also willing to maintain Hi Jiaxun and Hancai, I sent a patch to add you to MAINTAINERS for goldfish-rtc. Could you please ack there? Regards, Roman.

[PATCH] staging: qlge: remove duplicate word in comment

2020-12-08 Thread Nicholas Warfield
This patch fixes the checkpatch warning: WARNING: Possible repeated word: 'each' 1712: FILE: qlge.h:1712.h + * that are each each 64-bits in length. There are a total of Signed-off-by: Nicholas Warfield --- drivers/staging/qlge/qlge.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [PATCH v3] iio: sx9310: Fix semtech,avg-pos-strength setting when > 16

2020-12-08 Thread Doug Anderson
Hi, On Wed, Dec 2, 2020 at 12:02 PM Stephen Boyd wrote: > > This DT property can be 0, 16, and then 64, but not 32. The math here > doesn't recognize this slight bump in the power of 2 numbers and > translates a DT property of 64 into the register value '3' when it > really should be '2'. Fix it

Re: [PATCH net v1 1/2] lan743x: improve performance: fix rx_napi_poll/interrupt ping-pong

2020-12-08 Thread Sven Van Asbroeck
On Tue, Dec 8, 2020 at 2:50 PM Jakub Kicinski wrote: > > > > > +done: > > /* update RX_TAIL */ > > lan743x_csr_write(adapter, RX_TAIL(rx->channel_number), > > rx_tail_flags | rx->last_tail); > > -done: > > + > > I assume this rings the doorbell to let the

Re: [PATCH V2 2/2] mm/highmem: Lift memcpy_[to|from]_page to core

2020-12-08 Thread Dan Williams
On Tue, Dec 8, 2020 at 1:51 PM Matthew Wilcox wrote: > > On Tue, Dec 08, 2020 at 01:32:55PM -0800, Ira Weiny wrote: > > On Mon, Dec 07, 2020 at 03:49:55PM -0800, Dan Williams wrote: > > > On Mon, Dec 7, 2020 at 3:40 PM Matthew Wilcox wrote: > > > > > > > > On Mon, Dec 07, 2020 at 03:34:44PM

Re: [PATCH V2 2/2] mm/highmem: Lift memcpy_[to|from]_page to core

2020-12-08 Thread Dan Williams
On Tue, Dec 8, 2020 at 1:33 PM Ira Weiny wrote: > > On Mon, Dec 07, 2020 at 03:49:55PM -0800, Dan Williams wrote: > > On Mon, Dec 7, 2020 at 3:40 PM Matthew Wilcox wrote: > > > > > > On Mon, Dec 07, 2020 at 03:34:44PM -0800, Dan Williams wrote: > > > > On Mon, Dec 7, 2020 at 3:27 PM Matthew

Re: [PATCH v8] swiotlb: Adjust SWIOTBL bounce buffer size for SEV guests.

2020-12-08 Thread Konrad Rzeszutek Wilk
On Mon, Dec 07, 2020 at 11:10:57PM +, Ashish Kalra wrote: > 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 workload being run, the

Re: [PATCH v8 00/16] Add support for Clang LTO

2020-12-08 Thread Arnd Bergmann
On Tue, Dec 8, 2020 at 10:10 PM 'Nick Desaulniers' via Clang Built Linux wrote: > > On Tue, Dec 8, 2020 at 1:00 PM Arnd Bergmann wrote: > > > > On Tue, Dec 8, 2020 at 5:43 PM 'Sami Tolvanen' via Clang Built Linux > > wrote: > > > > > > On Tue, Dec 8, 2020 at 4:15 AM Arnd Bergmann wrote: > > >

Re: [PATCH] drm/amdgpu: make DRM_AMD_DC x86-only again

2020-12-08 Thread Arnd Bergmann
On Tue, Dec 8, 2020 at 7:21 PM 'Nick Desaulniers' via Clang Built Linux wrote: > > On Tue, Dec 8, 2020 at 6:26 AM Arnd Bergmann wrote: > > > > On Mon, Dec 7, 2020 at 11:28 PM 'Nick Desaulniers' via Clang Built > > Linux wrote: > Hmm...no warnings for me with t

Re: [PATCH] [PATCH] Keep offset when mapping data via SWIOTLB.

2020-12-08 Thread Konrad Rzeszutek Wilk
On Mon, Dec 07, 2020 at 01:42:04PM -0800, Jianxiong Gao wrote: > NVMe driver and other applications depend on the data offset > to operate correctly. Currently when unaligned data is mapped via > SWIOTLB, the data is mapped as slab aligned with the SWIOTLB. When > booting with --swiotlb=force

[PATCH net] ethtool: fix stack overflow in ethnl_parse_bitset()

2020-12-08 Thread Michal Kubecek
Syzbot reported a stack overflow in bitmap_from_arr32() called from ethnl_parse_bitset() when bitset from netlink message is longer than target bitmap length. While ethnl_compact_sanity_checks() makes sure that trailing part is all zeros (i.e. the request does not try to touch bits kernel does not

[PATCH v9 17/18] KVM: x86: Add kexec support for SEV Live Migration.

2020-12-08 Thread Ashish Kalra
From: Ashish Kalra Reset the host's page encryption bitmap related to kernel specific page encryption status settings before we load a new kernel by kexec. We cannot reset the complete page encryption bitmap here as we need to retain the UEFI/OVMF firmware specific settings. The host's page

[PATCH v9 13/18] KVM: x86: Introduce new KVM_FEATURE_SEV_LIVE_MIGRATION feature & Custom MSR.

2020-12-08 Thread Ashish Kalra
From: Ashish Kalra Add new KVM_FEATURE_SEV_LIVE_MIGRATION feature for guest to check for host-side support for SEV live migration. Also add a new custom MSR_KVM_SEV_LIVE_MIG_EN for guest to enable the SEV live migration feature. Signed-off-by: Ashish Kalra --- Documentation/virt/kvm/cpuid.rst

Re: [PATCH bpf-next v3 2/4] bpf: Expose bpf_get_socket_cookie to tracing programs

2020-12-08 Thread KP Singh
On Tue, Dec 8, 2020 at 9:20 PM Florent Revest wrote: > > This needs two new helpers, one that works in a sleepable context (using > sock_gen_cookie which disables/enables preemption) and one that does not > (for performance reasons). Both take a struct sock pointer and need to > check it for

[PATCH v9 14/18] EFI: Introduce the new AMD Memory Encryption GUID.

2020-12-08 Thread Ashish Kalra
From: Ashish Kalra Introduce a new AMD Memory Encryption GUID which is currently used for defining a new UEFI enviroment variable which indicates UEFI/OVMF support for the SEV live migration feature. This variable is setup when UEFI/OVMF detects host/hypervisor support for SEV live migration and

[PATCH v9 11/18] KVM: x86: Introduce KVM_SET_PAGE_ENC_BITMAP ioctl

2020-12-08 Thread Ashish Kalra
From: Brijesh Singh The ioctl can be used to set page encryption bitmap for an incoming guest. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Paolo Bonzini Cc: "Radim Krčmář" Cc: Joerg Roedel Cc: Borislav Petkov Cc: Tom Lendacky Cc: x...@kernel.org Cc: k...@vger.kernel.org

[PATCH v9 12/18] KVM: SVM: Add support for static allocation of unified Page Encryption Bitmap.

2020-12-08 Thread Ashish Kalra
From: Ashish Kalra Add support for static allocation of the unified Page encryption bitmap by extending kvm_arch_commit_memory_region() callack to add svm specific x86_ops which can read the userspace provided memory region/memslots and calculate the amount of guest RAM managed by the KVM and

[PATCH v9 18/18] KVM: SVM: Bypass DBG_DECRYPT API calls for unecrypted guest memory.

2020-12-08 Thread Ashish Kalra
From: Ashish Kalra For all explicitly unecrypted guest memory regions such as S/W IOTLB bounce buffers, dma_decrypted() allocated regions and for guest regions marked as "__bss_decrypted", ensure that DBG_DECRYPT API calls are bypassed for such regions. The guest memory regions encryption status

[PATCH v9 16/18] KVM: x86: Mark _bss_decrypted section variables as decrypted in page encryption bitmap.

2020-12-08 Thread Ashish Kalra
From: Ashish Kalra Ensure that _bss_decrypted section variables such as hv_clock_boot and wall_clock are marked as decrypted in the page encryption bitmap if sev live migration is supported. Signed-off-by: Ashish Kalra --- arch/x86/kernel/kvmclock.c | 12 1 file changed, 12

[PATCH v9 15/18] KVM: x86: Add guest support for detecting and enabling SEV Live Migration feature.

2020-12-08 Thread Ashish Kalra
From: Ashish Kalra The guest support for detecting and enabling SEV Live migration feature uses the following logic : - kvm_init_plaform() checks if its booted under the EFI - If not EFI, i) check for the KVM_FEATURE_CPUID ii) if CPUID reports that migration is support then

[PATCH] PCI: Save/restore L1 PM Substate extended capability registers

2020-12-08 Thread David E. Box
On Intel systems that support ACPI Low Power Idle it has been observed that the L1 Substate capability can return disabled after a s2idle cycle. This causes the loss of L1 Substate support during runtime leading to higher power consumption. Add save/restore of the L1SS control registers.

[PATCH v9 10/18] mm: x86: Invoke hypercall when page encryption status is changed

2020-12-08 Thread Ashish Kalra
From: Brijesh Singh Invoke a hypercall when a memory region is changed from encrypted -> decrypted and vice versa. Hypervisor needs to know the page encryption status during the guest migration. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Paolo Bonzini Cc: "Radim Krčmář"

[PATCH v9 07/18] KVM: x86: Add AMD SEV specific Hypercall3

2020-12-08 Thread Ashish Kalra
From: Brijesh Singh KVM hypercall framework relies on alternative framework to patch the VMCALL -> VMMCALL on AMD platform. If a hypercall is made before apply_alternative() is called then it defaults to VMCALL. The approach works fine on non SEV guest. A VMCALL would causes #UD, and hypervisor

[PATCH v9 09/18] KVM: x86: Introduce KVM_GET_PAGE_ENC_BITMAP ioctl

2020-12-08 Thread Ashish Kalra
From: Brijesh Singh The ioctl can be used to retrieve page encryption bitmap for a given gfn range. Return the correct bitmap as per the number of pages being requested by the user. Ensure that we only copy bmap->num_pages bits in the userspace buffer, if bmap->num_pages is not byte aligned we

[PATCH v9 06/18] KVM: SVM: Add KVM_SEV_RECEIVE_FINISH command

2020-12-08 Thread Ashish Kalra
From: Brijesh Singh The command finalize the guest receiving process and make the SEV guest ready for the execution. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Paolo Bonzini Cc: "Radim Krčmář" Cc: Joerg Roedel Cc: Borislav Petkov Cc: Tom Lendacky Cc: x...@kernel.org

[PATCH v9 05/18] KVM: SVM: Add KVM_SEV_RECEIVE_UPDATE_DATA command

2020-12-08 Thread Ashish Kalra
From: Brijesh Singh The command is used for copying the incoming buffer into the SEV guest memory space. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Paolo Bonzini Cc: "Radim Krčmář" Cc: Joerg Roedel Cc: Borislav Petkov Cc: Tom Lendacky Cc: x...@kernel.org Cc:

[PATCH v9 08/18] KVM: X86: Introduce KVM_HC_PAGE_ENC_STATUS hypercall

2020-12-08 Thread Ashish Kalra
From: Brijesh Singh This hypercall is used by the SEV guest to notify a change in the page encryption status to the hypervisor. The hypercall should be invoked only when the encryption attribute is changed from encrypted -> decrypted and vice versa. By default all guest pages are considered

[PATCH v9 04/18] KVM: SVM: Add support for KVM_SEV_RECEIVE_START command

2020-12-08 Thread Ashish Kalra
From: Brijesh Singh The command is used to create the encryption context for an incoming SEV guest. The encryption context can be later used by the hypervisor to import the incoming data into the SEV guest memory space. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Paolo

[PATCH v9 02/18] KVM: SVM: Add KVM_SEND_UPDATE_DATA command

2020-12-08 Thread Ashish Kalra
From: Brijesh Singh The command is used for encrypting the guest memory region using the encryption context created with KVM_SEV_SEND_START. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Paolo Bonzini Cc: "Radim Krčmář" Cc: Joerg Roedel Cc: Borislav Petkov Cc: Tom Lendacky

[PATCH] SCSI: cxgb4i: fix TLS dependency

2020-12-08 Thread Randy Dunlap
ames E.J. Bottomley" Cc: "Martin K. Petersen" --- Found in linux-next but applies to mainline as well. I'm not sure about which commit ID to use in Fixes:. drivers/scsi/cxgbi/cxgb4i/Kconfig | 1 + 1 file changed, 1 insertion(+) --- linux-next-20201208.orig/drivers/scsi/

Re: One potential issue with concurrent execution of RCU callbacks...

2020-12-08 Thread Frederic Weisbecker
On Tue, Dec 08, 2020 at 10:24:09AM -0800, Paul E. McKenney wrote: > > It reduces the code scope running with BH disabled. > > Also narrowing down helps to understand what it actually protects. > > I thought that you would call out unnecessarily delaying other softirq > handlers. ;-) > > But if

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