Re: [PATCH v3 1/2] dt-bindings: panel: Add Samsung S6E3FA2 panel

2021-02-09 Thread Rob Herring
On Mon, 01 Feb 2021 18:53:05 +0200, Iskren Chernev wrote: > The Samsung S6E3FA2 AMOLED cmd LCD panel is used on the Samsung Galaxy > S5 (klte). > > Signed-off-by: Iskren Chernev > --- > Add a simple generated panel driver that supports on/off and the corresponding > binding documentation. > > Ch

[v3 net-next 02/10] skbuff: simplify kmalloc_reserve()

2021-02-09 Thread Alexander Lobakin
Eversince the introduction of __kmalloc_reserve(), "ip" argument hasn't been used. _RET_IP_ is embedded inside kmalloc_node_track_caller(). Remove the redundant macro and rename the function after it. Signed-off-by: Alexander Lobakin --- net/core/skbuff.c | 7 ++- 1 file changed, 2 insertion

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

2021-02-09 Thread Mickey Rachamim
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 anything to share? AFAIU the values of Linux kernel are > open

Re: [PATCH next v3 03/16] dt-bindings: phy: mediatek: dsi-phy: modify compatible dependence

2021-02-09 Thread Rob Herring
On Mon, 01 Feb 2021 15:00:03 +0800, Chunfeng Yun wrote: > mt7623-mipi-tx is compatible to mt2701-mipi-tx, and use > "mediatek,mt2701-mipi-tx" instead on MT7623, so modify > the compatible items to make dependence clear. > > Cc: Chun-Kuang Hu > Cc: Philipp Zabel > Signed-off-by: Chunfeng Yun > -

[v3 net-next 05/10] skbuff: use __build_skb_around() in __alloc_skb()

2021-02-09 Thread Alexander Lobakin
Just call __build_skb_around() instead of open-coding it. Signed-off-by: Alexander Lobakin --- net/core/skbuff.c | 18 +- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/net/core/skbuff.c b/net/core/skbuff.c index 88566de26cd1..1c6f6ef70339 100644 --- a/net/core/skb

Re: [PATCH next v3 04/16] dt-bindings: phy: mediatek: hdmi-phy: modify compatible items

2021-02-09 Thread Rob Herring
On Mon, 01 Feb 2021 15:00:04 +0800, Chunfeng Yun wrote: > mt7623-hdmi-tx is compatible to mt2701-hdmi-tx, and the compatible > "mediatek,mt7623-hdmi-tx" is not supported in driver, in fact uses > "mediatek,mt2701-hdmi-tx" instead on MT7623, so changes the > compatible items to make dependence clear

Re: [PATCH 1/2] dt-bindings: arm: amlogic: add support for the Minix NEO U9-H

2021-02-09 Thread Rob Herring
On Mon, 01 Feb 2021 21:05:07 +, Christian Hewitt wrote: > The Minix NEO U9-H is a small form-factor Android STB based on the > Amlogic Q200 reference board with an S912-H chip. > > Signed-off-by: Christian Hewitt > --- > Documentation/devicetree/bindings/arm/amlogic.yaml | 1 + > 1 file chan

[v3 net-next 06/10] skbuff: remove __kfree_skb_flush()

2021-02-09 Thread Alexander Lobakin
This function isn't much needed as NAPI skb queue gets bulk-freed anyway when there's no more room, and even may reduce the efficiency of bulk operations. It will be even less needed after reusing skb cache on allocation path, so remove it and this way lighten network softirqs a bit. Suggested-by:

Re: [PATCH next v3 05/16] dt-bindings: phy: mediatek: tphy: change patternProperties

2021-02-09 Thread Rob Herring
On Mon, 01 Feb 2021 15:00:05 +0800, Chunfeng Yun wrote: > The phy may be named as pcie-phy when the T-PHY only supports > PCIe mode, it's also the similar case for SATA, named as > sata-phy. > > Signed-off-by: Chunfeng Yun > --- > v2~v3: no changes > --- > Documentation/devicetree/bindings/phy/m

Re: [v7 PATCH 02/12] mm: vmscan: consolidate shrinker_maps handling code

2021-02-09 Thread Roman Gushchin
On Tue, Feb 09, 2021 at 09:46:36AM -0800, Yang Shi wrote: > The shrinker map management is not purely memcg specific, it is at the > intersection > between memory cgroup and shrinkers. It's allocation and assignment of a > structure, > and the only memcg bit is the map is being stored in a memcg

[v3 net-next 08/10] skbuff: reuse NAPI skb cache on allocation path (__build_skb())

2021-02-09 Thread Alexander Lobakin
Instead of just bulk-flushing skbuff_heads queued up through napi_consume_skb() or __kfree_skb_defer(), try to reuse them on allocation path. If the cache is empty on allocation, bulk-allocate the first half, which is more efficient than per-skb allocation. If the cache is full on freeing, bulk-wip

Re: [PATCH] dt-bindings: Use portable sort for version cmp

2021-02-09 Thread Rob Herring
On Mon, 01 Feb 2021 18:58:28 +0200, Iskren Chernev wrote: > sort -C is like sort -c >/dev/null but less portable. It fails on > busybox sort (i.e alpine linux). > > Signed-off-by: Iskren Chernev > Fixes: ea5b8b5eb004 ("dt-bindings: Add a minimum version check for dtschema") > --- > Documentation

Re: [PATCH 0/3] support for duplicate measurement of integrity critical data

