Re: [PATCH v2] ipc.2: Fix prototype parameter types

2021-02-09 Thread Michael Kerrisk (man-pages)
Hi Alex, On 2/7/21 1:36 PM, Alejandro Colomar wrote: > The types for some of the parameters are incorrect > (different than the kernel). Fix them. > Below are shown the types that the kernel uses. Thanks. Patch applied. Cheers, Michael > .. > > .../linux$ grep_syscall ipc >

Re: [PATCH stable 4.9] mm: memcontrol: fix NULL pointer crash in test_clear_page_writeback()

2021-02-09 Thread Johannes Weiner
On Tue, Feb 09, 2021 at 12:26:15PM -0800, Florian Fainelli wrote: > From: Johannes Weiner > > commit 739f79fc9db1b38f96b5a5109b247a650fbebf6d upstream ... > This patch is present in a downstream Android tree: > >

RE: [EXT] Re: [PATCH net-next 5/7] net: marvell: prestera: add LAG support

2021-02-09 Thread Tobias Waldekranz
On Tue, Feb 09, 2021 at 20:31, Mickey Rachamim wrote: > Hi Andrew, Jakub, Tobias, > > On Tuesday, February 9, 2021 7:35 PM Jakub Kicinski wrote: >> Sounds like we have 3 people who don't like FW-heavy designs dominating the >> kernel - this conversation can only go one way. >> Marvell, Plvision

[PATCH] mm: page-writeback: simplify memcg handling in test_clear_page_writeback()

2021-02-09 Thread Johannes Weiner
Page writeback doesn't hold a page reference, which allows truncate to free a page the second PageWriteback is cleared. This used to require special attention in test_clear_page_writeback(), where we had to be careful not to rely on the unstable page->memcg binding and look up all the necessary

[PATCH v5 3/8] x86/mm/tlb: Open-code on_each_cpu_cond_mask() for tlb_is_not_lazy()

2021-02-09 Thread Nadav Amit
From: Nadav Amit Open-code on_each_cpu_cond_mask() in native_flush_tlb_others() to optimize the code. Open-coding eliminates the need for the indirect branch that is used to call is_lazy(), and in CPUs that are vulnerable to Spectre v2, it eliminates the retpoline. In addition, it allows to use

[PATCH v5 6/8] x86/mm/tlb: Do not make is_lazy dirty for no reason

2021-02-09 Thread Nadav Amit
From: Nadav Amit Blindly writing to is_lazy for no reason, when the written value is identical to the old value, makes the cacheline dirty for no reason. Avoid making such writes to prevent cache coherency traffic for no reason. Cc: Andy Lutomirski Cc: Peter Zijlstra Suggested-by: Dave Hansen

RE: [PATCH v4 01/12] genirq: add IRQF_NO_AUTOEN for request_irq

2021-02-09 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Song Bao Hua (Barry Song) > Sent: Friday, January 29, 2021 11:35 AM > To: t...@linutronix.de; dmitry.torok...@gmail.com; m...@kernel.org; > gre...@linuxfoundation.org; linux-in...@vger.kernel.org; > linux-kernel@vger.kernel.org > Cc: linux...@openeuler.org;

[PATCH v5 7/8] cpumask: Mark functions as pure

2021-02-09 Thread Nadav Amit
From: Nadav Amit cpumask_next_and() and cpumask_any_but() are pure, and marking them as such seems to generate different and presumably better code for native_flush_tlb_multi(). Reviewed-by: Dave Hansen Signed-off-by: Nadav Amit --- include/linux/cpumask.h | 6 +++--- 1 file changed, 3

[PATCH v5 8/8] x86/mm/tlb: Remove unnecessary uses of the inline keyword

2021-02-09 Thread Nadav Amit
From: Nadav Amit The compiler is smart enough without these hints. Cc: Andy Lutomirski Cc: Peter Zijlstra Suggested-by: Dave Hansen Reviewed-by: Dave Hansen Signed-off-by: Nadav Amit --- arch/x86/mm/tlb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH v5 5/8] x86/mm/tlb: Privatize cpu_tlbstate

2021-02-09 Thread Nadav Amit
From: Nadav Amit cpu_tlbstate is mostly private and only the variable is_lazy is shared. This causes some false-sharing when TLB flushes are performed. Break cpu_tlbstate intro cpu_tlbstate and cpu_tlbstate_shared, and mark each one accordingly. Cc: Andy Lutomirski Cc: Peter Zijlstra

[PATCH v5 4/8] x86/mm/tlb: Flush remote and local TLBs concurrently

2021-02-09 Thread Nadav Amit
From: Nadav Amit To improve TLB shootdown performance, flush the remote and local TLBs concurrently. Introduce flush_tlb_multi() that does so. Introduce paravirtual versions of flush_tlb_multi() for KVM, Xen and hyper-v (Xen and hyper-v are only compile-tested). While the updated smp

Re: [PATCH] dt-bindings: mtd: spi-nor: Convert to DT schema format

2021-02-09 Thread Rob Herring
On Tue, 02 Feb 2021 11:53:39 -0600, Rob Herring wrote: > Convert the SPI-NOR binding to DT schema format. Like other memory chips, > the compatible strings are a mess with vendor prefixes not being used > consistently and some compatibles not documented. The resulting schema > passes on

Re: [PATCH 3/3] mm: Fix missing mem cgroup soft limit tree updates

