Re: [PATCH] sched/core: add rcu_read_lock/unlock() protection

2021-01-26 Thread Peter Zijlstra
On Tue, Jan 26, 2021 at 04:46:51PM +0800, qiang.zh...@windriver.com wrote: > From: Zqiang > > Due to for_each_process_thread belongs to RCU read operation, > need to add rcu_read_lock/unlock() protection. > > Signed-off-by: Zqiang > --- > kernel/sched/core.c | 2 ++ > 1 file changed, 2 inserti

Re: [RFC PATCH v3 00/13] virtio/vsock: introduce SOCK_SEQPACKET support

2021-01-26 Thread Stefano Garzarella
Hi Arseny, thanks for this new series! I'm a bit busy but I hope to review it tomorrow or on Thursday. Stefano On Mon, Jan 25, 2021 at 02:09:00PM +0300, Arseny Krasnov wrote: This patchset impelements support of SOCK_SEQPACKET for virtio transport. As SOCK_SEQPACKET guarantees t

[PATCH v2 08/14] dt-bindings: reset: add IDs for SCMI reset domains on stm32mp15

2021-01-26 Thread gabriel.fernandez
From: Gabriel Fernandez stm32mp15 TZ secure firmware provides SCMI reset domains for secure resources. This change defines the SCMI reset domain identifiers used by SCMI agents and servers. Stm32mp15 TZ secure firmware provides SCMI clocks for oscillators, some PLL output and few secure aware in

Re: [PATCH] PCI: quirk for preventing bus reset on TI C667X

2021-01-26 Thread Antti Järvinen
On 22.1.2021 1.55, Bjorn Helgaas wrote:> > It looks like we would probably be trying a Secondary Bus Reset using > the bridge leading to the C667X. Can you confirm? Yes, this is my understanding too. > Wonder if you > could try doing what pci_reset_secondary_bus() does by hand: > I tried th

Re: [RFC 2/2] mm, slub: add shrinker to reclaim cached slabs

2021-01-26 Thread Vlastimil Babka
On 1/22/21 1:48 AM, Roman Gushchin wrote: > On Thu, Jan 21, 2021 at 06:21:54PM +0100, Vlastimil Babka wrote: > > Hi Vlastimil! > > This makes a lot of sense, however it looks a bit as an overkill to me (on > 5.9+). > Isn't limiting a number of pages (instead of number of objects) sufficient on

[PATCH 5.4 00/87] 5.4.93-rc3 review

2021-01-26 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 5.4.93 release. There are 87 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Thu, 28 Jan 2021 11:17:31 +. Anything rece

Re: [PATCH] ARM: dts: omap3-igep: Change email address in copyright notice

2021-01-26 Thread Tony Lindgren
* Javier Martinez Canillas [210118 10:17]: > I've switched employer a long time ago and the mentioned email address no > longer exists. Use my personal address to prevent the issue in the future. Thanks applying into omap-for-v5.12/dt. Tony

Re: [PATCH v4 1/3] arm64: Improve kernel address detection of __is_lm_address()

2021-01-26 Thread Catalin Marinas
On Tue, Jan 26, 2021 at 11:58:13AM +, Vincenzo Frascino wrote: > On 1/25/21 5:56 PM, Catalin Marinas wrote: > > On Mon, Jan 25, 2021 at 04:09:57PM +, Vincenzo Frascino wrote: > >> On 1/25/21 2:59 PM, Catalin Marinas wrote: > >>> On Mon, Jan 25, 2021 at 02:36:34PM +, Vincenzo Frascino wr

Re: [PATCH v4 00/21] arm64: sunxi: Initial Allwinner H616 SoC support

2021-01-26 Thread Maxime Ripard
Hi, On Mon, Jan 25, 2021 at 03:17:50PM +, Andre Przywara wrote: > Hi, > > an update from the v3 last week, to add support for the Allwinner H616 > SoC. Still based on the (updated) sunxi/for-next branch. > I am omitting the MMC and pinctrl patches now, as they have been taken > by Ulf and Lin

Re: [PATCH v4 1/3] arm64: Improve kernel address detection of __is_lm_address()

2021-01-26 Thread Vincenzo Frascino
On 1/26/21 12:07 PM, Catalin Marinas wrote: > On Tue, Jan 26, 2021 at 11:58:13AM +, Vincenzo Frascino wrote: >> On 1/25/21 5:56 PM, Catalin Marinas wrote: >>> On Mon, Jan 25, 2021 at 04:09:57PM +, Vincenzo Frascino wrote: On 1/25/21 2:59 PM, Catalin Marinas wrote: > On Mon, Jan

Re: [PATCH 5.4 00/88] 5.4.93-rc2 review

2021-01-26 Thread Naresh Kamboju
On Tue, 26 Jan 2021 at 15:33, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.4.93 release. > There are 88 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Resp

Re: [PATCH v16 07/11] secretmem: use PMD-size pages to amortize direct map fragmentation

2021-01-26 Thread Michal Hocko
On Tue 26-01-21 12:56:48, David Hildenbrand wrote: > On 26.01.21 12:46, Michal Hocko wrote: > > On Thu 21-01-21 14:27:19, Mike Rapoport wrote: > > > From: Mike Rapoport > > > > > > Removing a PAGE_SIZE page from the direct map every time such page is > > > allocated for a secret memory mapping wi

Re: [PATCH] fbtft: add tearing signal detect