2021-02-09 Thread Tushar Sugandhi
On 2021-02-09 10:53 a.m., Mimi Zohar wrote: On Tue, 2021-02-09 at 10:23 -0800, Tushar Sugandhi wrote: On Mon, 2021-02-08 at 15:22 -0500, Mimi Zohar wrote: On Fri, 2021-01-29 at 16:45 -0800, Tushar Sugandhi wrote: IMA does not measure duplicate buffer data since TPM extend is a very expensiv

Re: [PATCH v3 8/8] kselftests: cgroup: update kmem test for new vmstat implementation

2021-02-09 Thread Roman Gushchin
On Tue, Feb 09, 2021 at 11:33:04AM -0500, Johannes Weiner wrote: > With memcg having switched to rstat, memory.stat output is precise. > Update the cgroup selftest to reflect the expectations and error > tolerances of the new implementation. > > Also add newly tracked types of memory to the memory

Re: [PATCH next v3 01/16] dt-bindings: usb: fix yamllint check warning

2021-02-09 Thread Rob Herring
On Mon, Feb 01, 2021 at 03:00:01PM +0800, Chunfeng Yun wrote: > Fix warning: "missing starting space in comment" > I'm not seeing this warning in linux-next. It may already be fixed. > Signed-off-by: Chunfeng Yun > --- > v2~v3: no changes > --- > Documentation/devicetree/bindings/usb/usb-devic

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

2021-02-09 Thread Johannes Weiner
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 throughout, which pins the page to the memcg and thereby the memcg - neith

[PATCH v2] mm/vmalloc: use rb_tree instead of list for vread() lookups

2021-02-09 Thread Serapheim Dimitropoulos
vread() has been linearly searching vmap_area_list for looking up vmalloc areas to read from. These same areas are also tracked by a rb_tree (vmap_area_root) which offers logarithmic lookup. This patch modifies vread() to use the rb_tree structure instead of the list and the speedup for heavy /pro

drivers/net/ethernet/pensando/ionic/ionic_lif.c:855 ionic_adminq_napi() error: we previously assumed 'lif->adminqcq' could be null (see line 848)

2021-02-09 Thread Dan Carpenter
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: e0756cfc7d7cd08c98a53b6009c091a3f6a50be6 commit: 04a834592bf51355383db6fc00cb09f776a6b8dc ionic: dynamic interrupt moderation config: s390-randconfig-m031-20210209 (attached as .config) compiler: s390-linux

Re: [PATCH 0/9] Add support for SVM atomics in Nouveau

2021-02-09 Thread John Hubbard
On 2/9/21 5:37 AM, Daniel Vetter wrote: On Tue, Feb 9, 2021 at 1:57 PM Alistair Popple wrote: On Tuesday, 9 February 2021 9:27:05 PM AEDT Daniel Vetter wrote: Recent changes to pin_user_pages() prevent the creation of pinned pages in ZONE_MOVABLE. This series allows pinned pages to be create

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

2021-02-09 Thread Ira Weiny
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 > > > > > > There are many places where kmap//kunmap patterns occur. We > > >

Re: [PATCH] dt-bindings: arm: xilinx: Add missing Zturn boards

2021-02-09 Thread Rob Herring
On Mon, 01 Feb 2021 14:16:12 +0100, Michal Simek wrote: > Add missing DT compatible strings for Zturn boards. > > Signed-off-by: Michal Simek > --- > > Patches are based on > https://lore.kernel.org/linux-arm-kernel/20210120194033.26970-3-mich...@walle.cc/ > --- > Documentation/devicetree/bindi

Re: [PATCH] staging: rtl8723bs: fix block comments alignment

2021-02-09 Thread karthek
On Tue, Feb 09, 2021 at 07:49:29PM +0100, Greg Kroah-Hartman wrote: > On Tue, Feb 09, 2021 at 11:26:17PM +0530, karthek wrote: > > On Tue, Feb 09, 2021 at 06:23:39PM +0100, Greg Kroah-Hartman wrote: > > > On Tue, Feb 09, 2021 at 09:50:50PM +0530, karthek wrote: > > > > On Sun, Feb 07, 2021 at 04:26

Re: [PATCH next v3 06/16] dt-bindings: usb: mtk-xhci: add optional assigned clock properties

2021-02-09 Thread Rob Herring
On Mon, 01 Feb 2021 15:00:06 +0800, Chunfeng Yun wrote: > Add optional property "assigned-clock" and "assigned-clock-parents" > used by mt7629. > > Signed-off-by: Chunfeng Yun > --- > v3: no changes > v2: separate compatible out of the patch > --- > .../devicetree/bindings/usb/mediatek,mtk-xhci.

[v3 net-next 09/10] skbuff: reuse NAPI skb cache on allocation path (__alloc_skb())

2021-02-09 Thread Alexander Lobakin
Try to use the same technique for obtaining skbuff_head from NAPI cache in {,__}alloc_skb(). Two points here: - __alloc_skb() can be used for allocating clones or allocating skbs for distant nodes. Try to grab head from the cache only for non-clones and for local nodes; - can be called from

Re: [PATCH v2] mm/vmalloc: use rb_tree instead of list for vread() lookups

2021-02-09 Thread Uladzislau Rezki
> vread() has been linearly searching vmap_area_list for looking up > vmalloc areas to read from. These same areas are also tracked by > a rb_tree (vmap_area_root) which offers logarithmic lookup. > > This patch modifies vread() to use the rb_tree structure instead > of the list and the speedup fo

