[PATCH 05/11] afs: Fix to take ref on page when PG_private is set

2020-10-28 Thread David Howells
Fix afs to take a ref on a page when it sets PG_private on it and to drop the ref when removing the flag. Note that in afs_write_begin(), a lot of the time, PG_private is already set on a page to which we're going to add some data. In such a case, we leave the bit set and mustn't increment the pa

[PATCH 06/11] afs: Fix page leak on afs_write_begin() failure

2020-10-28 Thread David Howells
Fix the leak of the target page in afs_write_begin() when it fails. Fixes: 15b4650e55e0 ("afs: convert to new aops") Signed-off-by: David Howells cc: Nick Piggin --- fs/afs/write.c | 23 +++ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/fs/afs/write.c b/

Re: [PATCH][next] dmaengine: stm32-mdma: Use struct_size() in kzalloc()

2020-10-28 Thread Vinod Koul
On 08-10-20, 09:18, Gustavo A. R. Silva wrote: > Make use of the new struct_size() helper instead of the offsetof() idiom. Applied, thanks -- ~Vinod

[PATCH v4 3/3] mac80211: add KCOV remote annotations to incoming frame processing

2020-10-28 Thread Aleksandr Nogikh
From: Aleksandr Nogikh Add KCOV remote annotations to ieee80211_iface_work and ieee80211_rx. This will enable coverage-guided fuzzing of mac80211 code that processes incoming 802.11 frames. Signed-off-by: Aleksandr Nogikh --- v1 -> v2: * The commit now affects ieee80211_rx instead of ieee8021

Re: [PATCH 12/33] docs: kernel_abi.py: add a script to parse ABI documentation

2020-10-28 Thread Jonathan Corbet
So this is separate from the patch series itself in a way, but it brings a question to mind: On Wed, 28 Oct 2020 15:23:10 +0100 Mauro Carvalho Chehab wrote: > +# We can't assume that six is installed > +PY3 = sys.version_info[0] == 3 > +PY2 = sys.version_info[0] == 2 > +if PY3: > +# pylint:

Re: [PATCH net-next 01/11] atm: horizon: shut up clang null pointer arithmetic warning

2020-10-28 Thread Arnd Bergmann
On Wed, Oct 28, 2020 at 1:42 AM Jakub Kicinski wrote: > > On Mon, 26 Oct 2020 22:29:48 +0100 Arnd Bergmann wrote: > > From: Arnd Bergmann > > > > Building a "W=1" kernel with clang produces a warning about > > suspicous pointer arithmetic: > > > > drivers/atm/horizon.c:1844:52: warning: performin

[PATCH 22/33] docs: ABI: create a 2-depth index for ABI

2020-10-28 Thread Mauro Carvalho Chehab
From: Mauro Carvalho Chehab That helps to identify what ABI files are adding titles. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Mauro Carvalho Chehab --- Documentation/admin-guide/abi.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/admin-guide/ab

[PATCH 08/33] scripts: get_abi.pl: prevent duplicated file names

2020-10-28 Thread Mauro Carvalho Chehab
The same filename may exist on multiple directories within ABI. Create separate entries at the internal database for each of them. Signed-off-by: Mauro Carvalho Chehab --- scripts/get_abi.pl | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/scripts/get_abi.pl b

Re: [PATCH v1 1/2] leds: rt4505: Add support for Richtek RT4505 flash led controller

2020-10-28 Thread ChiYuan Huang
Jacek Anaszewski 於 2020年10月28日 週三 下午7:07寫道: > > On 10/28/20 5:57 AM, ChiYuan Huang wrote: > > Hi, > > > > Jacek Anaszewski 於 2020年10月28日 週三 上午12:40寫道: > >> > >> Hi Pavel, ChiYuan, > >> > >> On 10/27/20 9:29 AM, Pavel Machek wrote: > >>> Hi! > >>> > From: ChiYuan Huang > > Add supp

Re: [PATCH] cpufreq: schedutil: set sg_policy->next_freq to the final cpufreq

2020-10-28 Thread zhuguangqing83
> On 27-10-20, 19:54, zhuguangqin...@gmail.com wrote: > > From: zhuguangqing > > > > In the following code path, next_freq is clamped between policy->min > > and policy->max twice in functions cpufreq_driver_resolve_freq() and > > cpufreq_driver_fast_switch(). For there is no update_lock in the

[PATCH 04/33] scripts: get_abi.pl: improve its parser to better catch up indentation

2020-10-28 Thread Mauro Carvalho Chehab
The original parser for indentation were relying on having just one description for each "what". However, that's not the case: there are a number of ABI symbols that got defined multiple times. Improve the parser for it to better handle descriptions if entries are duplicated. Signed-off-by: Mauro

Re: [PATCH 06/13] ARM: dts: imx7-mba7: disable ethernet PHY clock outputs

2020-10-28 Thread Shawn Guo
On Fri, Sep 18, 2020 at 01:29:35PM +0200, Matthias Schiffer wrote: > The clock outputs are not connected. Disable them to improve EMI > behaviour. > > Signed-off-by: Matthias Schiffer Applied, thanks.

Re: [PATCH] powerpc: avoid broken GCC __attribute__((optimize))

2020-10-28 Thread Ard Biesheuvel
On Wed, 28 Oct 2020 at 09:04, Ard Biesheuvel wrote: > > Commit 7053f80d9696 ("powerpc/64: Prevent stack protection in early boot") > introduced a couple of uses of __attribute__((optimize)) with function > scope, to disable the stack protector in some early boot code. > > Unfortunately, and this i