2021-01-26 Thread Dan Carpenter
On Sun, Jan 24, 2021 at 11:35:37PM +0800, Carlis wrote: > +static irqreturn_t spi_panel_te_handler(int irq, void *data) > +{ > + complete(&spi_panel_te); > + return IRQ_HANDLED; > +} > + > +static void enable_spi_panel_te_irq(struct fbtft_par *par, bool enable) It quite confused me that en

[PATCH 1/3] bus: ti-sysc: Fix initializing module_pa for modules without sysc register

2021-01-26 Thread Tony Lindgren
We have interconnect target modules with no known registers using only clocks and resets, but we still want to detect them based on the module IO range. So let's call sysc_parse_and_check_child_range() earlier so we have module_pa properly initialized. Fixes: 2928135c93f8 ("bus: ti-sysc: Support m

Re: [PATCH net-next 3/3] net: page_pool: simplify page recycling condition tests

2021-01-26 Thread Ilias Apalodimas
On Mon, Jan 25, 2021 at 04:47:20PM +, Alexander Lobakin wrote: > pool_page_reusable() is a leftover from pre-NUMA-aware times. For now, > this function is just a redundant wrapper over page_is_pfmemalloc(), > so Inline it into its sole call site. > > Signed-off-by: Alexander Lobakin > --- >

[PATCH 1/5] scsi: hisi_sas: Remove deferred probe check in hisi_sas_v2_probe()

2021-01-26 Thread John Garry
The platform_get_irq() check for -EPROBE_DEFER was to ensure that all the steps to add the SCSI host are not done and then only to realise that the probe needs to be deferred. However, since there is now an earlier check for this in hisi_sas_interrupt_preinit(), this check is superfluous and may b

[PATCH 2/5] scsi: hisi_sas: Don't check .nr_hw_queues in hisi_sas_task_prep()

2021-01-26 Thread John Garry
Now that v2 and v3 hw expose their HW queues (and so shost.nr_hw_queues is set), remove the conditional checks in hisi_sas_task_prep(). This change would affect v1 HW performance (as it does not expose HW queues), but nobody uses it and support may be dropped soon. Reviewed-by: Xiang Chen Signed

[PATCH 5/5] scsi: hisi_sas: Add trace FIFO debugfs support

2021-01-26 Thread John Garry
From: Luo Jiaxing The controller provides trace FIFO DFX tool to assist link fault debug and link optimization. This tool can be helpful when debug link faults without SAS analyzers. Each PHY has an independent trace FIFO interface. The user can configure trace FIFO tool of one PHY by using the

Re: [PATCH v3 2/2] iommu: use the __iommu_attach_device() directly for deferred attach

2021-01-26 Thread Robin Murphy
On 2021-01-26 11:53, Lianbo Jiang wrote: Currently, because domain attach allows to be deferred from iommu driver to device driver, and when iommu initializes, the devices on the bus will be scanned and the default groups will be allocated. Due to the above changes, some devices could be added t

[PATCH 0/5] hisi_sas: More misc patches

2021-01-26 Thread John Garry
This is a collection of misc patches picked up during the latest dev cycle, targeted at 5.12 . Features include: - Some tidy-up from after recent change to expose HW queues on v2 HW - Add trace FIFO DFX debugfs support - Flush wq for driver removal - Add ability to enable debugfs support as a kern

[PATCH 4/5] scsi: hisi_sas: Flush workqueue in hisi_sas_v3_remove()

2021-01-26 Thread John Garry
From: Luo Jiaxing If the controller reset occurs at the same time as driver removal, it may be possible that the interrupts have been released prior to the host softreset, and calling pci_irq_vector() there causes a WARN: WARNING: CPU: 37 PID: 1542 /pci/msi.c:1275 pci_irq_vector+0xc0/0xd0 Call t

[PATCH 3/5] scsi: hisi_sas: Enable debugfs support by default

2021-01-26 Thread John Garry
From: Luo Jiaxing Add a config option to enable debugfs support by default. And if debugfs support is enabled by default, dump count default value is increased to 50 as generally users want something bigger than the current default in that situation. Signed-off-by: Luo Jiaxing Signed-off-by: Jo

RE: [PATCH RFC] gcc-plugins: Handle GCC version mismatch for OOT modules

2021-01-26 Thread David Laight
> We started with the assumption that modules must be compiled > by the same compiler as the kernel was. > https://lore.kernel.org/patchwork/patch/836247/#1031547 > > Now that the compiler capability is evaluated in Kconfig, > this is a harder requirement. > > In reality, a different compiler mig

Re: [PATCH] usb: dwc3: add EXPORT_SYMBOL_GPL for role init functions

2021-01-26 Thread Ray Chi
On Tue, Jan 26, 2021 at 6:01 PM Greg KH wrote: > > On Tue, Jan 26, 2021 at 05:49:13PM +0800, Ray Chi wrote: > > Currently, role init functions are used in dwc3 driver but > > can't be called from kernel modules. > > dwc3_host_init > > dwc3_host_exit > > dwc3_gadget_init > > dwc3_gadget_exi

[PATCH v2 1/3] clk: axi-clkgen: remove ARCH dependency in Kconfig

2021-01-26 Thread Alexandru Ardelean
The intent is to be able to run this driver to access the IP core in setups where FPGA board is also connected via a PCIe bus. In such cases the number of combinations explodes, where the host system can be an x86 with Xilinx Zynq/ZynqMP/Microblaze board connected via PCIe. Or even a ZynqMP board w

Re: [PATCH v6 3/4] usb: dwc3: Resize TX FIFOs to meet EP bursting requirements