2021-02-09 Thread Johannes Weiner
Hello Tim, On Tue, Feb 09, 2021 at 12:29:47PM -0800, Tim Chen wrote: > @@ -6849,7 +6850,9 @@ static void uncharge_page(struct page *page, struct > uncharge_gather *ug) >* exclusive access to the page. >*/ > > - if (ug->memcg != page_memcg(page)) { > + if (ug->memcg !=

Re: [PATCH v2 06/28] locking/rwlocks: Add contention detection for rwlocks

2021-02-09 Thread Guenter Roeck
On Tue, Feb 09, 2021 at 04:46:02PM -0500, Waiman Long wrote: > On 2/9/21 3:39 PM, Guenter Roeck wrote: > > On Tue, Feb 02, 2021 at 10:57:12AM -0800, Ben Gardon wrote: > > > rwlocks do not currently have any facility to detect contention > > > like spinlocks do. In order to allow users of rwlocks

[gustavoars-linux:testing/uapi/nfsd/nfsfh 1/2] drivers/media/pci/ngene/ngene-core.c:388:2: warning: 'memcpy' offset [12, 16] from the object at 'com' is out of the bounds of referenced subobject 'conf

2021-02-09 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git testing/uapi/nfsd/nfsfh head: d28670226e028e65b0de5e6744c5df188fc2728b commit: 5c976c3f03be89378ca672c1a3c7ce7048d90606 [1/2] Makefile: Enable -Warray-bounds config: riscv-randconfig-r004-20210209 (attached as .config

Re: [PATCH] ASoC: soc-pcm: change error message to debug message

2021-02-09 Thread Mark Brown
On Mon, Feb 08, 2021 at 09:06:44AM -0600, Pierre-Louis Bossart wrote: > If you demote this to dev_dbg, we'll have to ask every single user who > reports 'sound is broken' to enable dynamic debug traces. I really don't see > the benefit, this is a clear case of 'fail big and fail early', partly >

Re: [GIT PULL] fscache: I/O API modernisation and netfs helper library

2021-02-09 Thread Linus Torvalds
On Tue, Feb 9, 2021 at 12:21 PM Matthew Wilcox wrote: > > Yeah, I have trouble with the private2 vs fscache bit too. I've been > trying to persuade David that he doesn't actually need an fscache > bit at all; he can just increment the page's refcount to prevent it > from being freed while he

Re: [PATCH 3/3] mm: Fix missing mem cgroup soft limit tree updates

2021-02-09 Thread Tim Chen
On 2/9/21 2:22 PM, Johannes Weiner wrote: > Hello Tim, > > On Tue, Feb 09, 2021 at 12:29:47PM -0800, Tim Chen wrote: >> @@ -6849,7 +6850,9 @@ static void uncharge_page(struct page *page, struct >> uncharge_gather *ug) >> * exclusive access to the page. >> */ >> >> -if

Re: [PATCH] IOCTL support for dell-wmi-sysman driver

2021-02-09 Thread kernel test robot
-base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Prasanth-KSR/IOCTL-support-for-dell-wmi-sysman-driver/20210209-223343 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 61556703b610a104de324e4f061dc6cf7b218b46 c

Re: [PATCH 2/5] ARM: dts: rockchip: assign a fixed index to mmc devices on rv1108 boards

2021-02-09 Thread Arnd Bergmann
On Mon, Jan 18, 2021 at 4:52 PM Johan Jonker wrote: > > Recently introduced async probe on mmc devices can shuffle block IDs. > Pin them to fixed values to ease booting in environments where UUIDs are > not practical. Use newly introduced aliases for mmcblk devices from [1]. > The sort order is

Re: [PATCH v2 07/24] dt-bindings: net: dwmac: Detach Generic DW MAC bindings

2021-02-09 Thread Rob Herring
On Mon, Feb 08, 2021 at 04:55:51PM +0300, Serge Semin wrote: > Currently the snps,dwmac.yaml DT bindings file is used for both DT nodes > describing generic DW MAC devices and as DT schema with common properties > to be evaluated against a vendor-specific DW MAC IP-cores. Due to such >

Re: [page-reclaim] Augmented Page Reclaim

2021-02-09 Thread Jesse Barnes
> == > Augmented Page Reclaim > == > We would like to share a work with you and see if there is enough > interest to warrant a run for the mainline. This work is a part of > result from a decade of research and experimentation in memory > overcommit at

Re: [PATCH 1/3] spi: mpc52xx: Avoid using get_tbl()

2021-02-09 Thread Mark Brown
On Tue, Feb 09, 2021 at 10:26:21AM +, Christophe Leroy wrote: > get_tbl() is confusing as it returns the content TBL register > on PPC32 but the concatenation of TBL and TBU on PPC64. > > Use mftb() instead. > > This will allow the removal of get_tbl() in a following patch. Acked-by: Mark

Re: [PATCH v2 net-next 07/11] net: dsa: kill .port_egress_floods overengineering

2021-02-09 Thread Florian Fainelli
On 2/9/21 12:37 PM, Vladimir Oltean wrote: > On Tue, Feb 09, 2021 at 05:19:32PM +0200, Vladimir Oltean wrote: >> From: Vladimir Oltean >> >> The bridge offloads the port flags through a single bit mask using >> switchdev, which among others, contains learning and flooding settings. >> >> The

Re: [PATCH v2 2/7] ASoC: fsl_rpmsg: Add CPU DAI driver for audio base on rpmsg

2021-02-09 Thread Mark Brown
On Tue, Feb 09, 2021 at 05:16:16PM +0800, Shengjiu Wang wrote: > On Mon, Feb 8, 2021 at 7:53 PM Mark Brown wrote: > > hw_params() can be called multiple times and there's no need for it to > > be balanced with hw_free(), I'd move this to a different callback (DAPM > > should work well). > Which

[gustavoars-linux:testing/staging/rtl8188eu 1/2] drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega10_hwmgr.c:3113:30: warning: array subscript 4 is above array bounds of {aka 'struct

2021-02-09 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git testing/staging/rtl8188eu head: 25e1a76c1c41a6d6f103b572f4f50ba30787f9ab commit: 78d593615c6f1cd10232a34899af93d5d2696c30 [1/2] Makefile: Enable -Warray-bounds config: microblaze-randconfig-r005-20210209 (attached

Re: [PATCH 0/4] btrfs: Convert kmaps to core page calls

2021-02-09 Thread Andrew Morton
On Tue, 9 Feb 2021 14:03:29 -0800 Ira Weiny wrote: > On Tue, Feb 09, 2021 at 01:58:37PM -0800, Andrew Morton wrote: > > On Tue, 9 Feb 2021 13:52:29 -0800 Ira Weiny wrote: > > > > > > > > > > Let's please queue this up separately. > > > > > > Ok can I retain your Ack on the move part of the

Re: [PATCH v2 04/24] dt-bindings: net: dwmac: Refactor snps,*-config properties

2021-02-09 Thread Rob Herring
On Mon, Feb 08, 2021 at 04:55:48PM +0300, Serge Semin wrote: > Currently the "snps,axi-config", "snps,mtl-rx-config" and > "snps,mtl-tx-config" properties are declared as a single phandle reference > to a node with corresponding parameters defined. That's not good for > several reasons. First of

Re: [PATCH v3 1/2] dt-bindings: input/touchscreen: add bindings for msg26xx

2021-02-09 Thread Vincent Knecht
Le mardi 09 février 2021 à 10:13 -0600, Rob Herring a écrit : > On Thu, Jan 21, 2021 at 06:43:47PM +0100, Vincent Knecht wrote: > > This adds dts bindings for the mstar msg26xx touchscreen. > > > > Signed-off-by: Vincent Knecht > > --- > > Changed in v3: > > - added `touchscreen-size-x: true`

Re: [PATCH v3] checkpatch: do not apply "initialise globals to 0" check to BPF progs

2021-02-09 Thread Song Liu
> On Feb 9, 2021, at 11:57 AM, Joe Perches wrote: > > On Tue, 2021-02-09 at 19:44 +, Song Liu wrote: >>> On Feb 9, 2021, at 10:59 AM, Joe Perches wrote: >>> On Tue, 2021-02-09 at 10:33 -0800, Song Liu wrote: BPF programs explicitly initialise global variables to 0 to make sure

Re: [PATCH v2 1/2] kunit: support failure from dynamic analysis tools

2021-02-09 Thread Daniel Latypov
On Tue, Feb 9, 2021 at 2:12 PM Alan Maguire wrote: > > On Tue, 9 Feb 2021, Daniel Latypov wrote: > > > On Tue, Feb 9, 2021 at 9:26 AM Alan Maguire wrote: > > > > > > On Fri, 5 Feb 2021, Daniel Latypov wrote: > > > > > > > From: Uriel Guajardo > > > > > > > > Add a kunit_fail_current_test()

[PATCH v5 3/4] drm/i915/gen9_bc: Introduce HPD pin mappings for TGP PCH + CML combos

2021-02-09 Thread Lyude Paul
Next, let's start introducing the HPD pin mappings for Intel's new gen9_bc platform in order to make hotplugging display connectors work. Since gen9_bc is just a TGP PCH along with a CML CPU, except with the same HPD mappings as ICL, we simply add a skl_hpd_pin function that is shared between gen9

RE: [RFC PATCH v3 1/2] mempinfd: Add new syscall to provide memory pin

2021-02-09 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Jason Gunthorpe [mailto:j...@ziepe.ca] > Sent: Wednesday, February 10, 2021 2:54 AM > To: Song Bao Hua (Barry Song) > Cc: David Hildenbrand ; Wangzhou (B) > ; linux-kernel@vger.kernel.org; > io...@lists.linux-foundation.org; linux...@kvack.org; >

[PATCH v4] checkpatch: do not apply "initialise globals to 0" check to BPF progs

2021-02-09 Thread Song Liu
BPF programs explicitly initialise global variables to 0 to make sure clang (v10 or older) do not put the variables in the common section. Skip "initialise globals to 0" check for BPF programs to elimiate error messages like: ERROR: do not initialise globals to 0 #19: FILE:

[PATCH v5 1/4] drm/i915/gen9_bc: Recognize TGP PCH + CML combos

2021-02-09 Thread Lyude Paul
Since Intel has introduced the gen9_bc platform, a combination of Tigerpoint PCHs and CML CPUs, let's recognize such platforms as valid and avoid WARNing on them. Changes since v4: * Split this into it's own patch - vsyrjala Cc: Matt Roper Cc: Jani Nikula Cc: Ville Syrjala [originally from

Re: [PATCH v4 4/8] of: property: Add fw_devlink support for optional properties

2021-02-09 Thread Rob Herring
On Fri, Feb 05, 2021 at 02:26:40PM -0800, Saravana Kannan wrote: > Not all DT bindings are mandatory bindings. Add support for optional DT > bindings and mark iommus, iommu-map, dmas as optional DT bindings. I don't think we can say these are optional or not. It's got to be a driver decision

[PATCH v5 0/8] x86/tlb: Concurrent TLB flushes

2021-02-09 Thread Nadav Amit
From: Nadav Amit This is a respin of a rebased version of an old series, which I did not follow, as I was preoccupied with personal issues (sorry). The series improve TLB shootdown by flushing the local TLB concurrently with remote TLBs, overlapping the IPI delivery time with the local flush.

[PATCH v5 1/8] smp: Run functions concurrently in smp_call_function_many_cond()

2021-02-09 Thread Nadav Amit
From: Nadav Amit Currently, on_each_cpu() and similar functions do not exploit the potential of concurrency: the function is first executed remotely and only then it is executed locally. Functions such as TLB flush can take considerable time, so this provides an opportunity for performance

[PATCH v5 2/8] x86/mm/tlb: Unify flush_tlb_func_local() and flush_tlb_func_remote()

2021-02-09 Thread Nadav Amit
From: Nadav Amit The unification of these two functions allows to use them in the updated SMP infrastrucutre. To do so, remove the reason argument from flush_tlb_func_local(), add a member to struct tlb_flush_info that says which CPU initiated the flush and act accordingly. Optimize the size of

[PATCH v3 2/2] kunit: ubsan integration

2021-02-09 Thread Daniel Latypov
From: Uriel Guajardo Integrates UBSAN into the KUnit testing framework. It fails KUnit tests whenever it reports undefined behavior. When CONFIG_KUNIT=n, nothing is printed or even formatted, so this has no behavioral impact outside of tests. kunit_fail_current_test() effectively does a

Re: [PATCH mvebu v2 00/10] Armada 37xx: Fix cpufreq changing base CPU speed to 800 MHz from 1000 MHz

2021-02-09 Thread nnet
On Tue, Feb 9, 2021, at 1:33 PM, Pali Rohár wrote: > On Tuesday 09 February 2021 13:00:26 nnet wrote: > > > If you have other Armada 3720 boards (Espressobin v5/v7, uDPU, Devel > > > Board, ...) then it will be nice to do an additional tests and check if > > > instability issues are finally

Re: [PATCH v2] scsi: dt-bindings: ufs: Add sm8250, sm8350 compatible strings

2021-02-09 Thread Rob Herring
On Thu, 04 Feb 2021 22:22:34 +0530, Vinod Koul wrote: > Document "qcom,sm8250-ufshc" and "qcom,sm8350-ufshc" compatible string. > Use of "qcom,sm8250-ufshc" is already present upstream, so add misiing > documentation. "qcom,sm8350-ufshc" is for UFS HC found in SM8350 SoC. > > Reviewed-by: Bjorn

[PATCH v2] driver core: auxiliary bus: Fix calling stage for auxiliary bus init

2021-02-09 Thread Dave Jiang
When the auxiliary device code is built into the kernel, it can be executed before the auxiliary bus is registered. This causes bus->p to be not allocated and triggers a NULL pointer dereference when the auxiliary bus device gets added with bus_add_device(). Call the auxiliary_bus_init() under

Re: [PATCH RFC] hugetlb_cgroup: fix unbalanced css_put for shared mappings

2021-02-09 Thread Mike Kravetz
On 2/8/21 7:27 PM, Miaohe Lin wrote: > On 2021/2/9 3:52, Mike Kravetz wrote: >> On 1/23/21 1:31 AM, Miaohe Lin wrote: >>> The current implementation of hugetlb_cgroup for shared mappings could have >>> different behavior. Consider the following two scenarios: >>> >>> 1.Assume initial css reference

Re: [PATCH 0/8] MUSE: Userspace backed MTD v3

2021-02-09 Thread Richard Weinberger
Miklos, - Ursprüngliche Mail - > If you look at fuse_do_ioctl() it does variable length input and > output at the same time. I guess you need something similar to that. I'm not sure whether I understand correctly. In MUSE one use case would be attaching two distinct (variable length)

Re: [GIT PULL] fscache: I/O API modernisation and netfs helper library

2021-02-09 Thread David Howells
Matthew Wilcox wrote: > Yeah, I have trouble with the private2 vs fscache bit too. I've been > trying to persuade David that he doesn't actually need an fscache > bit at all; he can just increment the page's refcount to prevent it > from being freed while he writes data to the cache. That's

Re: linux-next: build failure after merge of the modules tree

2021-02-09 Thread Stephen Rothwell
Hi Jessica, On Tue, 9 Feb 2021 16:16:20 +0100 Jessica Yu wrote: > > Hmm, these errors don't look like it's related to that particular commit. I > was I found this commit by bisection and then tested by reverting it. Before this commit, CONFIG_TRIM_UNUSED_KSYMS would not be set in the

Re: [PATCH mvebu v2 00/10] Armada 37xx: Fix cpufreq changing base CPU speed to 800 MHz from 1000 MHz

2021-02-09 Thread Pali Rohár
On Tuesday 09 February 2021 13:00:26 nnet wrote: > > If you have other Armada 3720 boards (Espressobin v5/v7, uDPU, Devel Board, > > ...) then it will be nice to do an additional tests and check if > > instability issues are finally fixed. > > These patches applied to the 5.4.96 in OpenWrt

[PATCHv5 4/7] fpga: fpga-mgr: add FPGA_MGR_BITSTREAM_AUTHENTICATE flag

2021-02-09 Thread richard . gong
From: Richard Gong Add FPGA_MGR_BITSTREAM_AUTHENTICATE flag for FPGA bitstream authentication, which makes sure a signed bitstream has valid signatures. Except for the actual configuration of the device, the authentication works the same way as FPGA configuration does. If the authentication

[PATCHv5 5/7] fpga: of-fpga-region: add authenticate-fpga-config property

2021-02-09 Thread richard . gong
From: Richard Gong Add authenticate-fpga-config property to support FPGA bitstream authentication, which makes sure a signed bitstream has valid signatures. Signed-off-by: Richard Gong --- v5: no change v4: add additional checks to make sure *only* authenticate v3: no change v2: changed in

Re: [PATCH v4 2/8] of: property: Don't add links to absent suppliers

2021-02-09 Thread Rob Herring
On Fri, 05 Feb 2021 14:26:38 -0800, Saravana Kannan wrote: > If driver core marks a firmware node as not a device, don't add fwnode > links where it's a supplier. > > Fixes: e590474768f1 ("driver core: Set fw_devlink=on by default") > Signed-off-by: Saravana Kannan > --- > drivers/of/property.c

Re: [PATCH v2 1/2] kunit: support failure from dynamic analysis tools

2021-02-09 Thread Alan Maguire
On Tue, 9 Feb 2021, Daniel Latypov wrote: > On Tue, Feb 9, 2021 at 9:26 AM Alan Maguire wrote: > > > > On Fri, 5 Feb 2021, Daniel Latypov wrote: > > > > > From: Uriel Guajardo > > > > > > Add a kunit_fail_current_test() function to fail the currently running > > > test, if any, with an error

[PATCHv5 7/7] fpga: stratix10-soc: extend driver for bitstream authentication

2021-02-09 Thread richard . gong
From: Richard Gong Extend FPGA manager driver to support FPGA bitstream authentication on Intel SocFPGA platforms. Signed-off-by: Richard Gong --- v5: no change v4: s/FPGA_MGR_BITSTREM_AUTHENTICATION/FPGA_MGR_BITSTREAM_AUTHENTICATE v3: add handle to retriev the firmware version to keep driver

Re: [PATCH v2 06/28] locking/rwlocks: Add contention detection for rwlocks

2021-02-09 Thread Waiman Long
On 2/9/21 3:39 PM, Guenter Roeck wrote: On Tue, Feb 02, 2021 at 10:57:12AM -0800, Ben Gardon wrote: rwlocks do not currently have any facility to detect contention like spinlocks do. In order to allow users of rwlocks to better manage latency, add contention detection for queued rwlocks. CC:

[gustavoars-linux:testing/uapi/nfsd/nfsfh 1/2] fs/hpfs/dir.c:163:41: warning: array subscript 1 is above array bounds of {aka 'unsigned

2021-02-09 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git testing/uapi/nfsd/nfsfh head: d28670226e028e65b0de5e6744c5df188fc2728b commit: 5c976c3f03be89378ca672c1a3c7ce7048d90606 [1/2] Makefile: Enable -Warray-bounds config: h8300-randconfig-s031-20210209 (attached as .config

[PATCHv5 3/7] firmware: stratix10-svc: extend SVC driver to get the firmware version

2021-02-09 Thread richard . gong
From: Richard Gong Extend Intel service layer driver to get the firmware version running at FPGA device. Therefore FPGA manager driver, one of Intel service layer driver's client, can decide whether to handle the newly added bitstream authentication function based on the retrieved firmware

Re: [PATCH][RESEND] lib/vsprintf: make-printk-non-secret printks all addresses as unhashed

2021-02-09 Thread Marco Elver
On Tue, Feb 02, 2021 at 03:36PM -0600, Timur Tabi wrote: > If the make-printk-non-secret command-line parameter is set, then > printk("%p") will print addresses as unhashed. This is useful for > debugging purposes. > > A large warning message is displayed if this option is enabled, > because

[PATCH] drivers: mmc: host: Retire MMC_GOLDFISH

2021-02-09 Thread rkir
From: Roman Kiryanov Android Studio Emulator no longer uses this driver. Signed-off-by: Roman Kiryanov --- drivers/mmc/host/Kconfig| 7 - drivers/mmc/host/Makefile | 1 - drivers/mmc/host/android-goldfish.c | 545 3 files changed, 553

[PATCH 3/3] mm: Fix missing mem cgroup soft limit tree updates

2021-02-09 Thread Tim Chen
On a per node basis, the mem cgroup soft limit tree on each node tracks how much a cgroup has exceeded its soft limit memory limit and sorts the cgroup by its excess usage. On page release, the trees are not updated right away, until we have gathered a batch of pages belonging to the same cgroup.

[PATCHv5 2/7] firmware: stratix10-svc: add COMMAND_AUTHENTICATE_BITSTREAM flag

2021-02-09 Thread richard . gong
From: Richard Gong Add COMMAND_AUTHENTICATE_BITSTREAM command flag for new added bitstream authentication feature. Authenticating a bitstream is to make sure a signed bitstream has the valid signatures. Except for the actual configuration of the device, the bitstream authentication works the

Re: [PATCH 0/4] btrfs: Convert kmaps to core page calls

2021-02-09 Thread Andrew Morton
On Tue, 9 Feb 2021 13:52:29 -0800 Ira Weiny wrote: > > > > Let's please queue this up separately. > > Ok can I retain your Ack on the move part of the patch? I missed that. > Note that it does change kmap_atomic() to kmap_local_page() currently. > > Would you prefer a separate change for

[PATCH 2/3] mm: Force update of mem cgroup soft limit tree on usage excess

2021-02-09 Thread Tim Chen
To rate limit updates to the mem cgroup soft limit tree, we only perform updates every SOFTLIMIT_EVENTS_TARGET (defined as 1024) memory events. However, this sampling based updates may miss a critical update: i.e. when the mem cgroup first exceeded its limit but it was not on the soft limit tree.

Re: [PATCH v2 1/2] kunit: support failure from dynamic analysis tools

2021-02-09 Thread Daniel Latypov
On Tue, Feb 9, 2021 at 9:26 AM Alan Maguire wrote: > > On Fri, 5 Feb 2021, Daniel Latypov wrote: > > > From: Uriel Guajardo > > > > Add a kunit_fail_current_test() function to fail the currently running > > test, if any, with an error message. > > > > This is largely intended for dynamic

Re:read

2021-02-09 Thread Ms. Reem
Hello, My name is Ms. Reem Ebrahim Al-Hashimi, I am the "Minister of state and Petroleum" also "Minister of State for International Cooperation" in UAE. I write to you on behalf of my other "three (3) colleagues" who has approved me to solicit for your "partnership in claiming of {us$47=Million}"

[PATCH 1/3] mm: Fix dropped memcg from mem cgroup soft limit tree

2021-02-09 Thread Tim Chen
During soft limit memory reclaim, we will temporarily remove the target mem cgroup from the cgroup soft limit tree. We then perform memory reclaim, update the memory usage excess count and re-insert the mem cgroup back into the mem cgroup soft limit tree according to the new memory usage excess

[PATCHv5 6/7] dt-bindings: fpga: add authenticate-fpga-config property

2021-02-09 Thread richard . gong
From: Richard Gong Add authenticate-fpga-config property for FPGA bitstream authentication, which makes sure a signed bitstream has valid signatures. Signed-off-by: Richard Gong --- v5: rewrite the description to highlight two things with authenticate-fpga-config flag v4: explain

[PATCHv5 1/7] firmware: stratix10-svc: reset COMMAND_RECONFIG_FLAG_PARTIAL to 0

2021-02-09 Thread richard . gong
From: Richard Gong Clean up COMMAND_RECONFIG_FLAG_PARTIAL flag by resetting it to 0, which aligns with the firmware settings. Fixes: 36847f9e3e56 ("firmware: stratix10-svc: correct reconfig flag and timeout values") Signed-off-by: Richard Gong --- v5: new add, add the missing standalone patch

Re: [PATCH 0/4] btrfs: Convert kmaps to core page calls

2021-02-09 Thread Ira Weiny
On Tue, Feb 09, 2021 at 01:11:03PM -0800, Andrew Morton wrote: > > > > > > It would be best to merge [1/4] via the btrfs tree. Please add my > > > > > > Acked-by: Andrew Morton > > > > > > > > > Although I think it would be better if [1/4] merely did the code > > > movement. Adding those

[PATCH 0/3] Soft limit memory management bug fixes

2021-02-09 Thread Tim Chen
During testing of tiered memory management based on memory soft limit, I found three issues with memory management using cgroup based soft limit in the mainline code. Fix the issues with the three patches in this series. Tim Chen (3): mm: Fix dropped memcg from mem cgroup soft limit tree

Re: [PATCH RFC 00/30] userfaultfd-wp: Support shmem and hugetlbfs

2021-02-09 Thread Peter Xu
On Tue, Feb 09, 2021 at 11:29:56AM -0800, Mike Kravetz wrote: > On 2/5/21 6:36 PM, Peter Xu wrote: > > On Fri, Feb 05, 2021 at 01:53:34PM -0800, Mike Kravetz wrote: > >> On 1/29/21 2:49 PM, Peter Xu wrote: > >>> On Fri, Jan 15, 2021 at 12:08:37PM -0500, Peter Xu wrote: > This is a RFC series

Re: [GIT PULL] fscache: I/O API modernisation and netfs helper library

2021-02-09 Thread David Howells
Linus Torvalds wrote: > > Yeah, I have trouble with the private2 vs fscache bit too. I've been > > trying to persuade David that he doesn't actually need an fscache > > bit at all; he can just increment the page's refcount to prevent it > > from being freed while he writes data to the cache. >

Re: [PATCH v6 2/7] gpio: ep93xx: Fix single irqchip with multi gpiochips

2021-02-09 Thread Alexander Sverdlin
Hello Nikita! On Tue, 2021-02-09 at 16:31 +0300, Nikita Shubin wrote: > Fixes the following warnings which results in interrupts disabled on > port B/F: > > gpio gpiochip1: (B): detected irqchip that is shared with multiple gpiochips: > please fix the driver. > gpio gpiochip5: (F): detected

Re: [PATCH v2 03/24] dt-bindings: net: dwmac: Fix the TSO property declaration

2021-02-09 Thread Rob Herring
On Mon, 08 Feb 2021 16:55:47 +0300, Serge Semin wrote: > Indeed the STMMAC driver doesn't take the vendor-specific compatible > string into account to parse the "snps,tso" boolean property. It just > makes sure the node is compatible with DW MAC 4.x, 5.x and DW xGMAC > IP-cores. The original

[PATCHv5 0/7] Extend Intel service layer, FPGA manager and region

2021-02-09 Thread richard . gong
From: Richard Gong This is 5th submission of Intel service layer and FPGA patches, which includes the missing standalone patch in the 4th submission. This submission includes additional changes for Intel service layer driver to get the firmware version running at FPGA SoC device. Then FPGA

Re: [PATCH] arm64: dts: ti: Add support for Siemens IOT2050 boards

2021-02-09 Thread Nishanth Menon
On 18:40-20210209, Jan Kiszka wrote: > On 09.02.21 15:44, Nishanth Menon wrote: > > Jan, > > > > A few quick scan comments below, you might need to post based off > > 5.12-rc1 once available.. > > > > Also, I see a bit of warnings with dtbs_check, which p

[PATCH 2/2] thermal: qcom: tsens-v1: Add MSM8992 support

2021-02-09 Thread Konrad Dybcio
MSM8992 is more or less a cut-down MSM8994, so it only makes sense that TSENS support only requires a few lines on top of the bigger brother's code. Signed-off-by: Konrad Dybcio --- .../bindings/thermal/qcom-tsens.yaml | 1 + drivers/thermal/qcom/tsens-v1.c | 25

Re: [PATCH v4 05/22] media: camss: Make ISPIF subdevice optional

2021-02-09 Thread Andrey Konovalov
Hi Robert, Thank you for your patch! On 05.02.2021 13:43, Robert Foss wrote: This driver supports multiple architecture versions of the Qualcomm ISP. The CAMSS architecure which this driver is name after, and with the introduction of this series, the Titan architecture. The ISPIF is an

Re: [PATCH mvebu v2 00/10] Armada 37xx: Fix cpufreq changing base CPU speed to 800 MHz from 1000 MHz

2021-02-09 Thread nnet
> If you have other Armada 3720 boards (Espressobin v5/v7, uDPU, Devel Board, > ...) then it will be nice to do an additional tests and check if instability > issues are finally fixed. These patches applied to the 5.4.96 in OpenWrt (98d61b5) work fine so far on an Espressobin v7 AFAICT per

Re: [PATCH] fs: buffer: use raw page_memcg() on locked page

2021-02-09 Thread Shakeel Butt
On Tue, Feb 9, 2021 at 11:01 AM Johannes Weiner wrote: > > alloc_page_buffers() currently uses get_mem_cgroup_from_page() for > charging the buffers to the page owner, which does an rcu-protected > page->memcg lookup and acquires a reference. But buffer allocation has > the page lock held

Re: [PATCH v3] checkpatch: do not apply "initialise globals to 0" check to BPF progs

2021-02-09 Thread Joe Perches
On Tue, 2021-02-09 at 10:33 -0800, Song Liu wrote: > BPF programs explicitly initialise global variables to 0 to make sure > clang (v10 or older) do not put the variables in the common section. > Skip "initialise globals to 0" check for BPF programs to elimiate error > messages like: > >

[PATCH] staging: rtl8723bs: fix function comments to follow kernel-doc

2021-02-09 Thread karthik alapati
fix checkpatch.pl warning for "block comments should align the * on each line" and make function comments follow kernel-doc Signed-off-by: karthik alapati --- .../staging/rtl8723bs/hal/rtl8723b_phycfg.c | 209 -- 1 file changed, 91 insertions(+), 118 deletions(-) diff --git

[PATCH] drm: use getter/setter functions

2021-02-09 Thread Julia Lawall
Use getter and setter functions, for platform_device structures and a mipi_dsi_device structure. Signed-off-by: Julia Lawall --- drivers/gpu/drm/aspeed/aspeed_gfx_drv.c |2 +- drivers/gpu/drm/bridge/cadence/cdns-mhdp8546-core.c |2 +- drivers/gpu/drm/panel/panel-lvds.c

Re: [PATCH v4 2/3] dt-bindings: iio: Add cros ec proximity yaml doc

2021-02-09 Thread Rob Herring
On Tue, Feb 02, 2021 at 10:44:33AM -0800, Stephen Boyd wrote: > Some cros ECs support a front proximity MKBP event via > 'EC_MKBP_FRONT_PROXIMITY'. Add a DT binding to document this feature via > a node that is a child of the main cros_ec device node. Devices that > have this ability will describe

[PATCH] video: use getter/setter functions

2021-02-09 Thread Julia Lawall
Use getter and setter functions, for platform_device structures and a spi_device structure. Signed-off-by: Julia Lawall --- drivers/video/backlight/qcom-wled.c |2 +- drivers/video/fbdev/amifb.c |4 ++--

[PATCH] media: use getter/setter functions

2021-02-09 Thread Julia Lawall
Use getter and setter functions, for a variety of data types. Signed-off-by: Julia Lawall --- drivers/media/pci/ivtv/ivtv-driver.c |2 +- drivers/media/platform/fsl-viu.c |6 +++--- drivers/media/platform/pxa_camera.c |4 ++-- drivers/media/radio/radio-maxiradio.c |2 +-

Re: [PATCH v2] mm: cma: support sysfs

2021-02-09 Thread Minchan Kim
On Tue, Feb 09, 2021 at 12:11:20PM -0800, John Hubbard wrote: > On 2/9/21 9:49 AM, Greg KH wrote: > > > > That's fine if you want to add it to the parent. If so, then the > > > > kobject controls the lifetime of the structure, nothing else can. > > > > > > The problem was parent object(i.e.,

[PATCH] iio: use getter/setter functions

2021-02-09 Thread Julia Lawall
Use getter and setter functions, for a variety of data types. Signed-off-by: Julia Lawall --- drivers/iio/adc/palmas_gpadc.c |2 +- drivers/iio/chemical/scd30_serial.c |2 +- drivers/iio/industrialio-core.c |2 +- drivers/iio/potentiometer/max5481.c |4 ++--

Re: [GIT PULL] fscache: I/O API modernisation and netfs helper library

2021-02-09 Thread David Howells
Linus Torvalds wrote: > The PG_fscache bit waiting functions are completely crazy. The comment > about "this will wake up others" is actively wrong, You mean this? /** * unlock_page_fscache - Unlock a page pinned with PG_fscache * @page: The page * * Unlocks the page and wakes up sleepers

Re: [PATCH 0/4] btrfs: Convert kmaps to core page calls

2021-02-09 Thread Andrew Morton
On Tue, 9 Feb 2021 12:52:49 -0800 Ira Weiny wrote: > On Tue, Feb 09, 2021 at 11:09:31AM -0800, Andrew Morton wrote: > > On Tue, 9 Feb 2021 16:11:23 +0100 David Sterba wrote: > > > > > On Fri, Feb 05, 2021 at 03:23:00PM -0800, ira.we...@intel.com wrote: > > > > From: Ira Weiny > > > > > > > >

Re: [PATCH v7 0/6] tracing: More synthetic event error fixes

2021-02-09 Thread Steven Rostedt
On Mon, 1 Feb 2021 13:48:10 -0600 Tom Zanussi wrote: > Hi, > > This is v7 of the synthetic event error fix patchset. This version > addresses the comments from v6: > > - moved check_command() from '[PATCH v6 3/6] tracing: Update synth > command errors' to '[PATCH v6 2/6] tracing:

Re: [PATCHv2] PCI: Add Silicom Denmark vendor ID

2021-02-09 Thread Bjorn Helgaas
On Mon, Feb 08, 2021 at 04:01:57PM +0100, Martin Hundebøll wrote: > Update pci_ids.h with the vendor ID for Silicom Denmark. The define is > going to be referenced in driver(s) for FPGA accelerated smart NICs. > > Signed-off-by: Martin Hundebøll Applied to pci/misc for v5.12 with reviewed-by

Re: [v7 PATCH 01/12] mm: vmscan: use nid from shrink_control for tracepoint

2021-02-09 Thread Shakeel Butt
On Tue, Feb 9, 2021 at 9:47 AM Yang Shi wrote: > > The tracepoint's nid should show what node the shrink happens on, the start > tracepoint > uses nid from shrinkctl, but the nid might be set to 0 before end tracepoint > if the > shrinker is not NUMA aware, so the traceing tracing > log may

Re: [PATCH] driver core: auxiliary bus: Fix calling stage for auxiliary bus init

2021-02-09 Thread Dan Williams
On Tue, Feb 9, 2021 at 11:16 AM Greg KH wrote: [..] > > diff --git a/drivers/base/auxiliary.c b/drivers/base/auxiliary.c > > index 8336535f1e11..53f93a506626 100644 > > --- a/drivers/base/auxiliary.c > > +++ b/drivers/base/auxiliary.c > > @@ -270,7 +270,7 @@ static void __exit

Re: [PATCH 2/6] dt-bindings: display: rockchip-dsi: add optional #phy-cells property

2021-02-09 Thread Rob Herring
On Tue, 02 Feb 2021 15:56:28 +0100, Heiko Stuebner wrote: > From: Heiko Stuebner > > The Rockchip DSI controller on some SoCs also controls a bidrectional > dphy, which would be connected to an Image Signal Processor as a phy > in the rx configuration. > > So allow a #phy-cells property for the

RE: Pstore : Query on using ramoops driver for DDR

2021-02-09 Thread Luck, Tony
> Can we use existing backend pstore ram driver (fs/pstore/ram.c) for DDR > instead of SRAM ? The expectation for pstore is that the system will go through a reset when it crashes. Most systems do not preserve DDR contents across reset. > Was the current driver written only to support

Re: [PATCH] driver core: auxiliary bus: Fix calling stage for auxiliary bus init

2021-02-09 Thread Greg KH
On Tue, Feb 09, 2021 at 12:05:05PM -0700, Dave Jiang wrote: > When the auxiliary device code is built into the kernel, it can be executed > before the auxiliary bus is registered. This causes bus->p to be not > allocated and triggers a NULL pointer dereference when the auxiliary bus > device gets

Re: [PATCH v10 2/7] i2c: Allow an ACPI driver to manage the device's power state during probe

2021-02-09 Thread Wolfram Sang
> + * @I2C_DRV_FL_ALLOW_LOW_POWER_PROBE: Let the ACPI driver manage the device's > + * power state during probe and remove Well, for the functional change, I am happy if the ACPI guys are happy. The only minor nit for me would be removing the "_FL" snipplet from

Re: [PATCH V3 06/14] dts: bindings: Document device tree bindings for ETE

2021-02-09 Thread Rob Herring
On Wed, Jan 27, 2021 at 02:25:30PM +0530, Anshuman Khandual wrote: > From: Suzuki K Poulose > > Document the device tree bindings for Embedded Trace Extensions. > ETE can be connected to legacy coresight components and thus > could optionally contain a connection graph as described by > the

RE: [PATCH v2] sched/topology: fix the issue groups don't span domain->span for NUMA diameter > 2

2021-02-09 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Peter Zijlstra [mailto:pet...@infradead.org] > Sent: Wednesday, February 10, 2021 1:56 AM > To: Song Bao Hua (Barry Song) > Cc: valentin.schnei...@arm.com; vincent.guit...@linaro.org; mgor...@suse.de; > mi...@kernel.org; dietmar.eggem...@arm.com;

[PATCH v5 1/8] dt-bindings: usb: convert rockchip,dwc3.txt to yaml

2021-02-09 Thread Johan Jonker
In the past Rockchip dwc3 usb nodes were manually checked. With the conversion of snps,dwc3.yaml as common document we now can convert rockchip,dwc3.txt to yaml as well. Remove node wrapper. Added properties for rk3399 are: power-domains resets reset-names Signed-off-by: Johan Jonker ---

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