Re: [PATCH 05/13] ARM: dts: imx7-mba7: remove unsupported PHY LED setup

2020-10-28 Thread Shawn Guo
On Fri, Sep 18, 2020 at 01:29:34PM +0200, Matthias Schiffer wrote: > These properties were never supported by the DP83867, and a patch > implementing them was rejected in favor of a different solution. Remove > them. > > Signed-off-by: Matthias Schiffer Applied, thanks.

[PATCH 28/33] docs: ABI: vdso: use the right format for ABI

2020-10-28 Thread Mauro Carvalho Chehab
This ABI is not following the format described at ABI/README. Use it, filling in the blanks with the git log that added it, and using the current e-mail from Andy. Signed-off-by: Mauro Carvalho Chehab --- Documentation/ABI/stable/vdso | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Do

Re: [PATCH 13/13] ARM: dts: imx7-mba7: set dr_mode to otg on usbotg1

2020-10-28 Thread Shawn Guo
On Fri, Sep 18, 2020 at 01:29:42PM +0200, Matthias Schiffer wrote: > USBOTG1 has a Micro-USB port that can be used in host mode (using an OTG > cable) or device mode. > > Signed-off-by: Matthias Schiffer Applied, thanks.

[PATCH 2/2] pinctrl: qcom: Add SDX55 pincontrol driver

2020-10-28 Thread Vinod Koul
From: Jeevan Shriram Add initial Qualcomm SDX55 pinctrl driver to support pin configuration with pinctrl framewor for SDX55 SoC. Signed-off-by: Jeevan Shriram [ported from downstream and tidy up] Signed-off-by: Vinod Koul --- drivers/pinctrl/qcom/Kconfig |9 + drivers/pinctrl/qcom

Re: [PATCH 0/5] mtd: rawnand: qcom: Add support for QSPI nand

2020-10-28 Thread mdalam
On 2020-10-28 15:18, Miquel Raynal wrote: Hello, Md Sadre Alam wrote on Sat, 10 Oct 2020 11:01:37 +0530: QPIC 2.0 supports Serial NAND support in addition to all features and commands in QPIC 1.0 for parallel NAND. Parallel and Serial NAND cannot operate simultaneously. QSPI nand devices wil

Re: [PATCH 0/8] Style and small fixes for core-scheduling

2020-10-28 Thread John Wyatt
Hi Phil, > Hi John, > > Welcome! Thank you! > > > Please feel free to advise on any corrections or improvements that > > can be > > made. > > Thanks for these. I wonder, though, if it would not make more sense > to post these changes as comments on the original as-yet-unmerged > patches that

[PATCH 5/9] kprobes/ftrace: Add recursion protection to the ftrace callback

2020-10-28 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" If a ftrace callback does not supply its own recursion protection and does not set the RECURSION_SAFE flag in its ftrace_ops, then ftrace will make a helper trampoline to do so before calling the callback instead of just calling the callback directly. The default

Re: [PATCH v3 1/6] irq_work: Cleanup

2020-10-28 Thread Frederic Weisbecker
On Wed, Oct 28, 2020 at 12:07:08PM +0100, Peter Zijlstra wrote: > +#define __IRQ_WORK_INIT(_func, _flags) (struct irq_work){\ > + .node = { .u_flags = (_flags), }, \ I guess, just for the sake of being conservative: + .node = { .a_flags = ATOMIC_INIT(_flags), }

Re: [PATCH] mdio: use inline functions for to_mdio_device() etc

2020-10-28 Thread Jakub Kicinski
On Mon, 26 Oct 2020 17:51:09 +0100 Arnd Bergmann wrote: > From: Arnd Bergmann > > Nesting container_of() causes warnings with W=2, and doing this > in a header means we see a lot of them, like: > > In file included from drivers/net/mdio/of_mdio.c:11: > drivers/net/mdio/of_mdio.c: In function 'of

Re: [PATCH 0/4] arch, mm: improve robustness of direct map manipulation

2020-10-28 Thread Mike Rapoport
On Wed, Oct 28, 2020 at 11:20:12AM +, Will Deacon wrote: > On Tue, Oct 27, 2020 at 10:38:16AM +0200, Mike Rapoport wrote: > > On Mon, Oct 26, 2020 at 06:05:30PM +, Edgecombe, Rick P wrote: > > > On Mon, 2020-10-26 at 11:05 +0200, Mike Rapoport wrote: > > > > On Mon, Oct 26, 2020 at 01:13:52

Re: [PATCH] crypto: arm/aes-neonbs - fix usage of cbc(aes) fallback

2020-10-28 Thread Ard Biesheuvel
On Wed, 28 Oct 2020 at 10:03, Horia Geantă wrote: > > Loading the module deadlocks since: > -local cbc(aes) implementation needs a fallback and > -crypto API tries to find one but the request_module() resolves back to > the same module > > Fix this by changing the module alias for cbc(aes) and > u

Re: [PATCH 0/4] arch, mm: improve robustness of direct map manipulation

2020-10-28 Thread David Hildenbrand
On 28.10.20 12:09, Mike Rapoport wrote: On Tue, Oct 27, 2020 at 09:46:35AM +0100, David Hildenbrand wrote: On 27.10.20 09:38, Mike Rapoport wrote: On Mon, Oct 26, 2020 at 06:05:30PM +, Edgecombe, Rick P wrote: Beyond whatever you are seeing, for the latter case of new things getting intro

Re: [ANNOUNCE] v5.9.1-rt18

