Re: [PATCH v2] usb: cdnsp: Fixes issue with Configure Endpoint command

2021-04-09 Thread Peter Chen
On 21-04-07 08:36:29, Pawel Laszczak wrote: > From: Pawel Laszczak > > Patch adds flag EP_UNCONFIGURED to detect whether endpoint was > unconfigured. This flag is set in cdnsp_reset_device after Reset Device > command. Among others this command disables all non control endpoints. > Flag is used

Re: [PATCH] usb: cdns3: Fix rumtime PM imbalance on error

2021-04-09 Thread Peter Chen
On 21-04-07 13:22:26, Dinghao Liu wrote: > When cdns3_gadget_start() fails, a pairing PM usage counter > decrement is needed to keep the counter balanced. > > Signed-off-by: Dinghao Liu > --- > drivers/usb/cdns3/cdns3-gadget.c | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > >

Re: [PATCH for vm-scalability] usemem: Add code for touch-alloc

2021-04-09 Thread Wu Fengguang
Applied, thanks! On Thu, Apr 08, 2021 at 09:42:55PM +0800, Hui Zhu wrote: Add code for touch-alloc. And Change read memory to write memory to avoid use the zero-page for reads in do_anonymous_page. Signed-off-by: Hui Zhu --- usemem.c | 34 ++ 1 file changed, 22

[PATCH v1] libnvdimm, dax: Fix a missing check in nd_dax_probe()

2021-04-09 Thread wangyingjie55
From: Yingjie Wang In nd_dax_probe(), nd_dax_alloc() may fail and return NULL. Check for NULL before attempting to use nd_dax to avoid a NULL pointer dereference. Fixes: c5ed9268643c ("libnvdimm, dax: autodetect support") Signed-off-by: Yingjie Wang --- drivers/nvdimm/dax_devs.c | 2 ++ 1

Re: [PATCH 5.10 00/41] 5.10.29-rc1 review

2021-04-09 Thread Samuel Zou
On 2021/4/9 17:53, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 5.10.29 release. There are 41 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

[PATCH v2 2/3] dt-bindings: mfd: pm8008: Add bindings

2021-04-09 Thread Guru Das Srinagesh
Add bindings for the Qualcomm Technologies, Inc. PM8008 MFD driver. Signed-off-by: Guru Das Srinagesh --- .../devicetree/bindings/mfd/qcom,pm8008.yaml | 119 + 1 file changed, 119 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml

Re: [PATCH 5.4 00/23] 5.4.111-rc1 review

2021-04-09 Thread Samuel Zou
On 2021/4/9 17:53, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 5.4.111 release. There are 23 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

[PATCH v2 1/3] dt-bindings: mfd: pm8008: Add IRQ listing

2021-04-09 Thread Guru Das Srinagesh
Add a header file listing all of the IRQs that Qualcomm Technologies, Inc. PM8008 supports. The constants defined in this file may be used in the client device tree node to specify interrupts. Reviewed-by: Bjorn Andersson Signed-off-by: Guru Das Srinagesh ---

[PATCH v2 0/3] Add Qualcomm Technologies, Inc. PM8008 MFD driver

2021-04-09 Thread Guru Das Srinagesh
Changes from v1: - Removed errant Change-Id from dt-bindings IRQ patch and gathered Bjorn's Reviewed-by - Fixed up YAML errors using make dt_binding_check This driver is dependent on changes that have been made to the regmap-irq framework that have currently been accepted [1][2] in

[PATCH v2 3/3] mfd: pm8008: Add driver for QCOM PM8008 PMIC

2021-04-09 Thread Guru Das Srinagesh
Qualcomm Technologies, Inc. PM8008 is a dedicated camera PMIC that integrates all the necessary power management, housekeeping, and interface support functions into a single IC. Its key features include overtemperature protection, low-dropout linear regulators, GPIOs, and an I2C interface. Add an

Re: [PATCH v3] ext4: Fix ext4_error_err save negative errno into superblock

2021-04-09 Thread Theodore Ts'o
On Tue, Apr 06, 2021 at 10:53:31AM +0800, Ye Bin wrote: > As write_mmp_block return 1 when buffer isn't uptodate, return -EIO is > more appropriate. > > Fixes: 54d3adbc29f0 ("ext4: save all error info in save_error_info() and drop > ext4_set_errno()") > Reported-by: Liu Zhi Qiang >

Re: [PATCH net-next 2/3] net: use skb_for_each_frag() helper where possible

2021-04-09 Thread Matteo Croce
On Fri, Apr 9, 2021 at 11:28 PM Jakub Kicinski wrote: > > On Fri, 9 Apr 2021 22:44:50 +0200 Matteo Croce wrote: > > > What pops to mind (although quite nit picky) is the question if the > > > assembly changes much between driver which used to cache nr_frags and > > > now always going

Re: [PATCH net-next v2 1/1] net: stmmac: Add support for external trigger timestamping

2021-04-09 Thread Jakub Kicinski
Other than the minor nit below LGTM. Let's give Richard one more day. On Thu, 8 Apr 2021 01:04:42 +0800 Wong Vee Khee wrote: > +static void timestamp_interrupt(struct stmmac_priv *priv) > +{ > + struct ptp_clock_event event; > + unsigned long flags; > + u32 num_snapshot; > + u32