2021-01-26 Thread Wesley Cheng
On 1/25/2021 5:55 PM, Bjorn Andersson wrote: > On Mon 25 Jan 19:14 CST 2021, Wesley Cheng wrote: > >> >> >> On 1/22/2021 9:12 AM, Bjorn Andersson wrote: >>> On Thu 21 Jan 22:01 CST 2021, Wesley Cheng wrote: >>> >> >> Hi Bjorn, >>> >>> Under what circumstances should we specify this? And in part

Re: [PATCH] bcache: dont reset bio opf in bch_data_insert_start

2021-01-26 Thread Coly Li
On 1/26/21 12:32 PM, Dongsheng Yang wrote: > > 在 2021/1/25 星期一 下午 12:53, Coly Li 写道: >> On 1/25/21 12:29 PM, Dongsheng Yang wrote: >>> commit ad0d9e76(bcache: use bio op accessors) makes the bi_opf >>> modified by bio_set_op_attrs(). But there is a logical >>> problem in this commit: >>> >>>  

[PATCH v2 1/2] dt-bindings: clock: Add SC8180x GCC binding

2021-01-26 Thread Bjorn Andersson
Add devicetree binding for the global clock controller found in the Qualcomm SC8180x platform. Signed-off-by: Bjorn Andersson --- Changes since v1: - None .../bindings/clock/qcom,gcc-sc8180x.yaml | 76 + include/dt-bindings/clock/qcom,gcc-sc8180x.h | 309 ++ 2 files

Re: [PATCH v5] x86/mce: Avoid infinite loop for copy from user recovery

2021-01-26 Thread Borislav Petkov
On Mon, Jan 25, 2021 at 02:55:09PM -0800, Luck, Tony wrote: > And now I've changed it back to non-atomic (but keeping the > slightly cleaner looking code style that I used for the atomic > version). This one also works for thousands of injections and > recoveries. Maybe take it now before it stop

Re: [PATCH 1/2] kcsan: Make test follow KUnit style recommendations

2021-01-26 Thread Marco Elver
On Tue, 26 Jan 2021 at 05:35, David Gow wrote: > > On Thu, Jan 14, 2021 at 12:06 AM Marco Elver wrote: > > > > Per recently added KUnit style recommendations at > > Documentation/dev-tools/kunit/style.rst, make the following changes to > > the KCSAN test: > > > > 1. Rename 'kcsan-test.c'

[PATCH 2/2] arm64: dts: rockchip: fix pinctrl sleep nodename for rk3399.dtsi

2021-01-26 Thread Johan Jonker
A test with the command below aimed at powerpc generates notifications in the Rockchip arm64 tree. Fix pinctrl "sleep" nodename by renaming it to "suspend" for rk3399.dtsi make ARCH=arm64 dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/powerpc/sleep.yaml Signed-off-by: Johan Jonker

Re: [PATCH] usb: dwc3: add EXPORT_SYMBOL_GPL for role init functions

2021-01-26 Thread Greg KH
On Tue, Jan 26, 2021 at 08:14:02PM +0800, Ray Chi wrote: > On Tue, Jan 26, 2021 at 6:01 PM Greg KH wrote: > > > > On Tue, Jan 26, 2021 at 05:49:13PM +0800, Ray Chi wrote: > > > Currently, role init functions are used in dwc3 driver but > > > can't be called from kernel modules. > > > dwc3_host_i

[RFC PATCH 1/2] ASoC: soc-component: add snd_soc_component_read/write_field()

2021-01-26 Thread Srinivas Kandagatla
It's often the case that we would write or read a particular field in register. With the current soc_component apis, reading a particular field in register would involve first read the register and then perform shift operations. Ex: to read from a field mask of 0xf0 val = snd_soc_componen

[RFC PATCH 2/2] ASoC: codecs: lpass-wsa-macro: make use of snd_soc_component_read_field()

2021-01-26 Thread Srinivas Kandagatla
Make use of snd_soc_component_read_field() to make the code more readable! Signed-off-by: Srinivas Kandagatla --- sound/soc/codecs/lpass-wsa-macro.c | 43 ++ 1 file changed, 20 insertions(+), 23 deletions(-) diff --git a/sound/soc/codecs/lpass-wsa-macro.c b/sound/so

Re: [PATCH 5.4 00/88] 5.4.93-rc2 review

2021-01-26 Thread Greg Kroah-Hartman
On Tue, Jan 26, 2021 at 04:58:53PM +0530, Naresh Kamboju wrote: > On Tue, 26 Jan 2021 at 16:46, Greg Kroah-Hartman > wrote: > > > > On Tue, Jan 26, 2021 at 04:43:51PM +0530, Naresh Kamboju wrote: > > > On Tue, 26 Jan 2021 at 15:33, Greg Kroah-Hartman > > > wrote: > > > > > > > > This is the start

[PATCH v2] rtlwifi: rtl8821ae: style: Simplify bool comparison

2021-01-26 Thread Jiapeng Zhong
Fix the following coccicheck warning: ./drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c:3853:7-17: WARNING: Comparison of 0/1 to bool variable Reported-by: Abaci Robot Signed-off-by: Jiapeng Zhong --- Changes in v2: -Modify email address drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy

Re: [PATCH V6 0/6] dt: build overlays

2021-01-26 Thread Frank Rowand
On 1/22/21 4:50 AM, Viresh Kumar wrote: > Hi Frank/Rob, > > This patchset makes necessary changes to the kernel to add support for > building overlays (%.dtbo) and the required fdtoverlay tool. This also > builds static_test.dtb using most of the existing overlay tests present > in drivers/of/unit

[PATCH BUGFIX/IMPROVEMENT 5/6] block, bfq: keep shared queues out of the waker mechanism