2020-10-28 Thread Sebastian Andrzej Siewior
On 2020-10-27 10:07:35 [-0700], Fernando Lopez-Lezcano wrote: > The compilation process went ahead (not finished yet), let me know if there > is a proper patch. No hurry... I just released -rt20 and it compiles now. I looked at the code and I wouldn't recommend to use it unless you know exactly wh

Re: 回复: [PATCH v2] kthread_worker: re-set CPU affinities if CPU come online

2020-10-28 Thread Thomas Gleixner
Quiang, On Wed, Oct 28 2020 at 08:45, Qiang Zhang wrote: > > 发件人: Thomas Gleixner > 发送时间: 2020年10月28日 16:30 > 收件人: Zhang, Qiang; pmla...@suse.com; t...@kernel.org > 抄送: a...@linux-foundation.org; linux...@kvack.org; > linux-kernel@vger.kernel.org > 主题: Re

RE: [PATCH] ath10k: Fix the parsing error in service available event

2020-10-28 Thread Rakesh Pillai
> -Original Message- > From: Doug Anderson > Sent: Wednesday, October 28, 2020 9:33 PM > To: Rakesh Pillai > Cc: ath10k ; linux-wireless wirel...@vger.kernel.org>; LKML ; Abhishek > Kumar ; Brian Norris > Subject: Re: [PATCH] ath10k: Fix the parsing error in service available event >

Re: [PATCH 0/3] warn and suppress irqflood

2020-10-28 Thread Pingfan Liu
On Tue, Oct 27, 2020 at 3:59 AM Thomas Gleixner wrote: > [...] > > And contrary to Liu's patches which try to disable a requested interrupt > if too many of them arrive, the kernel cannot do anything because there > is nothing to disable in your case. That's why you needed to do the MSI > disable

[PATCH] fix for potential NULL pointer dereference with bare lan743x

2020-10-28 Thread Sergej Bauer
This is just a minor fix which prevents a kernel NULL pointer dereference when using phy-less lan743x. Signed-off-by: Sergej Bauer --- drivers/net/ethernet/microchip/lan743x_ethtool.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/microchip/lan74

Re: [v3,2/3] arm64: dts: qcom: sc7180: Add gpu cooling support

2020-10-28 Thread mka
Hi Akhil, On Wed, Oct 28, 2020 at 07:09:53PM +0530, Akhil P Oommen wrote: > Add cooling-cells property and the cooling maps for the gpu tzones > to support GPU cooling. > > Signed-off-by: Akhil P Oommen > --- > arch/arm64/boot/dts/qcom/sc7180.dtsi | 30 +++--- > 1 file c

Re: [PATCH 3/3] mm, page_alloc: reduce static keys in prep_new_page()

2020-10-28 Thread David Hildenbrand
On 27.10.20 18:41, Vlastimil Babka wrote: On 10/27/20 2:32 PM, Vlastimil Babka wrote: So my conclusion: - We can remove PAGE_POISONING_NO_SANITY because it only makes sense with PAGE_POISONING_ZERO, and we can use init_on_free instead Note for this we first have to make sanity checking compati

Re: [PATCH kernel v3 2/2] powerpc/dma: Fallback to dma_ops when persistent memory present

2020-10-28 Thread Michael Ellerman
Alexey Kardashevskiy writes: > diff --git a/arch/powerpc/platforms/pseries/iommu.c > b/arch/powerpc/platforms/pseries/iommu.c > index e4198700ed1a..91112e748491 100644 > --- a/arch/powerpc/platforms/pseries/iommu.c > +++ b/arch/powerpc/platforms/pseries/iommu.c > @@ -,11 +1112,13 @@ static vo

tools/perf: noise from check-headers.sh

2020-10-28 Thread Douglas Gilbert
Executing that script in linux-stable [lk 5.10.0-rc1] gives the following output: Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h' diff -u tools/include/uapi/drm/i915_drm.h include/uapi/drm/i915_drm.h Warning: Kernel

Re: [PATCH] drm: xlnx: Use dma_request_chan for DMA channel request

2020-10-28 Thread Hyun Kwon
On Tue, Oct 27, 2020 at 06:36:02PM -0700, Hyun Kwon wrote: > Hi Peter, > > Thanks for the patch. > > On Fri, Oct 23, 2020 at 02:46:02AM -0700, Peter Ujfalusi wrote: > > There is no need to use the of_dma_request_slave_channel() directly as > > dma_request_chan() is going to try to get the channel

Re: [PATCH 2/2] usb: dwc3: gadget: Preserve UDC max speed setting

2020-10-28 Thread Thinh Nguyen
Hi, Wesley Cheng wrote: > The USB gadget/UDC driver can restrict the DWC3 controller speed using > dwc3_gadget_set_speed(). Store this setting into a variable, in order for > this setting to persist across controller resets due to runtime PM. Why do we need to do this? DCFG should persist unless

Re: [PATCH v2 02/12] soc: mediatek: Add MediaTek SCPSYS power domains

2020-10-28 Thread Nicolas Boichat
On Wed, Oct 28, 2020 at 12:25 AM Enric Balletbo i Serra wrote: > > Hi Nicolas, > > On 27/10/20 1:19, Nicolas Boichat wrote: > > Hi Enric, > > > > On Mon, Oct 26, 2020 at 11:17 PM Enric Balletbo i Serra > > wrote: > >> > >> Hi Nicolas, > >> > >> Many thanks for looking at this. > > > > Thanks to y

Re: [PATCH kernel v3 2/2] powerpc/dma: Fallback to dma_ops when persistent memory present