Re: [RFC PATCH v2 09/18] mm: vmscan: remove noinline_for_stack

2021-04-09 Thread Roman Gushchin
On Fri, Apr 09, 2021 at 08:29:50PM +0800, Muchun Song wrote: > The noinline_for_stack is introduced by commit 666356297ec4 ("vmscan: > set up pagevec as late as possible in shrink_inactive_list()"), its > purpose is to delay the allocation of pagevec as late as possible to > save stack memory. But

Re: [PATCH v1 1/1] gpiolib: Read "gpio-line-names" from a firmware node

2021-04-09 Thread Marek Vasut
On 3/15/21 6:04 PM, Andy Shevchenko wrote: On Mon, Mar 15, 2021 at 6:49 PM Bartosz Golaszewski wrote: On Mon, Mar 15, 2021 at 3:34 PM Andy Shevchenko wrote: On Mon, Mar 15, 2021 at 03:04:37PM +0100, Bartosz Golaszewski wrote: On Mon, Mar 15, 2021 at 1:50 PM Andy Shevchenko wrote: On

Re: [PATCH net-next] cxgb4: remove unneeded if-null-free check

2021-04-09 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Fri, 9 Apr 2021 19:53:39 +0800 you wrote: > Eliminate the following coccicheck warning: > > drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c:529:3-9: WARNING: > NULL check before some freeing functions is not needed.

Re: [PATCH net-next v3 3/5] page_pool: Allow drivers to hint on SKB recycling

2021-04-09 Thread Matteo Croce
On Sat, Apr 10, 2021 at 2:11 AM Ilias Apalodimas wrote: > > Hi Matteo, > > [...] > > +bool page_pool_return_skb_page(void *data); > > + > > struct page_pool *page_pool_create(const struct page_pool_params *params); > > > > #ifdef CONFIG_PAGE_POOL > > @@ -243,4 +247,13 @@ static inline void

Re: [PATCH v4] powerpc/traps: Enhance readability for trap types

2021-04-09 Thread Nicholas Piggin
Thanks for working on this, I think it's a nice cleanup and helps non-powerpc people understand the code a bit better. Excerpts from Xiongwei Song's message of April 10, 2021 12:28 am: > From: Xiongwei Song > > Create a new header named traps.h, define macros to list ppc interrupt > types in

Re: [RFC PATCH v5 0/4] add simple copy support

2021-04-09 Thread Chaitanya Kulkarni
On 4/9/21 17:22, Max Gurtovoy wrote: > On 2/19/2021 2:45 PM, SelvaKumar S wrote: >> This patchset tries to add support for TP4065a ("Simple Copy Command"), >> v2020.05.04 ("Ratified") >> >> The Specification can be found in following link. >>

Re: [PATCH net-next 2/3] net: use skb_for_each_frag() helper where possible

2021-04-09 Thread kernel test robot
Hi Matteo, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on net-next/master] url: https://github.com/0day-ci/linux/commits/Matteo-Croce/introduce-skb_for_each_frag/20210410-020828 base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git

Re: [RFC PATCH v5 0/4] add simple copy support

2021-04-09 Thread Max Gurtovoy
On 2/19/2021 2:45 PM, SelvaKumar S wrote: This patchset tries to add support for TP4065a ("Simple Copy Command"), v2020.05.04 ("Ratified") The Specification can be found in following link. https://nvmexpress.org/wp-content/uploads/NVM-Express-1.4-Ratified-TPs-1.zip Simple copy command is a

Re: [GIT PULL] perf tools fixes for v5.12: 3rd batch

2021-04-09 Thread pr-tracker-bot
The pull request you sent on Fri, 9 Apr 2021 15:37:44 -0300: > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git > tags/perf-tools-fixes-for-v5.12-2020-04-09 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/9288e1f7d396b7702649d78f2c711c3e0020c71d Thank

[PATCH] staging: rtl8192e: remove unnecesasry f-trace like logging

2021-04-09 Thread Mitali Borkar
Fixed Check: Remove unnecessary f-trace like logging by simply deleting that statement as we have other modes of logging like ftrace. Reported by checkpatch. Signed-off-by: Mitali Borkar --- drivers/staging/rtl8192e/rtl819x_TSProc.c | 1 - 1 file changed, 1 deletion(-) diff --git

Re: [PATCH net-next v3 3/5] page_pool: Allow drivers to hint on SKB recycling

2021-04-09 Thread Ilias Apalodimas
Hi Matteo, [...] > +bool page_pool_return_skb_page(void *data); > + > struct page_pool *page_pool_create(const struct page_pool_params *params); > > #ifdef CONFIG_PAGE_POOL > @@ -243,4 +247,13 @@ static inline void page_pool_ring_unlock(struct > page_pool *pool) >

[tip:x86/urgent] BUILD SUCCESS 632a1c209b8773cb0119fe3aada9f1db14fa357c

2021-04-09 Thread kernel test robot
defconfig i386defconfig mips allmodconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a006-20210409

[tip:master] BUILD SUCCESS aa886e839b9d95a3384dd1322211f67208762ea4

2021-04-09 Thread kernel test robot
allyesconfig mips allmodconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a006-20210409 i386 randconfig-a003-20210409 i386