2021-01-26 Thread Paolo Valente
Shared queues are likely to receive I/O at a high rate. This may deceptively let them be considered as wakers of other queues. But a false waker will unjustly steal bandwidth to its supposedly woken queue. So considering also shared queues in the waking mechanism may cause more control troubles tha

Re: [PATCH net-next v2 0/2] dsa: add MT7530 GPIO support

2021-01-26 Thread patchwork-bot+netdevbpf
Hello: This series was applied to netdev/net-next.git (refs/heads/master): On Mon, 25 Jan 2021 12:43:20 +0800 you wrote: > MT7530's LED controller can be used as GPIO controller. Add support for > it. > > DENG Qingfang (2): > dt-bindings: net: dsa: add MT7530 GPIO controller binding > net: d

[PATCH BUGFIX/IMPROVEMENT 3/6] block, bfq: make shared queues inherit wakers

2021-01-26 Thread Paolo Valente
Consider a bfq_queue bfqq that is about to be merged with another bfq_queue new_bfqq. The processes associated with bfqq are cooperators of the processes associated with new_bfqq. So, if bfqq has a waker, then it is reasonable (and beneficial for throughput) to assume that all these processes will

Re: [PATCH v5 1/9] dt-bindings: clock: tegra: Add clock ID TEGRA210_CLK_QSPI_PM

2021-01-26 Thread Mark Brown
On Tue, Jan 26, 2021 at 11:03:42AM +0100, Thierry Reding wrote: > Since the TEGRA210_CLK_QSPI_PM symbol isn't used by the driver patches > directly, would you mind dropping this so that I can pick it up into the > Tegra tree along with the DT updates? Sure, can you send me a revert commit droppin

Re: [v7,4/7] PCI: mediatek-gen3: Add INTx support

2021-01-26 Thread Marc Zyngier
On 2021-01-13 11:39, Jianjun Wang wrote: Add INTx support for MediaTek Gen3 PCIe controller. Signed-off-by: Jianjun Wang Acked-by: Ryder Lee --- drivers/pci/controller/pcie-mediatek-gen3.c | 163 1 file changed, 163 insertions(+) diff --git a/drivers/pci/controller/pcie-

[PATCH BUGFIX/IMPROVEMENT 2/6] block, bfq: put reqs of waker and woken in dispatch list

2021-01-26 Thread Paolo Valente
Consider a new I/O request that arrives for a bfq_queue bfqq. If, when this happens, the only active bfq_queues are bfqq and either its waker bfq_queue or one of its woken bfq_queues, then there is no point in queueing this new I/O request in bfqq for service. In fact, the in-service queue and bfqq

[PATCH BUGFIX/IMPROVEMENT 0/6] block, bfq: third and last batch of fixes and improvements

2021-01-26 Thread Paolo Valente
Hi, here's batch 3/3. Thanks, Paolo Paolo Valente (6): block, bfq: always inject I/O of queues blocked by wakers block, bfq: put reqs of waker and woken in dispatch list block, bfq: make shared queues inherit wakers block, bfq: fix weight-raising resume with !low_latency block, bfq: kee

Re: [PATCH v4 05/17] selftests/resctrl: Add a few dependencies

2021-01-26 Thread Shuah Khan
On 11/30/20 1:19 PM, Fenghua Yu wrote: Add a couple of sanity checks and the config file for test dependencies. Running any resctrl unit test involves writing to resctrl file system and only a root user has permission to write to resctrl FS. Resctrl test suite before running any test checks for

Re: [PATCH v1] mm/memory_hotplug: MEMHP_MERGE_RESOURCE -> MHP_MERGE_RESOURCE

2021-01-26 Thread Miaohe Lin
On 2021/1/26 19:58, David Hildenbrand wrote: > Let's make "MEMHP_MERGE_RESOURCE" consistent with "MHP_NONE", "mhp_t" and > "mhp_flags". As discussed recently [1], "mhp" is our internal > acronym for memory hotplug now. > > [1] > https://lore.kernel.org/linux-mm/c37de2d0-28a1-4f7d-f944-cfd7d81c3..

Re: [PATCH 1/2] mm/hugetlb: grab head page refcount once per group of subpages

2021-01-26 Thread Mike Kravetz
On 1/25/21 12:57 PM, Joao Martins wrote: > follow_hugetlb_page() once it locks the pmd/pud, it checks all the > subpages in a huge page and grabs a reference for each one, > depending on how many pages we can store or the size of va range. > Similar to gup-fast, have follow_hugetlb_page() grab the

Re: [PATCH] fs: io_uring.c: Add skip option for __io_sqe_files_update

2021-01-26 Thread Pavel Begunkov
On 22/12/2020 02:10, Noah Goldstein wrote: > On Sun, Dec 20, 2020 at 03:18:05PM +, Pavel Begunkov wrote: >> On 20/12/2020 06:50, noah wrote:> From: noah >>> >>> This patch makes it so that specify a file descriptor value of -2 will >>> skip updating the corresponding fixed file index. >>> >>>

Re: [PATCH v2] locking/rwsem: Remove empty rwsem.h

2021-01-26 Thread Peter Zijlstra
On Tue, Jan 26, 2021 at 10:20:14AM +, Will Deacon wrote: > On Tue, Jan 26, 2021 at 12:17:21PM +0200, Nikolay Borisov wrote: > > This is a leftover from 7f26482a872c ("locking/percpu-rwsem: Remove the > > embedded rwsem") > > > > Signed-off-by: Nikolay Borisov > > --- > > V2: > > * Add refer

Re: Dealing with complex patch series in linux-next