Re: [PATCH next v3 08/16] dt-bindings: usb: mediatek: musb: add mt8516 compatbile

2021-02-09 Thread Rob Herring
On Mon, 01 Feb 2021 15:00:08 +0800, Chunfeng Yun wrote: > Add support mt8516 compatbile > > Signed-off-by: Chunfeng Yun > --- > v2~v3: no changes > --- > Documentation/devicetree/bindings/usb/mediatek,musb.yaml | 1 + > 1 file changed, 1 insertion(+) > Reviewed-by: Rob Herring

Re: [PATCH v2 net-next 04/11] net: bridge: offload initial and final port flags through switchdev

2021-02-09 Thread Vladimir Oltean
On Tue, Feb 09, 2021 at 08:51:00PM +0200, Ido Schimmel wrote: > On Tue, Feb 09, 2021 at 05:19:29PM +0200, Vladimir Oltean wrote: > > So switchdev drivers operating in standalone mode should disable address > > learning. As a matter of practicality, we can reduce code duplication in > > drivers by h

Re: [v7 PATCH 05/12] mm: memcontrol: rename shrinker_map to shrinker_info

2021-02-09 Thread Roman Gushchin
On Tue, Feb 09, 2021 at 09:46:39AM -0800, Yang Shi wrote: > The following patch is going to add nr_deferred into shrinker_map, the change > will > make shrinker_map not only include map anymore, so rename it to > "memcg_shrinker_info". > And this should make the patch adding nr_deferred cleaner a

Re: [PATCH next v3 07/16] dt-bindings: usb: mtk-xhci: add compatible for mt2701 and mt7623

2021-02-09 Thread Rob Herring
On Mon, 01 Feb 2021 15:00:07 +0800, Chunfeng Yun wrote: > Add two compatible for mt2701 and mt7623; > > Signed-off-by: Chunfeng Yun > --- > v3: no changes > v2: new patch separated from [6/15] > --- > Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml | 2 ++ > 1 file changed, 2 insert

[v3 net-next 03/10] skbuff: make __build_skb_around() return void

2021-02-09 Thread Alexander Lobakin
__build_skb_around() can never fail and always returns passed skb. Make it return void to simplify and optimize the code. Signed-off-by: Alexander Lobakin --- net/core/skbuff.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/net/core/skbuff.c b/net/core/skbuff.c

[v3 net-next 07/10] skbuff: move NAPI cache declarations upper in the file

2021-02-09 Thread Alexander Lobakin
NAPI cache structures will be used for allocating skbuff_heads, so move their declarations a bit upper. Signed-off-by: Alexander Lobakin --- net/core/skbuff.c | 90 +++ 1 file changed, 45 insertions(+), 45 deletions(-) diff --git a/net/core/skbuff.c b

[v3 net-next 10/10] skbuff: queue NAPI_MERGED_FREE skbs into NAPI cache instead of freeing

2021-02-09 Thread Alexander Lobakin
napi_frags_finish() and napi_skb_finish() can only be called inside NAPI Rx context, so we can feed NAPI cache with skbuff_heads that got NAPI_MERGED_FREE verdict instead of immediate freeing. Replace __kfree_skb() with __kfree_skb_defer() in napi_skb_finish() and move napi_skb_free_stolen_head() t

Re: [PATCH 1/2] rcuscale: add kfree_rcu() single-argument scale test

2021-02-09 Thread Uladzislau Rezki
On Thu, Feb 04, 2021 at 01:46:48PM -0800, Paul E. McKenney wrote: > On Fri, Jan 29, 2021 at 09:05:04PM +0100, Uladzislau Rezki (Sony) wrote: > > To stress and test a single argument of kfree_rcu() call, we > > should to have a special coverage for it. We used to have it > > in the test-suite relate

[v3 net-next 04/10] skbuff: simplify __alloc_skb() a bit

2021-02-09 Thread Alexander Lobakin
Use unlikely() annotations for skbuff_head and data similarly to the two other allocation functions and remove totally redundant goto. Signed-off-by: Alexander Lobakin --- net/core/skbuff.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/net/core/skbuff.c b/net/co

Pstore : Query on using ramoops driver for DDR

2021-02-09 Thread Mukesh Ojha
Hi All, Can we use existing backend pstore ram driver (fs/pstore/ram.c) for DDR instead of SRAM ? Was the current driver written only to support persistant RAM like SRAM or it can accept further change to support DDR, If we have a mechanism to copy stored data from DDR to external device after

[v3 net-next 01/10] skbuff: move __alloc_skb() next to the other skb allocation functions

2021-02-09 Thread Alexander Lobakin
In preparation before reusing several functions in all three skb allocation variants, move __alloc_skb() next to the __netdev_alloc_skb() and __napi_alloc_skb(). No functional changes. Signed-off-by: Alexander Lobakin --- net/core/skbuff.c | 284 +++--- 1

[v3 net-next 00/10] skbuff: introduce skbuff_heads bulking and reusing

2021-02-09 Thread Alexander Lobakin
Currently, all sorts of skb allocation always do allocate skbuff_heads one by one via kmem_cache_alloc(). On the other hand, we have percpu napi_alloc_cache to store skbuff_heads queued up for freeing and flush them by bulks. We can use this cache not only for bulk-wiping, but also to obtain heads

Re: [PATCH next v3 02/16] dt-bindings: usb: mediatek: fix yamllint check warning