Re: [PATCH] pinctrl: at91-pio4: Fix slew rate disablement

2021-04-09 Thread Linus Walleij
On Fri, Apr 9, 2021 at 10:25 AM Tudor Ambarus wrote: > The slew rate was enabled by default for each configuration of the > pin. In case the pin had more than one configuration, even if > we set the slew rate as disabled in the device tree, the next pin > configuration would set again the slew

Re: [PATCH v3][next] xfs: Replace one-element arrays with flexible-array members

2021-04-09 Thread Gustavo A. R. Silva
Hi! On 4/9/21 01:54, Gustavo A. R. Silva wrote: > > Hi! > > I think I might have caught the issue: > > diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c > index e5e0713bebcd8..9231457371100 100644 > --- a/fs/xfs/xfs_super.c > +++ b/fs/xfs/xfs_super.c > @@ -1937,17 +1937,17 @@

Re: [PATCH] pinctrl: samsung: use 'int' for register masks in Exynos

2021-04-09 Thread Linus Walleij
On Thu, Apr 8, 2021 at 9:50 PM Krzysztof Kozlowski wrote: > The Special Function Registers on all Exynos SoC, including ARM64, are > 32-bit wide, so entire driver uses matching functions like readl() or > writel(). On 64-bit ARM using unsigned long for register masks: > 1. makes little sense as

Re: [PATCH v3] powerpc/traps: Enhance readability for trap types

2021-04-09 Thread Michael Ellerman
Christophe Leroy writes: > Le 08/04/2021 à 16:07, Xiongwei Song a écrit : >> From: Xiongwei Song >> >> Create a new header named traps.h, define macros to list ppc interrupt >> types in traps.h, replace the reference of the trap hex values with these >> macros. ... >> diff --git

[tip:locking/core] BUILD SUCCESS 9432bbd969c667fc9c4b1c140c5a745ff2a7b540

2021-04-09 Thread kernel test robot
-a006-20210409 i386 randconfig-a003-20210409 i386 randconfig-a001-20210409 i386 randconfig-a004-20210409 i386 randconfig-a002-20210409 i386 randconfig-a005-20210409 x86_64 randconfig-a014-20210409 x86_64

[syzbot] INFO: task hung in n_tty_read (2)

2021-04-09 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:454c576c Add linux-next specific files for 20210401 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=113432a1d0 kernel config: https://syzkaller.appspot.com/x/.config?x=920cc274cae812a5 dashboard

Re: [PATCH v24 22/30] x86/cet/shstk: Add user-mode shadow stack support

2021-04-09 Thread Yu, Yu-cheng
On 4/9/2021 8:57 AM, Kirill A. Shutemov wrote: On Thu, Apr 01, 2021 at 03:10:56PM -0700, Yu-cheng Yu wrote: Introduce basic shadow stack enabling/disabling/allocation routines. A task's shadow stack is allocated from memory with VM_SHADOW_STACK flag and has a fixed size of min(RLIMIT_STACK,

Re: [PATCH] nfc: pn533: remove redundant assignment

2021-04-09 Thread Jakub Kicinski
On Fri, 9 Apr 2021 19:50:09 +0800 samirweng1979 wrote: > From: wengjianfeng > > In many places,first assign a value to a variable and then return > the variable. which is redundant, we should directly return the value. > in pn533_rf_field funciton,return statement in the if statement is >

[PATCH] staging: rtl8192e: replace comparison to NULL by bool

2021-04-09 Thread Mitali Borkar
Fixed Comparison to NULL can be written as '!...' by replacing it with simpler form i.e boolean expression. This makes code more readable alternative. Reported by checkpatch. Signed-off-by: Mitali Borkar --- drivers/staging/rtl8192e/rtl819x_TSProc.c | 6 +++--- 1 file changed, 3 insertions(+),

[PATCH v1] pata_ipx4xx_cf: Fix unsigned comparison with less than zero

2021-04-09 Thread angkery
From: Junlin Yang The return from the call to platform_get_irq() is int, it can be a negative error code, however this is being assigned to an unsigned int variable 'irq', so making 'irq' an int, and change the position to keep the code format. Fixes coccicheck warnings:

Re: [PATCH] pata_ipx4xx_cf: Fix unsigned comparison with less than zero

2021-04-09 Thread angkery
On Fri, 9 Apr 2021 20:02:56 +0300 Sergei Shtylyov wrote: > On 4/9/21 7:49 PM, Sergei Shtylyov wrote: > > >> From: Junlin Yang > >> > >> The return from the call to platform_get_irq() is int, it can be > >> a negative error code, however this is being assigned to an > >> unsigned int variable

Re: [PATCH] crypto: arm/curve25519 - Move '.fpu' after '.arch'

2021-04-09 Thread Nick Desaulniers
On Fri, Apr 9, 2021 at 3:12 PM Nathan Chancellor wrote: > > Debian's clang carries a patch that makes the default FPU mode > 'vfp3-d16' instead of 'neon' for 'armv7-a' to avoid generating NEON > instructions on hardware that does not support them: > >

Re: [RFC PATCH v1 00/11] Manage the top tier memory in a tiered memory