2021-01-26 Thread Christian Brauner
On Tue, Jan 26, 2021 at 07:00:30PM +1100, Stephen Rothwell wrote: > Hi Christian, > > On Mon, 25 Jan 2021 10:43:23 +0100 Christian Brauner > wrote: > > > > After having received another round of acks on the idmapped mounts > > series and other fses about to move forward with porting I moved forw

Re: [PATCH v17 11/26] x86/mm: Update ptep_set_wrprotect() and pmdp_set_wrprotect() for transition from _PAGE_DIRTY to _PAGE_COW

2021-01-26 Thread Borislav Petkov
On Mon, Jan 25, 2021 at 02:18:37PM -0800, Yu, Yu-cheng wrote: > For example, when a thread reads a W=1, D=0 PTE and before changing it to > W=0,D=0, another thread could have written to the page and the PTE is W=1, > D=1 now. When try_cmpxchg() detects the difference, old_pte is read again. None

Re: [PATCH v2 1/7] drivers: soc: atmel: add spdx license identifier

2021-01-26 Thread Nicolas Ferre
On 26/01/2021 at 10:29, Claudiu Beznea wrote: Add SPDX-License-Identifier. Signed-off-by: Claudiu Beznea Acked-by: Nicolas Ferre I remove license boilerplate text now that it's useless and queue this one on top of at91-soc. Thanks, best regards, Nicolas --- drivers/soc/atmel/soc.c

[RFC][PATCH 09/13] mm/vmscan: add page demotion counter