2021-02-09 Thread Rob Herring
On Mon, Feb 01, 2021 at 03:00:02PM +0800, Chunfeng Yun wrote: > Fix warning: "too many spaces inside brackets" > > Signed-off-by: Chunfeng Yun > --- > v2~v3: no changes > --- > .../devicetree/bindings/usb/mediatek,mtk-xhci.yaml | 2 +- > Documentation/devicetree/bindings/usb/mediatek,mt

Re: [PATCH v17 00/10] mm: introduce memfd_secret system call to create "secret" memory areas

2021-02-09 Thread Michal Hocko
On Tue 09-02-21 17:17:22, David Hildenbrand wrote: > On 09.02.21 14:25, Michal Hocko wrote: > > On Tue 09-02-21 11:23:35, David Hildenbrand wrote: > > [...] > > > I am constantly trying to fight for making more stuff MOVABLE instead of > > > going into the other direction (e.g., because it's easier

Re: [PATCH] firmware: qcom_scm: Add MDM9607 compatible

2021-02-09 Thread Rob Herring
On Sun, Jan 31, 2021 at 02:30:57AM +0100, Konrad Dybcio wrote: > Add a compatible for MDM9607. It uses the "legacy" calling > convention. > > Signed-off-by: Konrad Dybcio > --- > Documentation/devicetree/bindings/firmware/qcom,scm.txt | 1 + > drivers/firmware/qcom_scm.c

Re: [v7 PATCH 04/12] mm: vmscan: remove memcg_shrinker_map_size

2021-02-09 Thread Roman Gushchin
On Tue, Feb 09, 2021 at 09:46:38AM -0800, Yang Shi wrote: > Both memcg_shrinker_map_size and shrinker_nr_max is maintained, but actually > the > map size can be calculated via shrinker_nr_max, so it seems unnecessary to > keep both. > Remove memcg_shrinker_map_size since shrinker_nr_max is also u

Re: [patch 11/12] softirq: Allow inlining do_softirq_own_stack()

2021-02-09 Thread Thomas Gleixner
Lai, On Fri, Feb 05 2021 at 12:38, Thomas Gleixner wrote: > On Fri, Feb 05 2021 at 18:14, Lai Jiangshan wrote: >> On Fri, Feb 5, 2021 at 10:04 AM Thomas Gleixner wrote: >>> static inline void do_softirq_own_stack(void) >>> { >> >> Hello >> >> This patch and the next patch have three "#if[n]def"

Re: [PATCH 1/3] dt-bindings: remoteproc: qcom: Add Q6V5 Modem PIL binding for IPQ6018

2021-02-09 Thread Rob Herring
On Fri, 29 Jan 2021 22:41:58 +0530, Gokul Sriram Palanisamy wrote: > Add a new modem compatible string for IPQ6018 SoCs > > Signed-off-by: Gokul Sriram Palanisamy > --- > Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt | 4 > 1 file changed, 4 insertions(+) > Acked-by: Rob Herr

Re: [PATCH v4 1/2] dt-bindings: nvmem: mediatek: add support for MediaTek mt8192 SoC

2021-02-09 Thread Rob Herring
On Mon, 01 Feb 2021 11:59:45 +0800, yz...@mediatek.com wrote: > From: Ryan Wu > > This updates dt-binding documentation for MediaTek mt8192 > > Signed-off-by: Ryan Wu > --- > This patch is based on v5.10-rc7. > --- > Documentation/devicetree/bindings/nvmem/mtk-efuse.txt | 1 + > 1 file changed

Re: [RFC][PATCH v6 1/7] drm: Add a sharable drm page-pool implementation

2021-02-09 Thread Daniel Vetter
On Tue, Feb 9, 2021 at 6:46 PM Christian König wrote: > > > > Am 09.02.21 um 18:33 schrieb Suren Baghdasaryan: > > On Tue, Feb 9, 2021 at 4:57 AM Christian König > > wrote: > >> Am 09.02.21 um 13:11 schrieb Christian König: > >>> [SNIP] > >> +void drm_page_pool_add(struct drm_page_pool *pool

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

2021-02-09 Thread John Hubbard
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., struct cma cma_areas) is static arrary so kobj->release function will be NULL or just dummy.

Re: [PATCH 07/11] x86/fault: Split the OOPS code out from no_context()

2021-02-09 Thread Andy Lutomirski
On Wed, Feb 3, 2021 at 10:56 AM Borislav Petkov wrote: > > On Sun, Jan 31, 2021 at 09:24:38AM -0800, Andy Lutomirski wrote: > > Not all callers of no_context() want to run exception fixups. > > Separate the OOPS code out from the fixup code in no_context(). > > > > Cc: Dave Hansen > > Cc: Peter Z

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

2021-02-09 Thread Guenter Roeck
tion of 'queued_spin_unlock' was here 94 | static __always_inline void queued_spin_unlock(struct qspinlock *lock) | ^~ Bisect log attached. Guenter --- # bad: [a4bfd8d46ac357c12529e4eebb6c89502b03ecc9] Add linux-next specific files for 20

Re: [PATCH net-next 5/9] net: phy: icplus: add IP101A/IP101G model detection

2021-02-09 Thread Heiner Kallweit
On 09.02.2021 17:40, Michael Walle wrote: > Unfortunately, the IP101A and IP101G share the same PHY identifier. > While most of the functions are somewhat backwards compatible, there is > for example the APS_EN bit on the IP101A but on the IP101G this bit > reserved. Also, the IP101G has many more

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

2021-02-09 Thread Vladimir Oltean
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 commit 57652796aa97 ("net: dsa: add support for bridge f

Re: [PATCH] soc: qcom: rpmpd: Add MDM9607 RPM Power Domains

2021-02-09 Thread Rob Herring
On Sun, 31 Jan 2021 02:32:32 +0100, Konrad Dybcio wrote: > This SoC while being from 8916 era, makes use of the > newer-style, floor-level management, instead of the older > floor-corner. > > Signed-off-by: Konrad Dybcio > --- > .../devicetree/bindings/power/qcom,rpmpd.yaml | 1 + > drivers/soc

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

2021-02-09 Thread Florian Fainelli
From: Johannes Weiner commit 739f79fc9db1b38f96b5a5109b247a650fbebf6d upstream Jaegeuk and Brad report a NULL pointer crash when writeback ending tries to update the memcg stats: BUG: unable to handle kernel NULL pointer dereference at 03b0 IP: test_clear_page_writeback+0x12

[PATCH v5 3/8] arm64: dts: rockchip: optimize clks for rk3399 dwc3

2021-02-09 Thread Johan Jonker
From: Wu Liang feng Remove unnecessary clocks, refer to rk3399 TRM, aclk_usb3 is the parent of aclk_usb3otg0/1 and aclk_usb3_grf, and we will enable aclk_usb3otg0/1 and aclk_usb3_grf, so don't need to enable aclk_usb3 again. In addition, the aclk_usb3_rksoc_axi_perf clk is used for usb3 performan

Re: [PATCH v3 7/8] mm: memcontrol: consolidate lruvec stat flushing

2021-02-09 Thread Roman Gushchin
On Tue, Feb 09, 2021 at 11:33:03AM -0500, Johannes Weiner wrote: > There are two functions to flush the per-cpu data of an lruvec into > the rest of the cgroup tree: when the cgroup is being freed, and when > a CPU disappears during hotplug. The difference is whether all CPUs or > just one is being

Re: [PATCH v3 1/8] mm: Cleanup faultaround and finish_fault() codepaths

2021-02-09 Thread Guenter Roeck
--- > 5 files changed, 213 insertions(+), 192 deletions(-) > When building microblaze:mmu_defconfig: mm/filemap.c: In function 'filemap_map_pages': mm/filemap.c:3153:3: error: implicit declaration of function 'update_mmu_cache'; did you mean 'update_mmu_tlb'?

Re: [PATCH v2 2/2] drivers/clocksource: Fixup csky,mptimer compile error with CPU_CK610

2021-02-09 Thread Daniel Lezcano
On 09/02/2021 17:02, Guo Ren wrote: > Hi Daniel, > > On Sun, Feb 7, 2021 at 5:29 PM Daniel Lezcano > wrote: >> >> On 07/02/2021 04:31, Guo Ren wrote: >>> Hi Daniel, >>> >>> On Thu, Feb 4, 2021 at 4:48 PM Daniel Lezcano >>> wrote: On 04/02/2021 08:46, guo...@kernel.org wrote: > Fr

[PATCH v5 2/8] usb: dwc3: of-simple: bail probe if no dwc3 child node

2021-02-09 Thread Johan Jonker
For some of the dwc3-of-simple compatible SoCs we don't want to bind this driver to a dwc3 node, but bind that node to the 'snps,dwc3' driver instead. The kernel has no logic to decide which driver to bind to if there are 2 matching drivers, so bail probe if no dwc3 child node. Signed-off-by: Joha

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

2021-02-09 Thread Matthew Wilcox
On Tue, Feb 09, 2021 at 11:06:41AM -0800, Linus Torvalds wrote: > So I'm looking at this early, because I have more time now than I will > have during the merge window, and honestly, your pull requests have > been problematic in the past. Thanks for looking at this early. > The PG_fscache bit wai

[PATCH RFC 6/6] btrfs: Add roundrobin raid1 read policy

2021-02-09 Thread Michal Rostecki
From: Michal Rostecki Add a new raid1 read policy `roundrobin`. For each read request, it selects the mirror which has lower load than queue depth and it starts iterating from the last used mirror (by the current CPU). Load is defined as the number of inflight requests + a potential penalty value

[PATCH RFC 5/6] btrfs: sysfs: Add directory for read policies

2021-02-09 Thread Michal Rostecki
From: Michal Rostecki Before this change, raid1 read policy could be selected by using the /sys/fs/btrfs/[fsid]/read_policy file. Change it to /sys/fs/btrfs/[fsid]/read_policies/policy. The motivation behing creating the read_policies directory is that the next changes and new read policies are

[PATCH net-next v3 2/5] bridge: mrp: Add 'enum br_mrp_hw_support'

2021-02-09 Thread Horatiu Vultur
Add the enum br_mrp_hw_support that is used by the br_mrp_switchdev functions to allow the SW to detect the cases where HW can't implement the functionality or when SW is used as a backup. Signed-off-by: Horatiu Vultur --- net/bridge/br_private_mrp.h | 14 ++ 1 file changed, 14 inser

[PATCH net-next v3 5/5] net: mscc: ocelot: Add support for MRP

2021-02-09 Thread Horatiu Vultur
Add basic support for MRP. The HW will just trap all MRP frames on the ring ports to CPU and allow the SW to process them. In this way it is possible to for this node to behave both as MRM and MRC. Current limitations are: - it doesn't support Interconnect roles. - it supports only a single ring.

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

2021-02-09 Thread Richard Weinberger
Miklos, - Ursprüngliche Mail - >> I do wonder if MUSE should go to drivers/mtd/ instead. Long term >> goal would be move CUSE to drivers/char and move the transport part of >> fuse into net/fuse leaving only the actual filesystems (fuse and >> virtiofs) under fs/. >> >> But for now just

[PATCH net-next v3 0/5] bridge: mrp: Extend br_mrp_switchdev_*

2021-02-09 Thread Horatiu Vultur
This patch series extends MRP switchdev to allow the SW to have a better understanding if the HW can implement the MRP functionality or it needs to help the HW to run it. There are 3 cases: - when HW can't implement at all the functionality. - when HW can implement a part of the functionality but n

[PATCH RFC 1/6] btrfs: Add inflight BIO request counter

2021-02-09 Thread Michal Rostecki
From: Michal Rostecki Add a per-CPU inflight BIO counter to btrfs_device which stores the number of requests currently processed by the device. This information is going to be used in roundrobin raid1 read policy. Signed-off-by: Michal Rostecki --- fs/btrfs/volumes.c | 11 +-- fs/btrfs

[PATCH RFC 3/6] btrfs: Add stripe_physical function

2021-02-09 Thread Michal Rostecki
From: Michal Rostecki Move the calculation of the physical address for a stripe to the new function - stripe_physical(). It can be used by raid1 read policies to calculate the offset and select mirrors based on I/O locality. Signed-off-by: Michal Rostecki --- fs/btrfs/volumes.c | 22 ++

Re: [PATCH 1/2] dt-bindings: phy-imx8mq-usb: add reset-gpios property

2021-02-09 Thread Rob Herring
On Thu, Jan 28, 2021 at 11:12:54PM +0100, Adrien Grassein wrote: > Add an optional GPIO in the dtb description that will > be used to reset the connected hub (if any). > > Signed-off-by: Adrien Grassein > --- > Documentation/devicetree/bindings/phy/fsl,imx8mq-usb-phy.txt | 1 + > 1 file changed,

[PATCH net-next v3 4/5] bridge: mrp: Update br_mrp to use new return values of br_mrp_switchdev

2021-02-09 Thread Horatiu Vultur
Check the return values of the br_mrp_switchdev function. In case of: - BR_MRP_NONE, return the error to userspace, - BR_MRP_SW, continue with SW implementation, - BR_MRP_HW, continue without SW implementation, Signed-off-by: Horatiu Vultur --- net/bridge/br_mrp.c | 43 ++

Re: [v7 PATCH 03/12] mm: vmscan: use shrinker_rwsem to protect shrinker_maps allocation

2021-02-09 Thread Roman Gushchin
On Tue, Feb 09, 2021 at 09:46:37AM -0800, Yang Shi wrote: > Since memcg_shrinker_map_size just can be changed under holding shrinker_rwsem > exclusively, the read side can be protected by holding read lock, so it sounds > superfluous to have a dedicated mutex. > > Kirill Tkhai suggested use write

Re: [RESEND PATCH v3 2/2] usb: dwc3: Add driver for Xilinx platforms

2021-02-09 Thread Michael Grzeschik
Hi Manish, On Tue, Feb 09, 2021 at 06:01:58AM +, Manish Narani wrote: Hi Michael, -Original Message- From: Michael Grzeschik Sent: Tuesday, February 9, 2021 5:26 AM To: Manish Narani Cc: devicet...@vger.kernel.org; p.za...@pengutronix.de; ba...@kernel.org; gre...@linuxfoundation.

Re: [RFC][PATCH v6 1/7] drm: Add a sharable drm page-pool implementation

2021-02-09 Thread Suren Baghdasaryan
On Tue, Feb 9, 2021 at 12:03 PM Daniel Vetter wrote: > > On Tue, Feb 9, 2021 at 6:46 PM Christian König > wrote: > > > > > > > > Am 09.02.21 um 18:33 schrieb Suren Baghdasaryan: > > > On Tue, Feb 9, 2021 at 4:57 AM Christian König > > > wrote: > > >> Am 09.02.21 um 13:11 schrieb Christian Köni

[PATCH net-next v3 1/5] switchdev: mrp: Extend ring_role_mrp and in_role_mrp

2021-02-09 Thread Horatiu Vultur
Add the member sw_backup to the structures switchdev_obj_ring_role_mrp and switchdev_obj_in_role_mrp. In this way the SW can call the driver in 2 ways, once when sw_backup is set to false, meaning that the driver should implement this completely in HW. And if that is not supported the SW will call

[PATCH RFC 4/6] btrfs: Check if the filesystem is has mixed type of devices

2021-02-09 Thread Michal Rostecki
From: Michal Rostecki Add the btrfs_check_mixed() function which checks if the filesystem has the mixed type of devices (non-rotational and rotational). This information is going to be used in roundrobin raid1 read policy. Signed-off-by: Michal Rostecki --- fs/btrfs/volumes.c | 44

[PATCH RFC 2/6] btrfs: Store the last device I/O offset

2021-02-09 Thread Michal Rostecki
From: Michal Rostecki Add an atomic field which stores the physical offset of the last I/O operation scheduled to the device. This information is going to be used to measure the locality of I/O requests. Signed-off-by: Michal Rostecki --- fs/btrfs/volumes.c | 4 fs/btrfs/volumes.h | 1 +

[PATCH RFC 0/6] Add roundrobin raid1 read policy

2021-02-09 Thread Michal Rostecki
From: Michal Rostecki This patch series adds a new raid1 read policy - roundrobin. For each request, it selects the mirror which has lower load than queue depth. Load is defined as the number of inflight requests + a penalty value (if the scheduled request is not local to the last processed requ

[PATCH net-next v3 3/5] bridge: mrp: Extend br_mrp_switchdev to detect better the errors

2021-02-09 Thread Horatiu Vultur
This patch extends the br_mrp_switchdev functions to be able to have a better understanding what cause the issue and if the SW needs to be used as a backup. There are the following cases: - when the code is compiled without CONFIG_NET_SWITCHDEV. In this case return success so the SW can continue

Re: [PATCH v2 net-next 03/11] net: bridge: don't print in br_switchdev_set_port_flag

2021-02-09 Thread Ido Schimmel
On Tue, Feb 09, 2021 at 07:36:31PM +0200, Vladimir Oltean wrote: > On Tue, Feb 09, 2021 at 05:19:28PM +0200, Vladimir Oltean wrote: > > From: Vladimir Oltean > > > > Currently br_switchdev_set_port_flag has two options for error handling > > and neither is good: > > - The driver returns -EOPNOTSUP

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

2021-02-09 Thread Roman Gushchin
On Tue, Feb 09, 2021 at 02:01:26PM -0500, 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 t

[PATCH RFC 1/2] thermal: qcom: tsens-v1: Add support for MSM8994 TSENS

2021-02-09 Thread Konrad Dybcio
MSM8994, despite being heavily based on MSM8974, uses the 1.2 version of TSENS. Also, 8994 being 8994, it has a custom way of calculating the slope. Also tested on 8976 (by a person who didn't want to be named) to make sure the 11->16 max_sensors changes didn't break anything. Signed-off-by: Konr

Re: [PATCH v2] staging: gdm724x: Fix DMA from stack

2021-02-09 Thread Greg KH
On Wed, Feb 10, 2021 at 01:01:47AM +0530, ameynarkhed...@gmail.com wrote: > From: Amey Narkhede > > Stack allocated buffers cannot be used for DMA > on all architectures so allocate hci_packet buffer > using kzalloc(). > > Signed-off-by: Amey Narkhede > --- > drivers/staging/gdm724x/gdm_usb.c

Re: [PATCH 5.10 051/120] memblock: do not start bottom-up allocations with kernel_end

2021-02-09 Thread Greg Kroah-Hartman
On Tue, Feb 09, 2021 at 12:07:57PM -0300, Thiago Jung Bauermann wrote: > > Greg Kroah-Hartman writes: > > > From: Roman Gushchin > > > > [ Upstream commit 2dcb3964544177c51853a210b6ad400de78ef17d ] > > > > With kaslr the kernel image is placed at a random place, so starting the > > bottom-up al

Re: [bug] 5.11-rc5 brought page allocation failure issue [ttm][amdgpu]

2021-02-09 Thread Mikhail Gavrilov
On Mon, 8 Feb 2021 at 14:18, Christian König wrote: > > Are the other problems gone as well? > And yes and no. The issue with monitor turns off was gone after rc6 (git3aaf0a27ffc2) But both traces 1) BUG: sleeping function called from invalid context at include/linux/sched/mm.h:196 (kernel 5.11 s

Re: [PATCH] staging: gdm724x: Fix DMA from stack

2021-02-09 Thread Amey Narkhede
On 21/02/09 06:40PM, Greg KH wrote: > On Tue, Feb 09, 2021 at 08:24:15PM +0530, ameynarkhed...@gmail.com wrote: > > From: Amey Narkhede > > > > Stack allocated buffers cannot be used for DMA > > on all architectures so allocate usbdev buffer > > using kmalloc(). > > > > Signed-off-by: Amey Narkhed

[PATCH v6 0/2] powerpc/32: Implement C syscall entry/exit (complement)

2021-02-09 Thread Christophe Leroy
This series implements C syscall entry/exit for PPC32. It reuses the work already done for PPC64. This series is based on today's next-test (f538b53fd47a) where main patchs from v5 are merged in. The first patch is important for performance. v6: - Forced scv param to 0 on syscall_exit_prepare()

[PATCH 1/1] s390/vfio-ap: fix circular lockdep when setting/clearing crypto masks

2021-02-09 Thread Tony Krowiak
This patch fixes a circular locking dependency in the CI introduced by commit f21916ec4826 ("s390/vfio-ap: clean up vfio_ap resources when KVM pointer invalidated"). The lockdep only occurs when starting a Secure Execution guest. Crypto virtualization (vfio_ap) is not yet supported for SE guests; h

[PATCH 0/1] fix circular lockdep when staring SE guest

2021-02-09 Thread Tony Krowiak
Patch f21916ec4826 ("s390/vfio-ap: clean up vfio_ap resources when KVM pointer invalidated") introduced a change that results in a circular locking dependency when a Secure Execution guest that is configured with crypto devices is started. The problem resulted due to the fact that the patch moved t

[PATCH v6 2/2] powerpc/32: Handle bookE debugging in C in syscall entry/exit

2021-02-09 Thread Christophe Leroy
The handling of SPRN_DBCR0 and other registers can easily be done in C instead of ASM. For that, create booke_load_dbcr0() and booke_restore_dbcr0(). Signed-off-by: Christophe Leroy --- v5: New v6: Refactor into helpers --- arch/powerpc/include/asm/interrupt.h | 12 arch/powerpc/includ

[PATCH v6 1/2] powerpc/syscall: Do not check unsupported scv vector on PPC32

2021-02-09 Thread Christophe Leroy
Only book3s/64 has scv. No need to check the 0x7ff0 trap on 32 or 64e. For that, add a helper trap_is_unsupported_scv() similar to trap_is_scv(). And ignore the scv parameter in syscall_exit_prepare (Save 14 cycles 346 => 332 cycles) Signed-off-by: Christophe Leroy --- v5: Added a helper trap_is

Re: [PATCH net-next] net: phy: drop explicit genphy_read_status() op

2021-02-09 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Tue, 9 Feb 2021 02:00:18 +0100 you wrote: > genphy_read_status() is already the default for the .read_status() op. > Drop the unnecessary references. > > Signed-off-by: Michael Walle > --- > drivers/net/phy/marvell.c

Re: [PATCH net-next v2] net: phy: broadcom: remove BCM5482 1000Base-BX support

2021-02-09 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Tue, 9 Feb 2021 00:17:06 +0100 you wrote: > It is nowhere used in the kernel. It also seems to be lacking the > proper fiber advertise flags. Remove it. > > Signed-off-by: Michael Walle > Acked-by: Florian Fainelli >

Re: [PATCH v1] clang_tools:gen_compile_commands: Change the default source directory

2021-02-09 Thread Nathan Chancellor
On Tue, Feb 09, 2021 at 09:56:20PM +0800, Stephen Zhang wrote: > Nathan Chancellor 于2021年2月9日周二 上午3:54写道: > > > On Mon, Feb 08, 2021 at 07:28:57PM +0800, Stephen Zhang wrote: > > > The default source directory is set equal to build directory which > > > specified by "-d".But it is designed to be

Re: [GIT PULL 2/3] ARM: dts: samsung: DTS for v5.12

2021-02-09 Thread Frank Rowand
On 2/6/21 8:35 AM, Arnd Bergmann wrote: > On Sat, Feb 6, 2021 at 2:45 PM Krzysztof Kozlowski wrote: >> On Mon, Jan 25, 2021 at 08:12:39PM +0100, Krzysztof Kozlowski wrote: >>> >>> >>> Samsung DTS ARM changes for v5.12 >>> >>> 1. Use

Re: [PATCH v1] mm, hwpoison: enable error handling on shmem thp

2021-02-09 Thread Andrew Morton
On Tue, 9 Feb 2021 15:21:28 +0900 Naoya Horiguchi wrote: > Currently hwpoison code checks PageAnon() for thp and refuses to handle > errors on non-anonymous thps (just for historical reason). We now > support non-anonymou thp like shmem one, so this patch suggests to enable > to handle shmem t

(Abschließende Mitteilung für die Zahlung)

2021-02-09 Thread El gordo de la Primitiva Lotterie Spanien
El Gordo de la primitiva lotterie spanien Adresse:Calle del Príncipe de Vergara, 38, 28001 Madrid España] Kontakt aufnehmen unter:] 34602 810 185 fax 34935457490] E-mail:]consultants24...@consultant.com] Aktenzeichen:]P09/01/02/2021.] Losnummer:] ESP 4447/114641188020