2021-04-09 Thread Tim Chen
On 4/8/21 4:52 AM, Michal Hocko wrote: >> The top tier memory used is reported in >> >> memory.toptier_usage_in_bytes >> >> The amount of top tier memory usable by each cgroup without >> triggering page reclaim is controlled by the >> >> memory.toptier_soft_limit_in_bytes > Michal, Thanks

Re: [PATCH] hwmon: (dell-smm) Add Dell Latitude 7440 to fan control whitelist

2021-04-09 Thread Guenter Roeck
On Tue, Mar 30, 2021 at 07:02:55PM +0200, Sebastian Oechsle wrote: > Allow manual PWM control on Dell Latitude 7440. > > Signed-off-by: Sebastian Oechsle > This patch is corrupt, to the point where it doesn't show up in hwmon patchwork. I just happened to find it,

[PATCH 5/5] mm/memcg: Optimize user context object stock access

2021-04-09 Thread Waiman Long
Most kmem_cache_alloc() calls are from user context. With instrumentation enabled, the measured amount of kmem_cache_alloc() calls from non-task context was about 0.01% of the total. The irq disable/enable sequence used in this case to access content from object stock is slow. To optimize for

[PATCH 4/5] mm/memcg: Separate out object stock data into its own struct

2021-04-09 Thread Waiman Long
The object stock data stored in struct memcg_stock_pcp are independent of the other page based data stored there. Separating them out into their own struct to highlight the independency. Signed-off-by: Waiman Long --- mm/memcontrol.c | 41 ++--- 1 file

[PATCH 3/5] mm/memcg: Cache vmstat data in percpu memcg_stock_pcp

2021-04-09 Thread Waiman Long
Before the new slab memory controller with per object byte charging, charging and vmstat data update happen only when new slab pages are allocated or freed. Now they are done with every kmem_cache_alloc() and kmem_cache_free(). This causes additional overhead for workloads that generate a lot of

[PATCH 2/5] mm/memcg: Introduce obj_cgroup_uncharge_mod_state()

2021-04-09 Thread Waiman Long
In memcg_slab_free_hook()/pcpu_memcg_free_hook(), obj_cgroup_uncharge() is followed by mod_objcg_state()/mod_memcg_state(). Each of these function call goes through a separate irq_save/irq_restore cycle. That is inefficient. Introduce a new function obj_cgroup_uncharge_mod_state() that combines

[PATCH 1/5] mm/memcg: Pass both memcg and lruvec to mod_memcg_lruvec_state()

2021-04-09 Thread Waiman Long
The caller of mod_memcg_lruvec_state() has both memcg and lruvec readily available. So both of them are now passed to mod_memcg_lruvec_state() and __mod_memcg_lruvec_state(). The __mod_memcg_lruvec_state() is updated to allow either of the two parameters to be set to null. This makes

[PATCH 0/5] mm/memcg: Reduce kmemcache memory accounting overhead

2021-04-09 Thread Waiman Long
With the recent introduction of the new slab memory controller, we eliminate the need for having separate kmemcaches for each memory cgroup and reduce overall kernel memory usage. However, we also add additional memory accounting overhead to each call of kmem_cache_alloc() and kmem_cache_free().

Re: [PATCH v24 04/30] x86/cpufeatures: Introduce X86_FEATURE_CET and setup functions

2021-04-09 Thread Yu, Yu-cheng
On 4/9/2021 10:14 AM, Borislav Petkov wrote: On Fri, Apr 09, 2021 at 08:52:52AM -0700, Yu, Yu-cheng wrote: Recall we had complicated code for the XSAVES features detection in xstate.c. Dave Hansen proposed the solution and then the whole thing becomes simple. Because of this flag, even when

[PATCH v4 0/2] pwm: visconti: Add Toshiba Visconti SoC PWM support

2021-04-09 Thread Nobuhiro Iwamatsu
Hi, This series is the PWM driver for Toshiba's ARM SoC, Visconti[0]. This provides DT binding documentation and device driver. [0]: https://toshiba.semicon-storage.com/ap-en/semiconductor/product/image-recognition-processors-visconti.html Updates: dt-bindings: pwm: Add bindings for Toshiba

[PATCH v4 1/2] dt-bindings: pwm: Add bindings for Toshiba Visconti PWM Controller

2021-04-09 Thread Nobuhiro Iwamatsu
Add bindings for the Toshiba Visconti PWM Controller. Signed-off-by: Nobuhiro Iwamatsu Reviewed-by: Rob Herring --- .../bindings/pwm/toshiba,pwm-visconti.yaml| 43 +++ 1 file changed, 43 insertions(+) create mode 100644

[PATCH v4 2/2] pwm: visconti: Add Toshiba Visconti SoC PWM support

2021-04-09 Thread Nobuhiro Iwamatsu
Add driver for the PWM controller on Toshiba Visconti ARM SoC. Signed-off-by: Nobuhiro Iwamatsu --- drivers/pwm/Kconfig| 9 ++ drivers/pwm/Makefile | 1 + drivers/pwm/pwm-visconti.c | 188 + 3 files changed, 198 insertions(+) create mode

Re: [PATCH] hwmon: (dme1737): Add missing null check on return from platform_get_resource