2021-01-26 Thread Dave Hansen
From: Yang Shi Account the number of demoted pages into reclaim_state->nr_demoted. Add pgdemote_kswapd and pgdemote_direct VM counters showed in /proc/vmstat. [ daveh: - __count_vm_events() a bit, and made them look at the THP size directly rather than getting data from migrate_pages(

Re: [PATCH] s390: allow reschedule on syscall restart

2021-01-26 Thread Stephen Rothwell
Hi all, On Tue, 26 Jan 2021 07:59:51 +0100 Christian Borntraeger wrote: > > On 21.01.21 15:39, Sven Schnelle wrote: > > Commit 845f44e8ef28 ("sched: Report local wake up on resched blind zone > > within idle loop") from next-20210121 causes a warning because s390 > > doesn't call sched_resched_l

Re: [PATCH v3 1/3] dt-bindings:drm/bridge:anx7625:add HDCP support flag and swing reg

2021-01-26 Thread Xin Ji
Hi Rob, thanks for the comments, I'll fix the issue on the next serial. Thanks, Xin On Mon, Jan 25, 2021 at 09:41:43AM -0600, Rob Herring wrote: > On Mon, Jan 25, 2021 at 07:12:21PM +0800, Xin Ji wrote: > > Add 'bus-type' and 'data-lanes' define for port0, add HDCP support > > flag and DP tx lane0

[PATCH v2] locking/rwsem: Remove empty rwsem.h

2021-01-26 Thread Nikolay Borisov
This is a leftover from 7f26482a872c ("locking/percpu-rwsem: Remove the embedded rwsem") Signed-off-by: Nikolay Borisov --- V2: * Add reference to commit which made the file useless. kernel/locking/rwsem.h | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 kernel/locking

Re: [PATCH v4 14/23] powerpc/syscall: Save r3 in regs->orig_r3

2021-01-26 Thread Nicholas Piggin
Excerpts from Christophe Leroy's message of January 26, 2021 12:48 am: > Save r3 in regs->orig_r3 in system_call_exception() > > Signed-off-by: Christophe Leroy > --- > arch/powerpc/kernel/entry_64.S | 1 - > arch/powerpc/kernel/syscall.c | 2 ++ > 2 files changed, 2 insertions(+), 1 deletion(-

Re: [PATCH v4 19/23] powerpc/syscall: Avoid stack frame in likely part of system_call_exception()

2021-01-26 Thread Nicholas Piggin
Excerpts from Christophe Leroy's message of January 26, 2021 12:48 am: > When r3 is not modified, reload it from regs->orig_r3 to free > volatile registers. This avoids a stack frame for the likely part > of system_call_exception() > > Before the patch: > > c000b4d4 : > c000b4d4: 7c 08 02 a6

Re: [PATCH v3] mhi: use irq_flags if controller driver configures it

2021-01-26 Thread Kalle Valo
Manivannan Sadhasivam writes: > On Wed, Jan 13, 2021 at 09:40:19AM +0200, Kalle Valo wrote: >> Manivannan Sadhasivam writes: >> >> > On Mon, Jan 04, 2021 at 06:11:28PM +0800, Carl Huang wrote: >> >> If controller driver has specified the irq_flags, mhi uses this specified >> >> irq_flags. Other

Re: [PATCH RFC 1/2] dt: pci: designware-pcie.txt: convert it to yaml

2021-01-26 Thread Marek Szyprowski
Hi Mauro, On 26.01.2021 08:35, Mauro Carvalho Chehab wrote: > Convert the file into a JSON description at the yaml format. > > Signed-off-by: Mauro Carvalho Chehab > --- > .../bindings/pci/amlogic,meson-pcie.txt | 4 +- > .../bindings/pci/axis,artpec6-pcie.txt| 2 +- > .../b

[PATCH v4] fbtft: add tearing signal detect

2021-01-26 Thread Carlis
From: zhangxuezhi For st7789v ic,add tearing signal detect to avoid screen tearing Signed-off-by: zhangxuezhi --- v4:modify some code style and change te irq set function name --- drivers/staging/fbtft/fb_st7789v.c | 128 - drivers/staging/fbtft/fbtft.h

[PATCH 5.10 166/199] skbuff: back tiny skbs with kmalloc() in __netdev_alloc_skb() too

2021-01-26 Thread Greg Kroah-Hartman
From: Alexander Lobakin commit 66c556025d687dbdd0f748c5e1df89c977b6c02a upstream. Commit 3226b158e67c ("net: avoid 32 x truesize under-estimation for tiny skbs") ensured that skbs with data size lower than 1025 bytes will be kmalloc'ed to avoid excessive page cache fragmentation and memory consu

[PATCH net] stmmac: intel: Configure EHL PSE0 GbE and PSE1 GbE to 32 bits DMA addressing

2021-01-26 Thread mohammad . athari . ismail
From: Voon Weifeng Fix an issue where dump stack is printed and Reset Adapter occurs when PSE0 GbE or/and PSE1 GbE is/are enabled. EHL PSE0 GbE and PSE1 GbE use 32 bits DMA addressing whereas EHL PCH GbE uses 64 bits DMA addressing. [ 25.535095] [ cut here ] [ 25.5402

[PATCH 5.10 000/203] 5.10.11-rc2 review

2021-01-26 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 5.10.11 release. There are 203 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Thu, 28 Jan 2021 09:42:40 +. Anything re

Re: [PATCH v5 1/9] dt-bindings: clock: tegra: Add clock ID TEGRA210_CLK_QSPI_PM

2021-01-26 Thread Thierry Reding
On Mon, Dec 21, 2020 at 01:17:31PM -0800, Sowjanya Komatineni wrote: > Tegra210 QSPI clock output has divider DIV2_SEL which will be enabled > when using DDR interface mode. > > This patch adds clock ID for this to dt-binding. > > Acked-by: Rob Herring > Signed-off-by: Sowjanya Komatineni > ---

[PATCH 5.4 00/88] 5.4.93-rc2 review

2021-01-26 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 5.4.93 release. There are 88 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Thu, 28 Jan 2021 09:42:44 +. Anything rece

Re: [PATCH] PCI: dwc: layerscape: convert to builtin_platform_driver()

2021-01-26 Thread Lorenzo Pieralisi
On Wed, Jan 20, 2021 at 11:52:46AM +0100, Michael Walle wrote: > fw_devlink will defer the probe until all suppliers are ready. We can't > use builtin_platform_driver_probe() because it doesn't retry after probe > deferral. Convert it to builtin_platform_driver(). > > Fixes: e590474768f1 ("driver

RE: [PATCH v3] tracing: precise log info for kretprobe addr err

2021-01-26 Thread Jianlin Lv
> -Original Message- > From: Masami Hiramatsu > Sent: Tuesday, January 26, 2021 12:16 PM > To: Steven Rostedt > Cc: Oleg Nesterov ; Jianlin Lv ; > mi...@redhat.com; mhira...@kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH v3] tracing: precise log info for kretprobe addr

Re: [PATCH] usb: dwc3: add EXPORT_SYMBOL_GPL for role init functions

2021-01-26 Thread Greg KH
On Tue, Jan 26, 2021 at 05:49:13PM +0800, Ray Chi wrote: > Currently, role init functions are used in dwc3 driver but > can't be called from kernel modules. > dwc3_host_init > dwc3_host_exit > dwc3_gadget_init > dwc3_gadget_exit > dwc3_event_buffers_setup > dwc3_event_buffers_cleanup >

[PATCH v5] Bluetooth: btrtl: Enable WBS for the specific Realtek devices

2021-01-26 Thread max.chou
From: Max Chou By this change, it will enable WBS supported on the specific Realtek BT devices, such as RTL8822C and RTL8852A. In the future, it's able to maintain what the Realtek devices support WBS here. Tested-by: Hilda Wu Reviewed-by: Abhishek Pandit-Subedi Signed-off-by: Max Chou --- c

Re: [PATCH] floppy: reintroduce O_NDELAY fix

2021-01-26 Thread Denis Efremov
On 1/26/21 12:31 PM, Kurt Garloff wrote: > Hi Denis, Jiri, Jens, > > Am 26.01.21 um 09:21 schrieb Denis Efremov: >> On 1/22/21 2:13 PM, Jiri Kosina wrote: >>> From: Jiri Kosina >>> >>> This issue was originally fixed in 09954bad4 ("floppy: refactor open() >>> flags handling"). >>> >>> The fix

Re: [PATCH] mmc: queue: Exclude unnecessary header file

2021-01-26 Thread Ulf Hansson
On Mon, 25 Jan 2021 at 07:47, Chanwoo Lee wrote: > > From: ChanWoo Lee > > From the 4.19 kernel, thread related code has been removed in queue.c. > So we can exclude unnecessary header file. > > Signed-off-by: ChanWoo Lee Applied for next, thanks! Kind regards Uffe > --- > drivers/mmc/core/

[PATCH 00/21] [Set 2] Rid W=1 warnings from Clock

2021-01-26 Thread Lee Jones
This set is part of a larger effort attempting to clean-up W=1 kernel builds, which are currently overwhelmingly riddled with niggly little warnings. This is the last set. Clock is clean after this. Lee Jones (21): clk: zynq: pll: Fix kernel-doc formatting in 'clk_register_zynq_pll's heade

[PATCH 04/21] clk: qcom: clk-regmap: Provide missing description for 'devm_clk_register_regmap()'s dev param

2021-01-26 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/clk/qcom/clk-regmap.c:97: warning: Function parameter or member 'dev' not described in 'devm_clk_register_regmap' Cc: Andy Gross Cc: Bjorn Andersson Cc: Michael Turquette Cc: Stephen Boyd Cc: linux-arm-...@vger.kernel.org Cc: linux-..

[PATCH 08/21] clk: clkdev: Ignore suggestion to use gnu_printf() as it's not appropriate here

2021-01-26 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/clk/clkdev.c: In function ‘vclkdev_alloc’: drivers/clk/clkdev.c:173:3: warning: function ‘vclkdev_alloc’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] Cc: Russell King Cc: linux-arm-ker...@lists.inf

[PATCH 14/21] clk: clk-fixed-mmio: Demote obvious kernel-doc abuse

2021-01-26 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/clk/clk-fixed-mmio.c:62: warning: Function parameter or member 'pdev' not described in 'of_fixed_mmio_clk_probe' Cc: Michael Turquette Cc: Stephen Boyd Cc: Jan Kotas Cc: linux-...@vger.kernel.org Signed-off-by: Lee Jones --- drivers/

[PATCH 12/20] RDMA/hw/hfi1/qp: Fix some formatting issues and demote kernel-doc abuse

2021-01-26 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/infiniband/hw/hfi1/qp.c:195: warning: Function parameter or member 'dev' not described in 'verbs_mtu_enum_to_int' drivers/infiniband/hw/hfi1/qp.c:195: warning: Function parameter or member 'mtu' not described in 'verbs_mtu_enum_to_int'

Re: [PATCH net v3] udp: ipv4: manipulate network header of NATed UDP GRO fraglist

2021-01-26 Thread Steffen Klassert
On Tue, Jan 26, 2021 at 09:31:29AM +0900, Dongseok Yi wrote: > On 1/25/21 9:45 PM, Steffen Klassert wrote: > > On Thu, Jan 21, 2021 at 10:24:39PM +0900, Dongseok Yi wrote: > > > > > > +static void __udpv4_gso_segment_csum(struct sk_buff *seg, > > > + __be32 *oldip, __be

Re: [PATCH 21/21] clk: zynqmp: divider: Add missing description for 'max_div'

2021-01-26 Thread Michal Simek
On 1/26/21 1:45 PM, Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/clk/zynqmp/divider.c:46: warning: Function parameter or member > 'max_div' not described in 'zynqmp_clk_divider' > > Cc: Michael Turquette > Cc: Stephen Boyd > Cc: Michal Simek > Cc: Rajan

[PATCH 13/20] RDMA/hw/hfi1/ruc: Fix a small formatting and description issues

2021-01-26 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/infiniband/hw/hfi1/ruc.c:277: warning: Function parameter or member 'bth1' not described in 'hfi1_make_ruc_header_16B' drivers/infiniband/hw/hfi1/ruc.c:365: warning: Function parameter or member 'bth1' not described in 'hfi1_make_ruc_hea

[PATCH 15/20] RDMA/hw/hfi1/tid_rdma: Fix a plethora of kernel-doc issues

2021-01-26 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/infiniband/hw/hfi1/tid_rdma.c:321: warning: Function parameter or member 'rdi' not described in 'qp_to_rcd' drivers/infiniband/hw/hfi1/tid_rdma.c:321: warning: Function parameter or member 'qp' not described in 'qp_to_rcd' drivers/infin

[GIT PULL] SPI fixes for v5.11-rc5

2021-01-26 Thread Mark Brown
The following changes since commit 4d163ad79b155c71bf30366dc38f8d2502f78844: spi: cadence: cache reference clock rate during probe (2021-01-15 14:14:38 +) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git tags/spi-fix-v5.11-rc5 for

[PATCH 00/20] [Set 3] Rid W=1 warnings from Infiniband

2021-01-26 Thread Lee Jones
This set is part of a larger effort attempting to clean-up W=1 kernel builds, which are currently overwhelmingly riddled with niggly little warnings. This is set 3 of 3 sets required to fully clean-up. All done! Lee Jones (20): RDMA/hw/hfi1/intr: Fix some kernel-doc formatting issues RDMA/sw

[PATCH 02/20] RDMA/sw/rdmavt/srq: Fix a couple of kernel-doc issues

2021-01-26 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/infiniband/sw/rdmavt/srq.c:78: warning: Function parameter or member 'ibsrq' not described in 'rvt_create_srq' drivers/infiniband/sw/rdmavt/srq.c:78: warning: Excess function parameter 'ibpd' description in 'rvt_create_srq' drivers/infi

[PATCH 03/20] RDMA/hw/hfi1/iowait: Demote half-completed kernel-doc and fix formatting issue in another

2021-01-26 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/infiniband/hw/hfi1/iowait.c:52: warning: Function parameter or member 'tidfunc' not described in 'iowait_init' drivers/infiniband/hw/hfi1/iowait.c:52: warning: Function parameter or member 'wakeup' not described in 'iowait_init' drivers

[PATCH 06/20] RDMA/sw/rdmavt/mad: Fix misspelling of 'rvt_process_mad()'s 'in_mad_size' param

2021-01-26 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/infiniband/sw/rdmavt/mad.c:78: warning: Function parameter or member 'in_mad_size' not described in 'rvt_process_mad' Cc: Dennis Dalessandro Cc: Mike Marciniszyn Cc: Doug Ledford Cc: Jason Gunthorpe Cc: linux-r...@vger.kernel.org Sign

[PATCH 05/20] RDMA/hw/hfi1/msix: Add description for 'name' and remove superfluous param 'idx'

2021-01-26 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/infiniband/hw/hfi1/msix.c:120: warning: Function parameter or member 'name' not described in 'msix_request_irq' drivers/infiniband/hw/hfi1/msix.c:120: warning: Excess function parameter 'idx' description in 'msix_request_irq' Cc: Mike M

[PATCH 07/20] RDMA/sw/rdmavt/qp: Fix kernel-doc formatting problem

2021-01-26 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/infiniband/sw/rdmavt/qp.c:1929: warning: Function parameter or member 'post_parms' not described in 'rvt_qp_valid_operation' Cc: Dennis Dalessandro Cc: Mike Marciniszyn Cc: Doug Ledford Cc: Jason Gunthorpe Cc: linux-r...@vger.kernel.o

[PATCH 04/20] RDMA/hw/hfi1/mad: Demote half-completed kernel-doc header fix another

2021-01-26 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/infiniband/hw/hfi1/mad.c:1354: warning: Function parameter or member 'am' not described in '__subn_set_opa_portinfo' drivers/infiniband/hw/hfi1/mad.c:1354: warning: Function parameter or member 'data' not described in '__subn_set_opa_por

[PATCH 08/20] RDMA/hw/hfi1/netdev_rx: Fix misdocumentation of the 'start_id' param

2021-01-26 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/infiniband/hw/hfi1/netdev_rx.c:473: warning: Function parameter or member 'start_id' not described in 'hfi1_netdev_get_first_data' drivers/infiniband/hw/hfi1/netdev_rx.c:473: warning: Excess function parameter 'id' description in 'hfi1_n

[PATCH 09/20] RDMA/hw/hfi1/pcie: Demote kernel-doc abuses

2021-01-26 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/infiniband/hw/hfi1/pcie.c:343: warning: Function parameter or member 'dd' not described in 'restore_pci_variables' drivers/infiniband/hw/hfi1/pcie.c:402: warning: Function parameter or member 'dd' not described in 'save_pci_variables' C

[PATCH 11/20] RDMA/hw/hfi1/rc: Fix a few function documentation issues

2021-01-26 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/infiniband/hw/hfi1/rc.c:430: warning: Function parameter or member 'ps' not described in 'hfi1_make_rc_req' drivers/infiniband/hw/hfi1/rc.c:1387: warning: Function parameter or member 'packet' not described in 'hfi1_send_rc_ack' drivers

[PATCH 14/20] RDMA/hw/hfi1/sdma: Fix misnaming of 'sdma_send_txlist()'s 'count_out' param

2021-01-26 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/infiniband/hw/hfi1/sdma.c:2476: warning: Function parameter or member 'count_out' not described in 'sdma_send_txlist' drivers/infiniband/hw/hfi1/sdma.c:2476: warning: Excess function parameter 'count' description in 'sdma_send_txlist' C

[PATCH 16/20] RDMA/hw/hfi1/uc: Fix a little doc-rot

2021-01-26 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/infiniband/hw/hfi1/uc.c:64: warning: Function parameter or member 'ps' not described in 'hfi1_make_uc_req' drivers/infiniband/hw/hfi1/uc.c:306: warning: Function parameter or member 'packet' not described in 'hfi1_uc_rcv' drivers/infini

[PATCH 17/20] RDMA/hw/hfi1/ud: Fix a little more doc-rot

2021-01-26 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/infiniband/hw/hfi1/ud.c:477: warning: Function parameter or member 'ps' not described in 'hfi1_make_ud_req' drivers/infiniband/hw/hfi1/ud.c:855: warning: Function parameter or member 'packet' not described in 'hfi1_ud_rcv' drivers/infin

[PATCH 20/20] RDMA/hw/hfi1/rc: Demote incorrectly populated kernel-doc header

2021-01-26 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/infiniband/hw/hfi1/rc.c:1388: warning: Function parameter or member 'packet' not described in 'hfi1_send_rc_ack' drivers/infiniband/hw/hfi1/rc.c:1388: warning: Function parameter or member 'is_fecn' not described in 'hfi1_send_rc_ack' d

[PATCH 13/21] clk: qcom: gcc-ipq4019: Remove unused variable 'ret'

2021-01-26 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/clk/qcom/gcc-ipq4019.c: In function ‘clk_cpu_div_set_rate’: drivers/clk/qcom/gcc-ipq4019.c:1279:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] Cc: Andy Gross Cc: Bjorn Andersson Cc: Michael Turquette Cc: Steph

Re: [PATCH v2 0/4] MFC private ctrls to std ctrls

2021-01-26 Thread Stanimir Varbanov
Hans, any comments ? On 1/15/21 11:26 AM, Stanimir Varbanov wrote: > Hello, > > Changes in v2: > > * use _DEC_ instead of _DECODER_ in the name of the new controls (Hans) > * rebase on top of media master branch > > v1 can be found at [1] > > regards, > Stan > > [1] > https://patchwork.lin

Re: md_raid: mdX_raid6 looping after sync_action "check" to "idle" transition

2021-01-26 Thread Donald Buczek
On 26.01.21 12:14, Guoqing Jiang wrote: Hi Donald, On 1/26/21 10:50, Donald Buczek wrote: [...] diff --git a/drivers/md/md.c b/drivers/md/md.c index 2d21c298ffa7..f40429843906 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c @@ -4687,11 +4687,13 @@ action_store(struct mddev *mddev, const

Re: [PATCH 01/21] clk: zynq: pll: Fix kernel-doc formatting in 'clk_register_zynq_pll's header

2021-01-26 Thread Michal Simek
On 1/26/21 1:45 PM, Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/clk/zynq/pll.c:187: warning: Function parameter or member 'name' not > described in 'clk_register_zynq_pll' > drivers/clk/zynq/pll.c:187: warning: Function parameter or member 'parent' > not

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