[PATCH v2 1/2] dma-buf: dma-heap: Provide accessor to get heap name

2021-02-09 Thread John Stultz
It can be useful to access the name for the heap, so provide an accessor to do so. Cc: Daniel Vetter Cc: Sumit Semwal Cc: Liam Mark Cc: Chris Goldsworthy Cc: Laura Abbott Cc: Brian Starkey Cc: Hridya Valsaraju Cc: Suren Baghdasaryan Cc: Sandeep Patil Cc: Daniel Mentz Cc: Ørjan Eide Cc:

[PATCH v2 2/2] dma-buf: heaps: Fix the name used when exporting dmabufs to be the actual heap name

2021-02-09 Thread John Stultz
By default dma_buf_export() sets the exporter name to be KBUILD_MODNAME. Unfortunately this may not be identical to the string used as the heap name (ie: "system" vs "system_heap"). This can cause some minor confusion with tooling, and there is the future potential where multiple heap types may be

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

2021-02-09 Thread Jeff Layton
On Tue, 2021-02-09 at 11:06 -0800, Linus Torvalds wrote: > So I'm looking at this early, because I have more time now than I will > have during the merge window, and honestly, your pull requests have > been problematic in the past. > > The PG_fscache bit waiting functions are completely crazy. The

[PATCH v3] thermal: qcom: tsens-v0_1: Add support for MDM9607

2021-02-09 Thread Konrad Dybcio
MDM9607 TSENS IP is very similar to the one of MSM8916, with minor adjustments to various tuning values. Signed-off-by: Konrad Dybcio Acked-by: Rob Herring --- Changes since v2: - Address Bjorn's comments (remove redundant variable and kfree) .../bindings/thermal/qcom-tsens.yaml | 2

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 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 >> clang (v10 or older) do not put the variables in the common section. >> Skip "initialise globals to 0" check for

Re: [PATCH] drm/amd/display: Simplify bool comparison

2021-02-09 Thread Alex Deucher
Applied. Thanks! Alex On Mon, Feb 8, 2021 at 5:29 AM Jiapeng Chong wrote: > > Fix the following coccicheck warning: > > ./drivers/gpu/drm/amd/display/dc/inc/hw/clk_mgr_internal.h:319:11-23: > WARNING: Comparison to bool. > > Reported-by: Abaci Robot > Signed-off-by: Jiapeng Chong > --- > dri

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