2021-04-09 Thread Guenter Roeck
On Tue, Apr 06, 2021 at 07:54:58PM +0100, Colin King wrote: > From: Colin Ian King > > The call to platform_get_resource can potentially return a NULL pointer > on failure, so add this check and return -EINVAL if it fails. > > Addresses-Coverity: ("Dereference null return") > Fixes:

Re: [RFC PATCH v2 0/4] arm64: Implement stack trace reliability checks

2021-04-09 Thread Josh Poimboeuf
On Fri, Apr 09, 2021 at 05:32:27PM -0500, Josh Poimboeuf wrote: > On Fri, Apr 09, 2021 at 05:05:58PM -0500, Madhavan T. Venkataraman wrote: > > > FWIW, over the years we've had zero issues with encoding the frame > > > pointer on x86. After you save pt_regs, you encode the frame pointer to > > >

Re: [PATCH v7 02/28] mm: Introduce struct folio

2021-04-09 Thread kernel test robot
Hi "Matthew, Thank you for the patch! Yet something to improve: [auto build test ERROR on next-20210409] [also build test ERROR on v5.12-rc6] [cannot apply to linux/master linus/master hnaz-linux-mm/master v5.12-rc6 v5.12-rc5 v5.12-rc4] [If your patch is applied to the wrong git tree, k

[PATCH] doc:it_IT: align Italian documentation