2020-10-28 Thread Alexey Kardashevskiy
On 29/10/2020 11:40, Michael Ellerman wrote: Alexey Kardashevskiy writes: diff --git a/arch/powerpc/platforms/pseries/iommu.c b/arch/powerpc/platforms/pseries/iommu.c index e4198700ed1a..91112e748491 100644 --- a/arch/powerpc/platforms/pseries/iommu.c +++ b/arch/powerpc/platforms/pseries/io

Re: [v3,3/3] dt-bindings: drm/msm/gpu: Add cooling device support

2020-10-28 Thread mka
On Wed, Oct 28, 2020 at 07:09:54PM +0530, Akhil P Oommen wrote: > Add cooling device support to gpu. A cooling device is bound to a > thermal zone to allow thermal mitigation. > > Signed-off-by: Akhil P Oommen > --- > Documentation/devicetree/bindings/display/msm/gpu.txt | 7 +++ > 1 file ch

Re: [PATCH 1/3] ARM: dts: aspeed: amd-ethanolx: Update KCS nodes to use v2 binding

2020-10-28 Thread Joel Stanley
On Wed, 28 Oct 2020 at 05:25, Joel Stanley wrote: > > On Tue, 27 Oct 2020 at 12:38, Konstantin Aladyshev > wrote: > > > > KCS nodes compatible property in the 'aspeed-g5.dtsi' file was > > changed to use v2 binding in the commit fa4c8ec6feaa > > ("ARM: dts: aspeed: Change KCS nodes to v2 binding"

Re: [PATCH v1 1/2] ASoC: qcom: dt-bindings: Add SM8250 sound card bindings

2020-10-28 Thread Rob Herring
On Mon, Oct 26, 2020 at 05:09:46PM +, Srinivas Kandagatla wrote: > This patch adds bindings required for SM8250 based soundcards > for example Qualcomm Robotics RB5 Development Kit which makes > use of ADSP and Internal LPASS codec. You didn't send to DT list... > > Signed-off-by: Srinivas K

[PATCH 27/33] docs: ABI: fix syntax to be parsed using ReST notation

2020-10-28 Thread Mauro Carvalho Chehab
There are a number of new changes at the ABI files that cause them to produce warnings when generating ABI output. Fix them. Signed-off-by: Mauro Carvalho Chehab --- .../ABI/stable/sysfs-driver-firmware-zynqmp | 62 - Documentation/ABI/testing/debugfs-moxtet | 28 -- .../

[PATCH 1/9] ftrace: Move the recursion testing into global headers

2020-10-28 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" Currently, if a callback is registered to a ftrace function and its ftrace_ops does not have the RECURSION flag set, it is encapsulated in a helper function that does the recursion for it. Really, all the callbacks should have their own recursion protection for pe

[PATCH 12/33] docs: kernel_abi.py: add a script to parse ABI documentation

2020-10-28 Thread Mauro Carvalho Chehab
From: Mauro Carvalho Chehab The ABI documentation is special: it is not plain text files, but, instead, files with an strict format, as specified by Documentation/ABI/README. Add a parser for it. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Mauro Carvalho Chehab --- Documentation/sphi

Re: [PATCH v6 2/4] KVM: x86: report negative values from wrmsr emulation to userspace

2020-10-28 Thread Maxim Levitsky
On Tue, 2020-10-27 at 16:31 -0400, Qian Cai wrote: > On Mon, 2020-10-26 at 15:40 -0400, Qian Cai wrote: > > On Wed, 2020-09-23 at 00:10 +0300, Maxim Levitsky wrote: > > > This will allow the KVM to report such errors (e.g -ENOMEM) > > > to the userspace. > > > > > > Signed-off-by: Maxim Levitsky

[PATCH] powerpc: avoid broken GCC __attribute__((optimize))

2020-10-28 Thread Ard Biesheuvel
Commit 7053f80d9696 ("powerpc/64: Prevent stack protection in early boot") introduced a couple of uses of __attribute__((optimize)) with function scope, to disable the stack protector in some early boot code. Unfortunately, and this is documented in the GCC man pages [0], overriding function attri

Re: [External] Re: [PATCH] Documentation: Add documentation for new platform_profile sysfs attribute

2020-10-28 Thread Mark Pearson
Thanks Hans and Bastien, On 28/10/2020 13:23, Hans de Goede wrote: Hi, On 10/28/20 2:45 PM, Bastien Nocera wrote: Hey Hans, Mark, On Tue, 2020-10-27 at 12:42 -0400, Mark Pearson wrote: From: Hans de Goede On modern systems the platform performance, temperature, fan and other hardware relat

Re: [PATCH v2 2/3] arm64: dts: ls1028a: add missing CAN nodes

2020-10-28 Thread Shawn Guo
On Thu, Oct 01, 2020 at 11:11:30AM +0200, Michael Walle wrote: > The LS1028A has two FlexCAN controller. These are compatible with > the ones from the LX2160A. Add the nodes. > > The first controller was tested on the Kontron sl28 board. > > Signed-off-by: Michael Walle Applied, thanks.

Re: [PATCH v3 01/12] mm: Make pagecache tagged lookups return only head pages

2020-10-28 Thread Mike Rapoport
On Mon, Oct 26, 2020 at 04:13:57AM +, Matthew Wilcox (Oracle) wrote: > Pagecache tags are used for dirty page writeback. Since dirtiness is > tracked on a per-THP basis, we only want to return the head page rather > than each subpage of a tagged page. All the filesystems which use huge > page

Re: [PATCH 0/6] kselftest/arm64: MTE fixes

2020-10-28 Thread Will Deacon
On Mon, 26 Oct 2020 12:12:42 +, Vincenzo Frascino wrote: > This series contains a set of fixes for the arm64 MTE kselftests [1]. > > A version of the fixes rebased on 5.10-rc1 can be found at [2]. > > To verify the fixes it is possible to use the command below: > > make -C tools/testing/self

Re: [PATCH 00/33] ABI: add it to the documentation build system

2020-10-28 Thread Greg Kroah-Hartman
On Wed, Oct 28, 2020 at 03:22:58PM +0100, Mauro Carvalho Chehab wrote: > Hi Greg, > > As requested, this is a rebased version on the top of v5.10-rc1 > adding support for having the Linux ABI documentted inside > the Linux admin manual. > > When compared with the version I sent years ago, this >

Re: [PATCH v2 1/4] dt-bindings: dmaengine: at_xdmac: add compatible with microchip,sama7g5

2020-10-28 Thread Vinod Koul
On 16-10-20, 11:17, Eugen Hristev wrote: > Add compatible to sama7g5 SoC. Applied all, thanks Btw the threading was broken in this series, please do ensure that patches are threaded properly. -- ~Vinod

Re: [PATCH] tools/perf: Remove broken __no_tail_call attribute

2020-10-28 Thread Ard Biesheuvel
On Wed, 28 Oct 2020 at 09:11, Peter Zijlstra wrote: > > On Tue, Oct 27, 2020 at 04:11:27PM -0700, Nick Desaulniers wrote: > > On Tue, Oct 27, 2020 at 4:04 PM Daniel Borkmann > > wrote: > > > > > > On 10/27/20 9:57 PM, Ard Biesheuvel wrote: > > > > Commit 3193c0836f203 ("bpf: Disable GCC -fgcse o

Re: [PATCH] module: use hidden visibility for weak symbol references

2020-10-28 Thread Ard Biesheuvel
On Wed, 28 Oct 2020 at 11:00, Will Deacon wrote: > > Hi Ard, > > On Tue, Oct 27, 2020 at 04:11:32PM +0100, Ard Biesheuvel wrote: > > Geert reports that commit be2881824ae9eb92 ("arm64/build: Assert for > > unwanted sections") results in build errors on arm64 for configurations > > that have CONFIG

[PATCH 24/33] docs: abi-testing.rst: enable --rst-sources when building docs

2020-10-28 Thread Mauro Carvalho Chehab
From: Mauro Carvalho Chehab Now that ABI/testing documents were fixed, add --rst-sources to the ABI/testing too. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Mauro Carvalho Chehab --- Documentation/admin-guide/abi-testing.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/Document

Re: [PATCH 0/4] arch, mm: improve robustness of direct map manipulation

2020-10-28 Thread Mike Rapoport
On Wed, Oct 28, 2020 at 12:17:35PM +0100, David Hildenbrand wrote: > On 28.10.20 12:09, Mike Rapoport wrote: > > On Tue, Oct 27, 2020 at 09:46:35AM +0100, David Hildenbrand wrote: > > > On 27.10.20 09:38, Mike Rapoport wrote: > > > > On Mon, Oct 26, 2020 at 06:05:30PM +, Edgecombe, Rick P wrote

Re: [PATCH 01/18] dmaengine: of-dma: Add support for optional router configuration callback

2020-10-28 Thread Vinod Koul
On 08-10-20, 09:41, Peter Ujfalusi wrote: > > > On 07/10/2020 18.55, Vinod Koul wrote: > > On 07-10-20, 11:08, Peter Ujfalusi wrote: > > > >> Not really. In DT an event triggered channel can be requested via router > >> (when this is used) for example: > >> > >> dmas = <&inta_l2g a b c>; > >> a

Re: [PATCH 2/4] PM: hibernate: improve robustness of mapping pages in the direct map

2020-10-28 Thread Mike Rapoport
On Tue, Oct 27, 2020 at 10:44:21PM +, Edgecombe, Rick P wrote: > On Tue, 2020-10-27 at 10:49 +0200, Mike Rapoport wrote: > > On Mon, Oct 26, 2020 at 06:57:32PM +, Edgecombe, Rick P wrote: > > > On Mon, 2020-10-26 at 11:15 +0200, Mike Rapoport wrote: > > > > On Mon, Oct 26, 2020 at 12:38:32A

Re: [PATCH 08/13] ARM: dts: imx7-mba7: update MMC aliases

2020-10-28 Thread Shawn Guo
On Fri, Sep 18, 2020 at 01:29:37PM +0200, Matthias Schiffer wrote: > Together with the recently merged support for alias-based MMC host > numbering, this makes the MMC devices names match what the bootloader > expects. > > Signed-off-by: Matthias Schiffer Applied, thanks.

[PATCH 02/33] scripts: get_abi.pl: fix parsing on ReST mode

2020-10-28 Thread Mauro Carvalho Chehab
From: Mauro Carvalho Chehab When the source ABI file is using ReST notation, the script should handle whitespaces and lines with care, as otherwise the file won't be properly recognized. Address the bugs that are on such part of the script. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: M

[PATCH 3/9] ftrace: Optimize testing what context current is in

2020-10-28 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" The preempt_count() is not a simple location in memory, it could be part of per_cpu code or more. Each access to preempt_count(), or one of its accessor functions (like in_interrupt()) takes several cycles. By reading preempt_count() once, and then doing tests to f

[PATCH 9/9] ftrace: Reverse what the RECURSION flag means in the ftrace_ops

2020-10-28 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" Now that all callbacks are recursion safe, reverse the meaning of the RECURSION flag and rename it from RECURSION_SAFE to simply RECURSION. Now only callbacks that request to have recursion protecting it will have the added trampoline to do so. Also remove the out

Re: [PATCH] selftests/ftrace: remove _do_fork() leftovers

2020-10-28 Thread Steven Rostedt
On Tue, 27 Oct 2020 15:55:32 -0600 Shuah Khan wrote: > > Let me pull in the latest changes, and whip up a patch that works on both > > the older kernels as well as the newer ones. > > > > -- Steve > > > > Assume this is handled by > > selftests/ftrace: Use $FUNCTION_FORK to reference kerne

[PATCH 13/33] docs: kernel_abi.py: fix UTF-8 support

2020-10-28 Thread Mauro Carvalho Chehab
From: Mauro Carvalho Chehab The parser breaks with UTF-8 characters with Sphinx 1.4. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Mauro Carvalho Chehab --- Documentation/sphinx/kernel_abi.py | 19 +++ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/Docume

[PATCH 07/33] scripts: get_abi.pl: output users in ReST format

2020-10-28 Thread Mauro Carvalho Chehab
Right now, the script only outputs Users on search. Print it also in ReST format. Signed-off-by: Mauro Carvalho Chehab --- scripts/get_abi.pl | 8 1 file changed, 8 insertions(+) diff --git a/scripts/get_abi.pl b/scripts/get_abi.pl index c88cb8ee6bfd..97a1455789f2 100755 --- a/scripts/

Re: [RFC] wimax: move out to staging

2020-10-28 Thread Greg Kroah-Hartman
On Tue, Oct 27, 2020 at 10:20:13PM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > There are no known users of this driver as of October 2020, and it will > be removed unless someone turns out to still need it in future releases. > > According to https://en.wikipedia.org/wiki/List_of_WiMAX

Re: [PATCH 1/3] x86/debug: Fix BTF handling

2020-10-28 Thread Masami Hiramatsu
On Tue, 27 Oct 2020 20:41:26 +0100 Peter Zijlstra wrote: > On Tue, Oct 27, 2020 at 10:15:05AM +0100, Peter Zijlstra wrote: > > > @@ -873,6 +866,20 @@ static __always_inline void exc_debug_ke > > */ > > WARN_ON_ONCE(user_mode(regs)); > > > > + if (test_thread_flag(TIF_BLOCKSTEP)) { >

[RFC][PATCH 0/2] ftrace: Add access to function arguments for all callbacks

2020-10-28 Thread Steven Rostedt
This is something I wanted to implement a long time ago, but held off until there was a good reason to do so. Now it appears that having access to the arguments of the function by default is very useful. As a bonus, because arguments must be saved regardless before calling a callback, because the

[RFC][PATCH 1/2 v2] ftrace/x86: Allow for arguments to be passed in to REGS by default

2020-10-28 Thread Steven Rostedt
>From b5f5cfc63f38415b4ca7eb4cfb8c78113bfa17e0 Mon Sep 17 00:00:00 2001 From: "Steven Rostedt (VMware)" Date: Tue, 27 Oct 2020 10:55:55 -0400 Subject: [PATCH] ftrace/x86: Allow for arguments to be passed in to REGS by default Currently, the only way to get access to the registers of a function v

[PATCH v2] ath10k: Fix the parsing error in service available event

2020-10-28 Thread Rakesh Pillai
The wmi service available event has been extended to contain extra 128 bit for new services to be indicated by firmware. Currently the presence of any optional TLVs in the wmi service available event leads to a parsing error with the below error message: ath10k_snoc 1880.wifi: failed to parse

Re: [PATCH 11/13] m68k/mm: make node data and node setup depend on CONFIG_DISCONTIGMEM

2020-10-28 Thread Mike Rapoport
Hi Geert, On Wed, Oct 28, 2020 at 10:25:49AM +0100, Geert Uytterhoeven wrote: > Hi Mike, > > On Tue, Oct 27, 2020 at 12:31 PM Mike Rapoport wrote: > > From: Mike Rapoport > > > > The pg_data_t node structures and their initialization currently depends on > > !CONFIG_SINGLE_MEMORY_CHUNK. Since t

[PATCH 4/9] pstore/ftrace: Add recursion protection to the ftrace callback

2020-10-28 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" If a ftrace callback does not supply its own recursion protection and does not set the RECURSION_SAFE flag in its ftrace_ops, then ftrace will make a helper trampoline to do so before calling the callback instead of just calling the callback directly. The default

Re: [PATCH] ARM: dts: imx6q-icore-ofcap10: Use 10.1" Ampire panel compatible

2020-10-28 Thread Shawn Guo
On Fri, Aug 28, 2020 at 09:33:02PM +0530, Jagan Teki wrote: > Adding display timings directly on device tree files make it difficult > to maintain as a same copy of timings may exist on different files or > panel-simple driver. > > We have a panel-simple driver for this particular usage so support

Re: [PATCH 03/13] ARM: dts: imx7-mba7: update compatible strings

2020-10-28 Thread Shawn Guo
On Fri, Sep 18, 2020 at 01:29:32PM +0200, Matthias Schiffer wrote: > Include the SoM compatible string. > > Signed-off-by: Matthias Schiffer Applied, thanks.

[PATCH 01/33] scripts: get_abi.pl: change script to allow parsing in ReST mode

2020-10-28 Thread Mauro Carvalho Chehab
From: Mauro Carvalho Chehab Right now, several ABI files won't parse as ReST, as they contain severe violations to the spec, with makes the script to crash. So, the code has a sanity logic with escapes bad code and cleans tags that can cause Sphinx to crash. Add support for disabling this mode.

Re: [RFC] Have insn decoder functions return success/failure

2020-10-28 Thread Masami Hiramatsu
On Tue, 27 Oct 2020 14:42:51 +0100 Borislav Petkov wrote: > On Sat, Oct 24, 2020 at 09:10:25AM -0700, Andy Lutomirski wrote: > > I can pretty much guarantee that a real modern CPU is able to decode a > > <15 byte instruction that is followed by unmapped or non-executable > > pages. I don't know

Re: [PATCH] ibmveth: Fix use of ibmveth in a bridge.

2020-10-28 Thread Jakub Kicinski
On Mon, 26 Oct 2020 20:04:07 +0100 Thomas Bogendoerfer wrote: > > On Mon, 26 Oct 2020 11:42:21 +0100 Michal Suchanek wrote: > > > From: Thomas Bogendoerfer > > > > > > The check for src mac address in ibmveth_is_packet_unsupported is wrong. > > > Commit 6f2275433a2f wanted to shut down messages

[PATCH 6/9] livepatch/ftrace: Add recursion protection to the ftrace callback

2020-10-28 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" If a ftrace callback does not supply its own recursion protection and does not set the RECURSION_SAFE flag in its ftrace_ops, then ftrace will make a helper trampoline to do so before calling the callback instead of just calling the callback directly. The default

Re: [PATCH] net/atm: use list_is_singular() in br2684_setfilt()

2020-10-28 Thread Jakub Kicinski
On Tue, 27 Oct 2020 00:57:00 +0800 Hui Su wrote: > list_is_singular() can tell whether a list has just one entry. > So we use list_is_singular() here. > > Signed-off-by: Hui Su > --- > net/atm/br2684.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/net/atm/br2684.c b

Re: [PATCH v3 31/56] usb: dwc3: fix kernel-doc markups

2020-10-28 Thread Greg Kroah-Hartman
On Tue, Oct 27, 2020 at 08:58:47AM +0200, Felipe Balbi wrote: > > Hi Mauro, > > Mauro Carvalho Chehab writes: > > There is a common comment marked, instead, with kernel-doc > > notation. > > > > Also, some identifiers have different names between their > > prototypes and the kernel-doc markup. >

Re: [PATCH 00/33] ABI: add it to the documentation build system

2020-10-28 Thread Mauro Carvalho Chehab
Em Wed, 28 Oct 2020 15:39:37 +0100 Greg Kroah-Hartman escreveu: > On Wed, Oct 28, 2020 at 03:22:58PM +0100, Mauro Carvalho Chehab wrote: > > Hi Greg, > > > > As requested, this is a rebased version on the top of v5.10-rc1 > > adding support for having the Linux ABI documentted inside > > the Lin

[PATCH 18/33] docs: ABI: README: specify that files should be ReST compatible

2020-10-28 Thread Mauro Carvalho Chehab
From: Mauro Carvalho Chehab As we plan to remove the escaping code from the scripts/get_abi.pl, specify at the ABI README file that the content of the file should be ReST compatible. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Mauro Carvalho Chehab --- Documentation/ABI/README | 10 ++

Re: [PATCH] module: use hidden visibility for weak symbol references

2020-10-28 Thread Will Deacon
On Wed, Oct 28, 2020 at 03:03:44PM +0100, Jessica Yu wrote: > +++ Will Deacon [28/10/20 13:24 +]: > > On Wed, Oct 28, 2020 at 01:27:01PM +0100, Ard Biesheuvel wrote: > > > On Wed, 28 Oct 2020 at 11:00, Will Deacon wrote: > > > > On Tue, Oct 27, 2020 at 04:11:32PM +0100, Ard Biesheuvel wrote: >

Re: [PATCH v3 2/6] smp: Cleanup smp_call_function*()

2020-10-28 Thread Frederic Weisbecker
On Wed, Oct 28, 2020 at 12:07:09PM +0100, Peter Zijlstra wrote: > Get rid of the __call_single_node union and cleanup the API a little > to avoid external code relying on the structure layout as much. > > Signed-off-by: Peter Zijlstra (Intel) Reviewed-by: Frederic Weisbecker

mmotm 2020-10-28-17-56 uploaded

2020-10-28 Thread akpm
The mm-of-the-moment snapshot 2020-10-28-17-56 has been uploaded to https://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: https://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You

Re: [PATCH 12/13] ARM: dts: imx7-mba7: specify USB over-current polarity

2020-10-28 Thread Shawn Guo
On Fri, Sep 18, 2020 at 01:29:41PM +0200, Matthias Schiffer wrote: > Add over-current-active-low to usbotg1. > > Signed-off-by: Matthias Schiffer Applied, thanks.

Re: [PATCH] module: use hidden visibility for weak symbol references

2020-10-28 Thread Will Deacon
On Tue, 27 Oct 2020 16:11:32 +0100, Ard Biesheuvel wrote: > Geert reports that commit be2881824ae9eb92 ("arm64/build: Assert for > unwanted sections") results in build errors on arm64 for configurations > that have CONFIG_MODULES disabled. > > The commit in question added ASSERT()s to the arm64 li

Re: [PATCH 0/4] arch, mm: improve robustness of direct map manipulation

2020-10-28 Thread Will Deacon
On Tue, Oct 27, 2020 at 10:38:16AM +0200, Mike Rapoport wrote: > On Mon, Oct 26, 2020 at 06:05:30PM +, Edgecombe, Rick P wrote: > > On Mon, 2020-10-26 at 11:05 +0200, Mike Rapoport wrote: > > > On Mon, Oct 26, 2020 at 01:13:52AM +, Edgecombe, Rick P wrote: > > > > On Sun, 2020-10-25 at 12:1

[PATCH] clk: tegra: Do not return 0 on failure

2020-10-28 Thread Nicolin Chen
Return values from read_dt_param() will be either TRUE (1) or FALSE (0), while dfll_fetch_pwm_params() returns 0 on success or an ERR code on failure. So this patch fixes the bug of returning 0 on failure. Fixes: 36541f0499fe ("clk: tegra: dfll: support PWM regulator control") Cc: Signed-off-by:

Re: [PATCH 1/3] x86/debug: Fix BTF handling

2020-10-28 Thread Masami Hiramatsu
On Wed, 28 Oct 2020 10:59:19 +0100 Peter Zijlstra wrote: > On Wed, Oct 28, 2020 at 06:20:25PM +0900, Masami Hiramatsu wrote: > > On Tue, 27 Oct 2020 20:41:26 +0100 > > Peter Zijlstra wrote: > > > > > On Tue, Oct 27, 2020 at 10:15:05AM +0100, Peter Zijlstra wrote: > > > > > > > @@ -873,6 +866,2

[PATCH 19/33] docs: ABI: stable: make files ReST compatible

2020-10-28 Thread Mauro Carvalho Chehab
From: Mauro Carvalho Chehab Several entries at the stable ABI files won't parse if we pass them directly to the ReST output. Adjust them, in order to allow adding their contents as-is at the stable ABI book. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Mauro Carvalho Chehab --- Docume

[RFC][PATCH 1/2] ftrace/x86: Allow for arguments to be passed in to REGS by default

2020-10-28 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" Currently, the only way to get access to the registers of a function via a ftrace callback is to set the "FL_FLAGS" bit in the ftrace_ops. But as this saves all regs as if a breakpoint were to trigger (for use with kprobes), it is expensive. The regs are already s

[RFC][PATCH 2/2] ftrace: Test arguments by adding trace_printk in function tracer

2020-10-28 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" Signed-off-by: Steven Rostedt (VMware) --- kernel/trace/trace_functions.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/kernel/trace/trace_functions.c b/kernel/trace/trace_functions.c index 89c414ce1388..4bd3194540f1 100644 ---

[PATCH 2/9] ftrace: Add ftrace_test_recursion_trylock() helper function

2020-10-28 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" To make it easier for ftrace callbacks to have recursion protection, provide a ftrace_test_recursion_trylock() and ftrace_test_recursion_unlock() helper that tests for recursion. Signed-off-by: Steven Rostedt (VMware) --- include/linux/trace_recursion.h | 25 +++

Re: [PATCH V5 0/2] Change vring space from nomal memory to dma coherent memory

2020-10-28 Thread Greg KH
On Wed, Oct 28, 2020 at 06:05:28AM +, Sherry Sun wrote: > Hi Greg, > > > Subject: Re: [PATCH V5 0/2] Change vring space from nomal memory to dma > > coherent memory > > > > On Wed, Oct 28, 2020 at 10:03:03AM +0800, Sherry Sun wrote: > > > Changes in V5: > > > 1. Reorganize the vop_mmap functi

Re: [PATCH v3] usb: dwc3: core: fix a issue about clear connect state

2020-10-28 Thread Felipe Balbi
Hi, Dejin Zheng writes: >> Dejin Zheng writes: >> > According to Synopsys Programming Guide chapter 2.2 Register Resets, >> > it cannot reset the DCTL register by setting DCTL.CSFTRST for core soft >> > reset, if DWC3 controller as a slave device and stay connected with a usb >> > host, then, w

[PATCH 31/33] docs: ABI: change read/write attributes

2020-10-28 Thread Mauro Carvalho Chehab
Unfortunately, (R) and (W) are valid markups for enumerated lists, as described at: https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#enumerated-lists So, we ned to replace them by: (R) -> (Read) (W) -> (Write) As otherwise, (R) will be displayed as R.,

[PATCH 8/9] perf/ftrace: Check for rcu_is_watching() in callback function

2020-10-28 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" If a ftrace callback requires "rcu_is_watching", then it adds the FTRACE_OPS_FL_RCU flag and it will not be called if RCU is not "watching". But this means that it will use a trampoline when called, and this slows down the function tracing a tad. By checking rcu_is

Re: [PATCH v11 1/5] PCI: Conditionally initialize host bridge native_* members

2020-10-28 Thread Kuppuswamy, Sathyanarayanan
On 10/27/20 11:09 PM, Ethan Zhao wrote: On Tue, Oct 27, 2020 at 10:00 PM Kuppuswamy Sathyanarayanan wrote: If CONFIG_PCIEPORTBUS is not enabled in kernel then initialing struct pci_host_bridge PCIe specific native_* members to "1" is incorrect. So protect the PCIe specific member initializa

Re: WARNING in dma_map_page_attrs

2020-10-28 Thread h...@lst.de
On Tue, Oct 27, 2020 at 12:52:30PM +, Parav Pandit wrote: > > > From: h...@lst.de > > Sent: Tuesday, October 27, 2020 1:41 PM > > > > On Mon, Oct 26, 2020 at 05:23:48AM +, Parav Pandit wrote: > > > Hi Christoph, > > > > > > > From: Jakub Kicinski > > > > Sent: Saturday, October 24, 2020

<    5   6   7   8   9   10   11   12   13   14   >