2021-04-09 Thread Federico Vaga
Translation for the following patches commit 7dfbea4c468c ("scripts: remove namespace.pl") commit 1a63f9cce7b7 ("docs: Remove make headers_check from checklist") commit 1e013ff7cb54 ("docs: Document cross-referencing using relative path") commit 0be1511f516e ("Documentation: doc-guide: fixes to

Re: [PATCH] gpu/drm: mediatek: hdmi: check for valid modes on MT8167

2021-04-09 Thread Chun-Kuang Hu
Hi, Neil: Neil Armstrong 於 2021年4月9日 週五 下午4:43寫道: > > On MT8167, only CEA modes and anything using a clock below 148500 is > supported for HDMI. This change adds some checks to make sure the > video format is OK for MT8167. I think this patch should be separated to 3 patches. check CEA mode,

Re: [RFC] ext4: Fix fs can't panic when abort by user

2021-04-09 Thread Theodore Ts'o
On Fri, Apr 09, 2021 at 05:28:54PM -0400, Theodore Ts'o wrote: > I'll apply the patch with a modified commit description to warn of > this particular change in behavior. Applied with the following commit description: ext4: always panic when errors=panic is specified Before commit

Re: [PATCH v2 1/1] kernel.h: Split out panic and oops helpers

2021-04-09 Thread Thomas Bogendoerfer
On Fri, Apr 09, 2021 at 01:02:50PM +0300, Andy Shevchenko wrote: > kernel.h is being used as a dump for all kinds of stuff for a long time. > Here is the attempt to start cleaning it up by splitting out panic and > oops helpers. > > There are several purposes of doing this: > - dropping

[PATCH net-next v3 4/5] mvpp2: recycle buffers

2021-04-09 Thread Matteo Croce
From: Matteo Croce Use the new recycling API for page_pool. In a drop rate test, the packet rate is more than doubled, from 962 Kpps to 2047 Kpps. perf top on a stock system shows: Overhead Shared Object Symbol 30.67% [kernel] [k] page_pool_release_page 8.37% [kernel]

[PATCH net-next v3 5/5] mvneta: recycle buffers

2021-04-09 Thread Matteo Croce
From: Matteo Croce Use the new recycling API for page_pool. In a drop rate test, the packet rate increased di 10%, from 269 Kpps to 296 Kpps. perf top on a stock system shows: Overhead Shared Object Symbol 21.78% [kernel] [k] __pi___inval_dcache_area 21.66% [mvneta]

[PATCH net-next v3 3/5] page_pool: Allow drivers to hint on SKB recycling

2021-04-09 Thread Matteo Croce
From: Ilias Apalodimas Up to now several high speed NICs have custom mechanisms of recycling the allocated memory they use for their payloads. Our page_pool API already has recycling capabilities that are always used when we are running in 'XDP mode'. So let's tweak the API and the kernel

[PATCH net-next v3 2/5] mm: add a signature in struct page

2021-04-09 Thread Matteo Croce
From: Matteo Croce This is needed by the page_pool to avoid recycling a page not allocated via page_pool. Signed-off-by: Matteo Croce --- include/linux/mm_types.h | 1 + include/net/page_pool.h | 2 ++ net/core/page_pool.c | 4 3 files changed, 7 insertions(+) diff --git

[PATCH net-next v3 1/5] xdp: reduce size of struct xdp_mem_info

2021-04-09 Thread Matteo Croce
From: Jesper Dangaard Brouer It is possible to compress/reduce the size of struct xdp_mem_info. This change reduce struct xdp_mem_info from 8 bytes to 4 bytes. The member xdp_mem_info.id can be reduced to u16, as the mem_id_ht rhashtable in net/core/xdp.c is already limited by MEM_ID_MAX=0xFFFE

[PATCH net-next v3 0/5] page_pool: recycle buffers

2021-04-09 Thread Matteo Croce
From: Matteo Croce This is a respin of [1] This patchset shows the plans for allowing page_pool to handle and maintain DMA map/unmap of the pages it serves to the driver. For this to work a return hook in the network core is introduced. The overall purpose is to simplify drivers, by

[tip:timers/core] BUILD SUCCESS 7b3efb50f7831102cb44d8a0e55d21f2cbac85fa

2021-04-09 Thread kernel test robot
allmodconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a006-20210409 i386 randconfig-a003-20210409 i386 randconfig-a001-20210409 i386

Re: [GIT PULL] Networking for 5.12-rc7

2021-04-09 Thread pr-tracker-bot
The pull request you sent on Fri, 9 Apr 2021 14:48:03 -0700: > git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git tags/net-5.12-rc7 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/4e04e7513b0fa2fe8966a1c83fb473f1667e2810 Thank you! -- Deet-doot-dot, I am

Re: [RFC PATCH v2 0/4] arm64: Implement stack trace reliability checks

2021-04-09 Thread Josh Poimboeuf
On Fri, Apr 09, 2021 at 05:05:58PM -0500, Madhavan T. Venkataraman wrote: > > FWIW, over the years we've had zero issues with encoding the frame > > pointer on x86. After you save pt_regs, you encode the frame pointer to > > point to it. Ideally in the same macro so it's hard to overlook. > > >

Re: [PATCH 4.9 00/13] 4.9.266-rc1 review

2021-04-09 Thread Shuah Khan
On 4/9/21 3:53 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.9.266 release. There are 13 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

Re: [PATCH v6 2/2] Input: add MStar MSG2638 touchscreen driver

2021-04-09 Thread Dmitry Torokhov
Hi Vincent, On Fri, Mar 05, 2021 at 04:38:05PM +0100, Vincent Knecht wrote: > Add support for the msg2638 touchscreen IC from MStar. > Firmware handling, wakeup gestures and other specialties are not supported. > This driver reuses zinitix.c structure, while the checksum and irq handler >

Re: [PATCH 0/9] userfaultfd: add minor fault handling for shmem

2021-04-09 Thread Mike Kravetz
On 4/9/21 2:18 PM, Peter Xu wrote: > On Fri, Apr 09, 2021 at 10:03:53AM -0700, Axel Rasmussen wrote: >> On Thu, Apr 8, 2021 at 10:04 PM Andrew Morton >> wrote: >>> >>> On Thu, 8 Apr 2021 16:43:18 -0700 Axel Rasmussen >>> wrote: >>> The idea is that it will apply cleanly to akpm's tree,

Re: [Outreachy kernel] [PATCH v2 2/2] staging: media: zoran: remove and add comments; align code

2021-04-09 Thread Mitali Borkar
On Fri, Apr 09, 2021 at 10:12:12PM +0200, Julia Lawall wrote: > > > On Sat, 10 Apr 2021, Mitali Borkar wrote: > > > Removed comments from the same line and added them to new line above the > > blocks, aligned everything properly by using tabs to make code neater > > and improve readability. > >

Re: [PATCH] crypto: arm/curve25519 - Move '.fpu' after '.arch'

2021-04-09 Thread Jason A. Donenfeld
Seems reasonable to me. Acked-by: Jason A. Donenfeld

[PATCH] crypto: arm/curve25519 - Move '.fpu' after '.arch'

2021-04-09 Thread Nathan Chancellor
Debian's clang carries a patch that makes the default FPU mode 'vfp3-d16' instead of 'neon' for 'armv7-a' to avoid generating NEON instructions on hardware that does not support them:

[PATCH v2] KVM: SVM: Add support for KVM_SEV_SEND_CANCEL command

2021-04-09 Thread Steve Rutherford
After completion of SEND_START, but before SEND_FINISH, the source VMM can issue the SEND_CANCEL command to stop a migration. This is necessary so that a cancelled migration can restart with a new target later. Reviewed-by: Nathan Tempelman Reviewed-by: Brijesh Singh Signed-off-by: Steve

Re: [RFC PATCH v2 0/4] arm64: Implement stack trace reliability checks

2021-04-09 Thread Madhavan T. Venkataraman
On 4/9/21 4:37 PM, Josh Poimboeuf wrote: > On Fri, Apr 09, 2021 at 01:09:09PM +0100, Mark Rutland wrote: >> On Mon, Apr 05, 2021 at 03:43:09PM -0500, madve...@linux.microsoft.com wrote: >>> From: "Madhavan T. Venkataraman" >>> >>> There are a number of places in kernel code where the stack

Re: [PATCH v3 6/8] docs: replace transation references for reporting-bugs.rst

2021-04-09 Thread Federico Vaga
On 2021-04-09 14:47, Mauro Carvalho Chehab wrote: Changeset d2ce285378b0 ("docs: make reporting-issues.rst official and delete reporting-bugs.rst") dropped reporting-bugs.rst, in favor of reporting-issues.rst, but translations still need to be updated, in order to point to the new file. Fixes:

[PATCH v2] Bluetooth: Return whether a connection is outbound

2021-04-09 Thread Yu Liu
When an MGMT_EV_DEVICE_CONNECTED event is reported back to the user space we will set the flags to tell if the established connection is outbound or not. This is useful for the user space to log better metrics and error messages. Reviewed-by: Miao-chen Chou Reviewed-by: Alain Michaud

Re: [Outreachy kernel] [PATCH v2 1/2] media: zoran: add spaces around '<<'

2021-04-09 Thread Mitali Borkar
On Fri, Apr 09, 2021 at 10:40:25PM +0200, Julia Lawall wrote: > > > On Sat, 10 Apr 2021, Mitali Borkar wrote: > > > No changes required in this patch. > > In v1:- Added spaces around '<<' operator to improve readability and meet > > linux kernel coding > > style > > The text above would go in

RE: [PATCH -next] soc: fsl: qe: use DEFINE_SPINLOCK() for spinlock

2021-04-09 Thread Leo Li
> -Original Message- > From: Ye Bin > Sent: Friday, April 9, 2021 4:52 AM > To: yebi...@huawei.com; Qiang Zhao ; Leo Li > > Cc: linuxppc-...@lists.ozlabs.org; linux-arm-ker...@lists.infradead.org; > linux-kernel@vger.kernel.org; kernel-janit...@vger.kernel.org; Hulk Robot > >

an Orphan needs your help

2021-04-09 Thread janete Moon
Hello Friend, Greetings and thanks for your reply. I am Janete moon but unfortunately, I 'm now an orphan,the only child and Daughter of late Mr and Mrs Joseph moon, from Ivory Coast Abidjan. I know it may have sounded very strange to you on why I contact you as you are a complete

Re: [PATCH 1/2] iommu/sva: Tighten SVA bind API with explicit flags

2021-04-09 Thread Jacob Pan
Hi Jean-Philippe, On Fri, 9 Apr 2021 12:22:21 +0200, Jean-Philippe Brucker wrote: > On Thu, Apr 08, 2021 at 10:08:55AM -0700, Jacob Pan wrote: > > The void* drvdata parameter isn't really used in iommu_sva_bind_device() > > API, > > Right, it used to be a cookie passed to the device driver

Re: [v3,PATCH 3/3] pwm: mtk_disp: implement .get_state()

2021-04-09 Thread Uwe Kleine-König
On Fri, Apr 09, 2021 at 02:24:43PM +0200, Thierry Reding wrote: > On Tue, Apr 06, 2021 at 12:27:56PM +0200, Uwe Kleine-König wrote: > > On Tue, Apr 06, 2021 at 05:57:42PM +0800, Rex-BC Chen wrote: > > > implement get_state function for pwm-mtk-disp > > > > > > Signed-off-by: Rex-BC Chen > > >

[GIT PULL] Networking for 5.12-rc7

2021-04-09 Thread Jakub Kicinski
The following changes since commit 002322402dafd846c424ffa9240a937f49b48c42: Merge branch 'akpm' (patches from Andrew) (2021-03-25 11:43:43 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git tags/net-5.12-rc7 for you to fetch changes

pull request: linux-firmware: update cxgb4 firmware to 1.25.4.0

2021-04-09 Thread Raju Rangoju
Hi, Can you please pull the new firmware from the following URL? git://git.chelsio.net/pub/git/linux-firmware.git for-upstream The following changes since commit af1ca28f03287b0c60682ab37cc684c773de853f: amdgpu: add arcturus firmware (2021-04-05 10:40:08 -0400) are available in the git

Re: Candidate Linux ABI for Intel AMX and hypothetical new related features

2021-04-09 Thread Andy Lutomirski
On Fri, Apr 9, 2021 at 1:53 PM Len Brown wrote: > > On Wed, Mar 31, 2021 at 6:45 PM Andy Lutomirski wrote: > > > > On Wed, Mar 31, 2021 at 3:28 PM Len Brown wrote: > > > > > We added compiler annotation for user-level interrupt handlers. > > > I'm not aware of it failing, or otherwise being

Re: PLEASE TREAT AS URGENT

2021-04-09 Thread Mrs Ruhama Koenig
-- My Dearest, Please forgive me for stressing you with my predicaments as I know that this letter may come to you as big surprise. Actually, I came across your E-mail from my personal search afterward I decided to email you directly believing that you will be honest to fulfill my final wish

Re: [PATCH -next] lib: zstd: Make symbol 'HUF_compressWeights_wksp' static

2021-04-09 Thread Nick Terrell
> On Apr 8, 2021, at 8:09 PM, Miguel Ojeda > wrote: > > On Fri, Apr 9, 2021 at 2:20 AM Nick Desaulniers > wrote: >> >> Quite a few other functions are declared in a header, but I don't see >> any existing callers in tree. I wonder if the maintainer could >> consider cleaning these up so

Re: static_branch/jump_label vs branch merging

2021-04-09 Thread Peter Zijlstra
On Fri, Apr 09, 2021 at 05:07:15PM -0400, David Malcolm wrote: > You've built a very specific thing out of asm-goto to fulfil the tough > requirements you outlined above - as well as the nops, there's a thing > in another section to contend with. > > How to merge these asm-goto constructs? By

Re: [GIT PULL][PATCH v9 0/3] Update to zstd-1.4.10

2021-04-09 Thread Nick Terrell
What can I do to help get this merged? Cristoph, is this new patch series with the kernel wrapper API satisfactory? Best, Nick On Tue, Mar 30, 2021 at 3:45 PM Nick Terrell wrote: > > From: Nick Terrell > > Please pull from > > g...@github.com:terrelln/linux.git tags/v9-zstd-1.4.10 > > to

Re: [RFC PATCH v2 0/4] arm64: Implement stack trace reliability checks

2021-04-09 Thread Josh Poimboeuf
On Fri, Apr 09, 2021 at 01:09:09PM +0100, Mark Rutland wrote: > On Mon, Apr 05, 2021 at 03:43:09PM -0500, madve...@linux.microsoft.com wrote: > > From: "Madhavan T. Venkataraman" > > > > There are a number of places in kernel code where the stack trace is not > > reliable. Enhance the unwinder

Re: [PATCH v7 5/8] pwm: core: Support new PWM_STAGGERING_ALLOWED flag

2021-04-09 Thread Uwe Kleine-König
Hello Thierry, On Fri, Apr 09, 2021 at 01:25:36PM +0200, Thierry Reding wrote: > On Thu, Apr 08, 2021 at 07:36:37PM +0200, Uwe Kleine-König wrote: > > On Thu, Apr 08, 2021 at 05:51:36PM +0200, Clemens Gruber wrote: > > > On Thu, Apr 08, 2021 at 02:50:40PM +0200, Thierry Reding wrote: > > > > Yes,

Re: [PATCH v3 2/2] pwm: visconti: Add Toshiba Visconti SoC PWM support

2021-04-09 Thread Nobuhiro Iwamatsu
Hi Thierry, Thanks for your review. On Fri, Apr 09, 2021 at 03:20:12PM +0200, Thierry Reding wrote: > On Fri, Apr 09, 2021 at 06:07:09PM +0900, Nobuhiro Iwamatsu wrote: > > Add driver for the PWM controller on Toshiba Visconti ARM SoC. > > > > Signed-off-by: Nobuhiro Iwamatsu > > --- > >

Re: [PATCH 3/3] fpga: region: Adds runtime PM support

2021-04-09 Thread Moritz Fischer
On Fri, Apr 02, 2021 at 02:50:49PM +0530, Nava kishore Manne wrote: > Adds support to handle FPGA/PL power domain. With this patch, > the PL power domain will be turned on before loading the bitstream > and turned off while removing/unloading the bitstream using overlays. > This can be achieved by

Re: [RFC] ext4: Fix fs can't panic when abort by user

2021-04-09 Thread Theodore Ts'o
On Thu, Apr 01, 2021 at 04:19:03PM +0800, Ye Bin wrote: > Test steps: > 1. mount /dev/sda -o errors=panic test > 2. mount /dev/sda -o remount,ro test > 3. mount /dev/sda -o remount,abort test > > Before 014c9caa29d3 not been merged there will trigger panic. But > 014c9caa29d3 change this

Re: [PATCH net-next 2/3] net: use skb_for_each_frag() helper where possible

2021-04-09 Thread Jakub Kicinski
On Fri, 9 Apr 2021 22:44:50 +0200 Matteo Croce wrote: > > What pops to mind (although quite nit picky) is the question if the > > assembly changes much between driver which used to cache nr_frags and > > now always going skb_shinfo(skb)->nr_frags? It's a relatively common > > pattern. > > Since

Re: [PATCH 5.10 00/41] 5.10.29-rc1 review

2021-04-09 Thread Sudip Mukherjee
Hi Greg, On Fri, Apr 09, 2021 at 11:53:22AM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.10.29 release. > There are 41 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please >

[no subject]

2021-04-09 Thread Stephen Bordeaux
Dia bom Sou Stephen Bordeaux, advogado do escritório de advocacia de Bordeaux. Entrei em contato com você a respeito do patrimônio do Fundo do Falecido Dr. Edwin, Oito Milhões e Quinhentos Mil Dólares, a serem repatriados para sua conta. Além disso, nesta transação, quero que você responda

Re: [PATCH net-next 2/3] net: use skb_for_each_frag() helper where possible

2021-04-09 Thread kernel test robot
Hi Matteo, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on net-next/master] url: https://github.com/0day-ci/linux/commits/Matteo-Croce/introduce-skb_for_each_frag/20210410-020828 base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git

Re: [PATCH 5.4 00/23] 5.4.111-rc1 review

2021-04-09 Thread Sudip Mukherjee
Hi Greg, On Fri, Apr 09, 2021 at 11:53:30AM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.4.111 release. > There are 23 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please >

Re: 5.?? regression: strace testsuite OOpses kernel on ia64

2021-04-09 Thread Sergei Trofimovich
On Tue, 23 Feb 2021 18:53:21 + Sergei Trofimovich wrote: > The crash seems to be related to sock_filter-v test from strace: > https://github.com/strace/strace/blob/master/tests/seccomp-filter-v.c > > Here is an OOps: > > [ 818.089904] BUG: Bad page map in process sock_filter-v

Re: [PATCH 0/9] userfaultfd: add minor fault handling for shmem

2021-04-09 Thread Peter Xu
On Fri, Apr 09, 2021 at 10:03:53AM -0700, Axel Rasmussen wrote: > On Thu, Apr 8, 2021 at 10:04 PM Andrew Morton > wrote: > > > > On Thu, 8 Apr 2021 16:43:18 -0700 Axel Rasmussen > > wrote: > > > > > The idea is that it will apply cleanly to akpm's tree, *replacing* the > > > following > > >

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