[PATCH 14/57] staging: rtl8188eu: core: rtw_security: Fix some formatting and misdocumentation

2021-04-14 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): from drivers/staging/rtl8188eu/core/rtw_security.c:10: drivers/staging/rtl8188eu/core/rtw_security.c:478: warning: Function parameter or member 'p1k' not described in 'phase1' drivers/staging/rtl8188eu/core/rtw_security.c:478: warning: Function

[PATCH 13/57] staging: rtl8723bs: core: rtw_recv: Mark debug variable as __maybe_unused

2021-04-14 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): from drivers/staging/rtl8188eu/core/rtw_recv.c:12: drivers/staging/rtl8723bs/core/rtw_recv.c: In function ‘rtw_signal_stat_timer_hdl’: drivers/staging/rtl8723bs/core/rtw_recv.c:2341:6: warning: variable ‘num_signal_qual’ set but not used [-Wunu

[PATCH 17/57] staging: rtl8723bs: core: rtw_sta_mgt: Return error value directly

2021-04-14 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/staging/rtl8723bs/core/rtw_sta_mgt.c: In function ‘rtw_init_bcmc_stainfo’: drivers/staging/rtl8723bs/core/rtw_sta_mgt.c:512:6: warning: variable ‘res’ set but not used [-Wunused-but-set-variable] Cc: Greg Kroah-Hartman Cc: Ross Schmidt

[PATCH 15/57] staging: rtl8723bs: core: rtw_security: Demote non-conformant kernel-doc header

2021-04-14 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): from drivers/staging/rtl8188eu/core/rtw_security.c:10: drivers/staging/rtl8188eu/core/rtw_security.c:478: warning: Function parameter or member 'p1k' not described in 'phase1' drivers/staging/rtl8188eu/core/rtw_security.c:478: warning: Function

Re: [tip: core/rcu] softirq: Don't try waking ksoftirqd before it has been spawned

2021-04-14 Thread Paul E. McKenney
On Wed, Apr 14, 2021 at 10:57:57AM +0200, Uladzislau Rezki wrote: > On Wed, Apr 14, 2021 at 09:13:22AM +0200, Sebastian Andrzej Siewior wrote: > > On 2021-04-12 11:36:45 [-0700], Paul E. McKenney wrote: > > > > Color me confused. I did not follow the discussion around this > > > > completely, but w

[PATCH 20/57] staging: rtl8712: rtl871x_mp_ioctl: Move a large data struct onto the heap

2021-04-14 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/staging/rtl8712/rtl871x_mp_ioctl.c: In function ‘mp_start_test’: drivers/staging/rtl8712/rtl871x_mp_ioctl.c:204:1: warning: the frame size of 1136 bytes is larger than 1024 bytes [-Wframe-larger-than=] Cc: Larry Finger Cc: Florian Schil

[PATCH 22/57] staging: nvec: Fix a bunch of kernel-doc issues

2021-04-14 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/staging/nvec/nvec.c:109: warning: Function parameter or member 'events' not described in 'nvec_register_notifier' drivers/staging/nvec/nvec.c:136: warning: Function parameter or member 'nb' not described in 'nvec_status_notifier' driver

[PATCH 21/57] staging: iio: frequency: ad9834: Provide missing description for 'devid'

2021-04-14 Thread Lee Jones
Also demote kernel-doc abuses Fixes the following W=1 kernel build warning(s): drivers/staging/iio/frequency/ad9834.c:87: warning: Function parameter or member 'devid' not described in 'ad9834_state' drivers/staging/iio/frequency/ad9834.c:93: warning: cannot understand function prototype: 'en

[PATCH 19/57] staging: rtl8723bs: core: rtw_wlan_util: Remove unused variable 'start_seq'

2021-04-14 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/staging/rtl8723bs/core/rtw_wlan_util.c: In function ‘process_addba_req’: drivers/staging/rtl8723bs/core/rtw_wlan_util.c:1774:11: warning: variable ‘start_seq’ set but not used [-Wunused-but-set-variable] from drivers/staging/rtl8188eu/c

[PATCH 18/57] staging: octeon: ethernet-tx: Fix formatting issue in function header

2021-04-14 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/staging/octeon/ethernet-tx.c:507: warning: bad line: Cc: Greg Kroah-Hartman Cc: Thomas Gleixner Cc: Kees Cook Cc: linux-stag...@lists.linux.dev Signed-off-by: Lee Jones --- drivers/staging/octeon/ethernet-tx.c | 1 - 1 file changed, 1

[PATCH 25/57] staging: sm750fb: sm750_accel: Provide description for 'accel' and fix function naming

2021-04-14 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/staging/sm750fb/sm750_accel.c:155: warning: Function parameter or member 'accel' not described in 'sm750_hw_copyarea' drivers/staging/sm750fb/sm750_accel.c:155: warning: expecting prototype for sm750_hm_copyarea(). Prototype was for sm75

[PATCH 26/57] staging: most: net: Fix some kernel-doc formatting issues

2021-04-14 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/staging/most/net/net.c:548: warning: Function parameter or member 'iface' not described in 'on_netinfo' drivers/staging/most/net/net.c:548: warning: Function parameter or member 'link_stat' not described in 'on_netinfo' drivers/staging/

[PATCH 24/57] staging: fwserial: Demote a whole host of kernel-doc abuses

2021-04-14 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/staging/fwserial/fwserial.c:52: warning: Function parameter or member 'fwserial_list' not described in 'LIST_HEAD' drivers/staging/fwserial/fwserial.c:52: warning: expecting prototype for fwserial_list(). Prototype was for LIST_HEAD() in

[PATCH 16/57] staging: rtl8723bs: core: rtw_sta_mgt: Remove unused variable 'psta'

2021-04-14 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/staging/rtl8723bs/core/rtw_sta_mgt.c: In function ‘kfree_all_stainfo’: drivers/staging/rtl8723bs/core/rtw_sta_mgt.c:128:19: warning: variable ‘psta’ set but not used [-Wunused-but-set-variable] Cc: Greg Kroah-Hartman Cc: Ross Schmidt C

[PATCH 27/57] staging: vt6655: upc: Suppress set but not used warning in macro

2021-04-14 Thread Lee Jones
The variable is used in the function using the macro. Fixes the following W=1 kernel build warning(s): drivers/staging/vt6655/upc.h:45:16: warning: variable ‘byData’ set but not used [-Wunused-but-set-variable] Cc: Forest Bond Cc: Greg Kroah-Hartman Cc: linux-stag...@lists.linux.dev Signed-o

[PATCH 29/57] staging: most: dim2: Provide missing descriptions and fix doc-rot

2021-04-14 Thread Lee Jones
Also demote merely half-complete header. Fixes the following W=1 kernel build warning(s): drivers/staging/most/dim2/dim2.c:69: warning: Function parameter or member 'name' not described in 'hdm_channel' drivers/staging/most/dim2/dim2.c:69: warning: Function parameter or member 'reset_dbr_size

[PATCH 28/57] staging: rtl8192u: ieee80211_softmac: Move a large data struct onto the heap

2021-04-14 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_rx_frame_softmac’: drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:2009:1: warning: the frame size of 1152 bytes is larger than 1024 bytes [-Wframe-larger-than

[PATCH 23/57] staging: ks7010: ks_hostif: Remove a bunch of unused variables

2021-04-14 Thread Lee Jones
Add comments to preserve documentation. Fixes the following W=1 kernel build warning(s): drivers/staging/ks7010/ks_hostif.c: In function ‘hostif_mib_get_confirm’: drivers/staging/ks7010/ks_hostif.c:528:6: warning: variable ‘mib_val_type’ set but not used [-Wunused-but-set-variable] drivers/st

[PATCH 33/57] staging: most: i2c: Fix a little doc-rot

2021-04-14 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/staging/most/i2c/i2c.c:66: warning: Function parameter or member 'most_iface' not described in 'configure_channel' drivers/staging/most/i2c/i2c.c:66: warning: Function parameter or member 'ch_idx' not described in 'configure_channel' dr

[PATCH 34/57] staging: most: dim2: hal: Fix one kernel-doc header and demote two non-conforming ones

2021-04-14 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/staging/most/dim2/hal.c:99: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/staging/most/dim2/hal.c:788: warning: Function parameter or member 'buf_size' not d

[PATCH 38/57] staging: fbtft: fb_ili9320: Remove unused variable 'ret'

2021-04-14 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/staging/fbtft/fb_ili9320.c: In function ‘read_devicecode’: drivers/staging/fbtft/fb_ili9320.c:25:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] Cc: Greg Kroah-Hartman Cc: dri-de...@lists.freedesktop.org Cc: linu

[PATCH 41/57] staging: rtl8188eu: os_dep: mon: Demote non-conforming kernel-doc headers

2021-04-14 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/staging/rtl8188eu/os_dep/mon.c:21: warning: Function parameter or member 'skb' not described in 'unprotect_frame' drivers/staging/rtl8188eu/os_dep/mon.c:21: warning: Function parameter or member 'iv_len' not described in 'unprotect_frame

[PATCH 42/57] staging: rtl8188eu: os_dep: rtw_android: Demote kernel-doc abuse

2021-04-14 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/staging/rtl8188eu/os_dep/rtw_android.c:56: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst Cc: Larry Finger Cc: Greg Kroah-Hartman Cc: linux-stag...@lists.linux.dev

[PATCH 37/57] staging: rtl8188eu: os_dep: ioctl_linux: Move 2 large data buffers into the heap

2021-04-14 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/staging/rtl8188eu/os_dep/ioctl_linux.c: In function ‘translate_scan’: drivers/staging/rtl8188eu/os_dep/ioctl_linux.c:310:1: warning: the frame size of 1064 bytes is larger than 1024 bytes [-Wframe-larger-than=] drivers/staging/rtl8723bs/

[PATCH 30/57] staging: rtl8723bs: core: rtw_ieee80211: Remove seemingly pointless copy

2021-04-14 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/staging/rtl8723bs/core/rtw_ieee80211.c: In function ‘rtw_ies_remove_ie’: drivers/staging/rtl8723bs/core/rtw_ieee80211.c:259:1: warning: the frame size of 1048 bytes is larger than 1024 bytes [-Wframe-larger-than=] Cc: Greg Kroah-Hartman

[PATCH 32/57] staging: rtl8723bs: core: rtw_mlme_ext: 'evt_seq' is only used if CHECK_EVENT_SEQ is set

2021-04-14 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/staging/rtl8723bs/core/rtw_mlme_ext.c: In function ‘mlme_evt_hdl’: drivers/staging/rtl8723bs/core/rtw_mlme_ext.c:6004:5: warning: variable ‘evt_seq’ set but not used [-Wunused-but-set-variable] drivers/staging/rtl8723bs/core/rtw_mlme_ext

[PATCH 39/57] staging: rtl8723bs: core: rtw_ieee80211: Fix incorrectly named function

2021-04-14 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/staging/rtl8723bs/core/rtw_ieee80211.c:889: warning: expecting prototype for ieee802_11_parse_elems(). Prototype was for rtw_ieee802_11_parse_elems() instead Cc: Greg Kroah-Hartman Cc: linux-stag...@lists.linux.dev Signed-off-by: Lee Jo

[PATCH 40/57] staging: rtl8723bs: hal: odm_NoiseMonitor: Remove unused variable and dead code

2021-04-14 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.c: In function ‘odm_InbandNoise_Monitor_NSeries’: drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.c:32:34: warning: variable ‘func_end’ set but not used [-Wunused-but-set-variable] Cc: Greg Kroah-Ha

[PATCH 35/57] staging: most: dim2: hal: Demote non-conformant kernel-doc headers

2021-04-14 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/staging/most/dim2/hal.c:99: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/staging/most/dim2/hal.c:788: warning: Function parameter or member 'buf_size' not d

[PATCH 36/57] staging: axis-fifo: axis-fifo: Fix some formatting issues

2021-04-14 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/staging/axis-fifo/axis-fifo.c:356: warning: Function parameter or member 'f' not described in 'axis_fifo_read' drivers/staging/axis-fifo/axis-fifo.c:356: warning: Function parameter or member 'buf' not described in 'axis_fifo_read' driv

[PATCH 31/57] staging: rtl8723bs: core: rtw_mlme: 'retry' is only used if REJOIN is set

2021-04-14 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/staging/rtl8723bs/core/rtw_mlme.c: In function ‘rtw_joinbss_event_prehandle’: drivers/staging/rtl8723bs/core/rtw_mlme.c:1192:12: warning: variable ‘retry’ set but not used [-Wunused-but-set-variable] Cc: Greg Kroah-Hartman Cc: Fabio Ai

[PATCH 43/57] staging: rtl8723bs: hal: rtl8723b_hal_init: Remove unused variable and dead code

2021-04-14 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c: In function ‘CCX_FwC2HTxRpt_8723b’: drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c:3355:5: warning: variable ‘seq_no’ set but not used [-Wunused-but-set-variable] Cc: Greg Kroah-Hartman Cc:

[PATCH 45/57] staging: rtl8723bs: hal: sdio_halinit: 'start' is only used if debug is enabled

2021-04-14 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/staging/rtl8723bs/hal/sdio_halinit.c: In function ‘_ReadAdapterInfo8723BS’: drivers/staging/rtl8723bs/hal/sdio_halinit.c:1170:16: warning: variable ‘start’ set but not used [-Wunused-but-set-variable] Cc: Greg Kroah-Hartman Cc: Fabio A

[PATCH 44/57] staging: rtl8723bs: hal: rtl8723b_phycfg: Fix a bunch of misnamed functions

2021-04-14 Thread Lee Jones
... and fix a misnamed param. Fixes the following W=1 kernel build warning(s): drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:53: warning: expecting prototype for PHY_QueryBBReg(). Prototype was for PHY_QueryBBReg_8723B() instead drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:87: warning: ex

[PATCH 47/57] staging: rtl8723bs: os_dep: ioctl_cfg80211: 'ack' is used when debug is enabled

2021-04-14 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c: In function ‘_cfg80211_rtw_mgmt_tx’: drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:2754:7: warning: variable ‘ack’ set but not used [-Wunused-but-set-variable] Cc: Greg Kroah-Hartman Cc: l

[PATCH 46/57] staging: rtl8723bs: hal: sdio_ops: Mark used 'err' as __maybe_unused and remove another

2021-04-14 Thread Lee Jones
'err' is only used if debug is enabled. Also remove 4 year old TODO. Fixes the following W=1 kernel build warning(s): drivers/staging/rtl8723bs/hal/sdio_ops.c: In function ‘sdio_read32’: drivers/staging/rtl8723bs/hal/sdio_ops.c:170:6: warning: variable ‘err’ set but not used [-Wunused-but-set

[PATCH 50/57] staging: comedi: drivers: ni_routes: Demote non-conforming kernel-doc headers

2021-04-14 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/staging/comedi/drivers/ni_routes.c:249: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/staging/comedi/drivers/ni_routes.c:398: warning: Function parameter or

[PATCH 51/57] staging: axis-fifo: axis-fifo: Fix function naming in the documentation

2021-04-14 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/staging/axis-fifo/axis-fifo.c:356: warning: expecting prototype for axis_fifo_write(). Prototype was for axis_fifo_read() instead Cc: Greg Kroah-Hartman Cc: Jacob Feder Cc: linux-stag...@lists.linux.dev Signed-off-by: Lee Jones --- dr

[PATCH 54/57] staging: rtl8723bs: hal: rtl8723b_hal_init: Mark a bunch of debug variables as __maybe_unused

2021-04-14 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c: In function ‘SetHwReg8723B’: drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c:3507:32: warning: variable ‘ioted’ set but not used [-Wunused-but-set-variable] drivers/staging/rtl8723bs/hal/rtl87

[PATCH 53/57] staging: rtl8723bs: core: rtw_mlme_ext: Move very large data buffer onto the heap

2021-04-14 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/staging/rtl8723bs/core/rtw_mlme_ext.c: In function ‘issue_probersp’: drivers/staging/rtl8723bs/core/rtw_mlme_ext.c:2543:1: warning: the frame size of 1096 bytes is larger than 1024 bytes [-Wframe-larger-than=] Cc: Greg Kroah-Hartman Cc:

[PATCH 56/57] staging: comedi: drivers: comedi_isadma: Fix misspelling of 'dma_chan1'

2021-04-14 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/staging/comedi/drivers/comedi_isadma.c:157: warning: Function parameter or member 'dma_chan1' not described in 'comedi_isadma_alloc' drivers/staging/comedi/drivers/comedi_isadma.c:157: warning: Excess function parameter 'dma_chan' descri

[PATCH 55/57] staging: comedi: drivers: ni_mio_common: Move 'range_ni_E_ao_ext' to where it is used

2021-04-14 Thread Lee Jones
... and mark it as __maybe_unused since not all users of the header file reference it. Fixes the following W=1 kernel build warning(s): drivers/staging/comedi/drivers/ni_mio_common.c:163:35: warning: ‘range_ni_E_ao_ext’ defined but not used [-Wunused-const-variable=] Cc: Ian Abbott Cc: H Hart

[PATCH 48/57] staging: comedi: drivers: jr3_pci: Remove set but unused variable 'min_full_scale'

2021-04-14 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/staging/comedi/drivers/jr3_pci.c: In function ‘jr3_pci_poll_subdevice’: drivers/staging/comedi/drivers/jr3_pci.c:507:22: warning: variable ‘min_full_scale’ set but not used [-Wunused-but-set-variable] Cc: Ian Abbott Cc: H Hartley Sweete

[PATCH 52/57] staging: rtl8723bs: hal: odm_NoiseMonitor: Remove unused variable 'func_start'

2021-04-14 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.c: In function ‘odm_InbandNoise_Monitor_NSeries’: drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.c:32:18: warning: variable ‘func_start’ set but not used [-Wunused-but-set-variable] Cc: Greg Kroah-

[PATCH 57/57] staging: rtl8723bs: hal: sdio_halinit: Remove unused variable 'ret'

2021-04-14 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/staging/rtl8723bs/hal/sdio_halinit.c: In function ‘CardDisableRTL8723BSdio’: drivers/staging/rtl8723bs/hal/sdio_halinit.c:881:5: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] drivers/staging/rtl8723bs/hal/sdio_hal

[PATCH 49/57] staging: comedi: drivers: ni_tio: Fix slightly broken kernel-doc and demote others

2021-04-14 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/staging/comedi/drivers/ni_tio.c:1515: warning: Function parameter or member 'counter_dev' not described in 'ni_tio_get_routing' drivers/staging/comedi/drivers/ni_tio.c:1515: warning: Function parameter or member 'dest' not described in '

Re: [PATCH 03/30] drm/tegra: Don't register DP AUX channels before connectors

2021-04-14 Thread Lyude Paul
On Wed, 2021-04-14 at 18:49 +0200, Thierry Reding wrote: > On Fri, Feb 19, 2021 at 04:52:59PM -0500, Lyude Paul wrote: > > As pointed out by the documentation for drm_dp_aux_register(), > > drm_dp_aux_init() should be used in situations where the AUX channel for a > > display driver can potentially

Re: [PATCH] i2c: I2C_HISI should depend on ARCH_HISI && ACPI

2021-04-14 Thread Andy Shevchenko
On Wed, Apr 14, 2021 at 08:06:18PM +0200, Geert Uytterhoeven wrote: > On Wed, Apr 14, 2021 at 11:24 AM Yicong Yang wrote: > > On 2021/4/13 20:26, Geert Uytterhoeven wrote: > > > The HiSilicon Kunpeng I2C controller is only present on HiSilicon > > > Kunpeng SoCs, and its driver relies on ACPI to p

Re: [External] : Re: [PATCH v14 6/6] locking/qspinlock: Introduce the shuffle reduction optimization into CNA

2021-04-14 Thread Alex Kogan
Hi, Andreas. Thanks for the great questions. > On Apr 14, 2021, at 3:47 AM, Andreas Herrmann wrote: > > On Thu, Apr 01, 2021 at 11:31:56AM -0400, Alex Kogan wrote: >> This performance optimization chooses probabilistically to avoid moving >> threads from the main queue into the secondary one wh

Re: [PATCH v8 2/4] libperf: Add evsel mmap support

2021-04-14 Thread Arnaldo Carvalho de Melo
Em Wed, Apr 14, 2021 at 03:02:08PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Thu, Apr 15, 2021 at 01:41:35AM +0900, Namhyung Kim escreveu: > > Hello, > > > > On Thu, Apr 15, 2021 at 1:07 AM Rob Herring wrote: > > > +void *perf_evsel__mmap_base(struct perf_evsel *evsel, int cpu, int > > > th

Re: [Outreachy kernel] [PATCH v2] staging: rtl8723bs: Remove useless led_blink_hdl()

2021-04-14 Thread Fabio M. De Francesco
On Wednesday, April 14, 2021 8:05:59 PM CEST Fabio M. De Francesco wrote: > On Wednesday, April 14, 2021 7:57:03 PM CEST Greg Kroah-Hartman wrote: > > On Wed, Apr 14, 2021 at 08:48:09PM +0300, Dan Carpenter wrote: > > > On Wed, Apr 14, 2021 at 07:00:41PM +0200, Greg Kroah-Hartman wrote: > > > > On

RE: [PATCH v2 1/3] Drivers: hv: vmbus: Introduce and negotiate VMBus protocol version 5.3

2021-04-14 Thread Michael Kelley
From: Andrea Parri (Microsoft) Sent: Wednesday, April 14, 2021 8:01 AM > > Hyper-V has added VMBus protocol version 5.3. Allow Linux guests to > negotiate the new version on version of Hyper-V that support it. > > Signed-off-by: Andrea Parri (Microsoft) > --- > drivers/hv/connection.c | 3 ++

RE: [PATCH v2 2/3] Drivers: hv: vmbus: Drivers: hv: vmbus: Introduce CHANNELMSG_MODIFYCHANNEL_RESPONSE

2021-04-14 Thread Michael Kelley
From: Andrea Parri (Microsoft) Sent: Wednesday, April 14, 2021 8:01 AM > > Introduce the CHANNELMSG_MODIFYCHANNEL_RESPONSE message type, and code > to receive and process such a message. > > Signed-off-by: Andrea Parri (Microsoft) > --- > drivers/hv/channel.c | 99 +++

[PATCH v2] perf beauty: Fix fsconfig generator

2021-04-14 Thread Vitaly Chikunov
After gnulib update sed stopped matching `[[:space:]]*+' as before, causing the following compilation error: In file included from builtin-trace.c:719: trace/beauty/generated/fsconfig_arrays.c:2:3: error: expected expression before ']' token 2 | [] = "", | ^ trace/beauty/ge

[PATCH] staging: media: atomisp: pci: Format multi-line comments according to coding-style in file atomisp_cmd.c

2021-04-14 Thread Aline Santana Cordeiro
Format multi-line comments according to the coding-style. Issue detected by checkpatch.pl. Signed-off-by: Aline Santana Cordeiro --- drivers/staging/media/atomisp/pci/atomisp_cmd.c | 109 ++-- 1 file changed, 65 insertions(+), 44 deletions(-) diff --git a/drivers/staging/med

Re: [PATCH bpf-next v3 3/6] bpf: Add a bpf_snprintf helper

2021-04-14 Thread Florent Revest
Hey Geert! :) On Wed, Apr 14, 2021 at 8:02 PM Geert Uytterhoeven wrote: > On Wed, Apr 14, 2021 at 9:41 AM Andrii Nakryiko > wrote: > > On Mon, Apr 12, 2021 at 8:38 AM Florent Revest wrote: > > > + fmt = (char *)fmt_addr + fmt_map_off; > > > + > > > > bot complained about lack of (long) ca

Re: [PATCH] bfq: silence lockdep for bfqd/ioc lock inversion

2021-04-14 Thread Khazhy Kumykov
On Wed, Apr 14, 2021 at 2:54 AM Jan Kara wrote: > > On Thu 18-03-21 23:00:15, Khazhismel Kumykov wrote: > > lockdep warns of circular locking due to inversion between > > bfq_insert_requests and bfq_exit_icq. If we end freeing a request when > > merging, we *may* grab an ioc->lock if that request

Re: [PATCH v2 net-next 7/9] net: korina: Add support for device tree

2021-04-14 Thread Florian Fainelli
On 4/14/2021 8:29 AM, Thomas Bogendoerfer wrote: > If there is no mac address passed via platform data try to get it via > device tree and fall back to a random mac address, if all fail. > > Signed-off-by: Thomas Bogendoerfer > --- > drivers/net/ethernet/korina.c | 29

Re: [PATCH] staging: media: atomisp: pci: Format multi-line comments according to coding-style in file atomisp_cmd.c

2021-04-14 Thread Sakari Ailus
Hi Aline, Thanks for the patch. On Wed, Apr 14, 2021 at 03:27:55PM -0300, Aline Santana Cordeiro wrote: > Format multi-line comments according to the coding-style. > Issue detected by checkpatch.pl. > > Signed-off-by: Aline Santana Cordeiro > --- > drivers/staging/media/atomisp/pci/atomisp_cmd

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

2021-04-14 Thread Eric Biggers
On Wed, Apr 14, 2021 at 11:01:29AM -0700, Nick Terrell wrote: > Hi all, > > I would really like to make some progress on this and get it merged. > This patchset offsers: > * 15-30% better decompression speed > * 3 years of zstd bug fixes and code improvements > * Allows us to import zstd directly

Re: [PATCH RFC net-next 0/3] Multi-CPU DSA support

2021-04-14 Thread Tobias Waldekranz
On Wed, Apr 14, 2021 at 17:14, Marek Behun wrote: > On Tue, 13 Apr 2021 20:16:24 +0200 > Tobias Waldekranz wrote: > >> You could imagine a different mode in which the DSA driver would receive >> the bucket allocation from the bond/team driver (which in turn could >> come all the way from userspac

RE: [PATCH v2 3/3] Drivers: hv: vmbus: Check for pending channel interrupts before taking a CPU offline

2021-04-14 Thread Michael Kelley
From: Andrea Parri (Microsoft) Sent: Wednesday, April 14, 2021 8:01 AM > > Check that enough time has passed such that the modify channel message > has been processed before taking a CPU offline. > > Signed-off-by: Andrea Parri (Microsoft) > --- > drivers/hv/hv.c | 49

Re: [PATCH v2 00/16] Multigenerational LRU Framework

2021-04-14 Thread Yu Zhao
On Wed, Apr 14, 2021 at 7:52 AM Rik van Riel wrote: > > On Wed, 2021-04-14 at 16:27 +0800, Huang, Ying wrote: > > Yu Zhao writes: > > > > > On Wed, Apr 14, 2021 at 12:15 AM Huang, Ying > > > wrote: > > > > > > > NUMA Optimization > > > - > > > Support NUMA policies and per-node R

[PATCH 00/13] [RFC] Rust support

2021-04-14 Thread ojeda
From: Miguel Ojeda Some of you have noticed the past few weeks and months that a serious attempt to bring a second language to the kernel was being forged. We are finally here, with an RFC that adds support for Rust to the Linux kernel. This cover letter is fairly long, since there are quite a f

[PATCH 01/13] kallsyms: Support "big" kernel symbols (2-byte lengths)

2021-04-14 Thread ojeda
From: Miguel Ojeda Rust symbols can become quite long due to namespacing introduced by modules, types, traits, generics, etc. Increasing to 255 is not enough in some cases, and therefore we need to introduce 2-byte lengths to the symbol table. We call these "big" symbols. In order to avoid incr

[PATCH 02/13] kallsyms: Increase maximum kernel symbol length to 512

2021-04-14 Thread ojeda
From: Miguel Ojeda Rust symbols can become quite long due to namespacing introduced by modules, types, traits, generics, etc. For instance, for: pub mod my_module { pub struct MyType; pub struct MyGenericType(T); pub trait MyTrait { fn my_method() -> u32;

[PATCH 03/13] Makefile: Generate CLANG_FLAGS even in GCC builds

2021-04-14 Thread ojeda
From: Miguel Ojeda To support Rust under GCC-built kernels, we need to save the flags that would have been passed if the kernel was being compiled with Clang. The reason is that bindgen -- the tool we use to generate Rust bindings to the C side of the kernel -- relies on libclang to parse C. Ide

[PATCH 05/13] Rust: Compiler builtins crate

2021-04-14 Thread ojeda
From: Miguel Ojeda Rust provides `compiler_builtins` as a port of LLVM's `compiler-rt`. Since we do not need the vast majority of them, we avoid the dependency by providing our own crate. We also need a helpers C source file to contain some forwarders to C macros and inlined functions. For the m

[PATCH 04/13] Kbuild: Rust support

2021-04-14 Thread ojeda
From: Miguel Ojeda This commit includes also the `Kconfig` entries related to Rust, the Rust configuration printer, the target definition files, the version detection script and a few other bits. In the future, we will likely want to generate the target files on the fly via a script. With this

[PATCH 08/13] Rust: Export generated symbols

2021-04-14 Thread ojeda
From: Miguel Ojeda Now that all the shared Rust infrastructure is in, we export all the symbols reusing the `EXPORT_SYMBOL_GPL` macro from C. The lists of symbols are generated on the fly when compiling the crates. There are three main sets of symbols to distinguish: - The ones from the `core

[PATCH 06/13] Rust: Module crate

2021-04-14 Thread ojeda
From: Miguel Ojeda Implements the `module!` macro that is used by Rust modules to easily declare the equivalent information to the `MODULE_*` macros in C modules, e.g.: module! { type: RustMinimal, name: b"rust_minimal", author: b"Rust for Linux Contributors",

[PATCH 10/13] Documentation: Rust general information

2021-04-14 Thread ojeda
From: Miguel Ojeda Most of the documentation for Rust is written within the source code itself, as it is idiomatic for Rust projects. This applies to both the shared infrastructure at `rust/` as well as any other Rust module (e.g. drivers) written across the kernel. These documents are general i

[PATCH 07/13] Rust: Kernel crate

2021-04-14 Thread ojeda
From: Miguel Ojeda The `kernel` crate currently includes all the abstractions that wrap kernel features written in C. These abstractions call the C side of the kernel via the generated bindings with the `bindgen` tool. Modules developed in Rust should never call the bindings themselves. In the

[PATCH 12/13] Rust: add abstractions for Binder (WIP)

2021-04-14 Thread ojeda
From: Miguel Ojeda These abstractions are work in progress. They are needed for the next commit, which is the one intended to be reviewed. Co-developed-by: Alex Gaynor Signed-off-by: Alex Gaynor Co-developed-by: Geoffrey Thomas Signed-off-by: Geoffrey Thomas Co-developed-by: Finn Behrens Si

[PATCH 13/13] Android: Binder IPC in Rust (WIP)

2021-04-14 Thread ojeda
From: Wedson Almeida Filho A port to Rust of the Android Binder IPC mechanism. This driver is a work in progress and will be sent for review later on, as well as separately from the Rust support. However, we include it in the RFC so that we can show how an actual working module written in Rust

[PATCH 09/13] Samples: Rust examples

2021-04-14 Thread ojeda
From: Miguel Ojeda A set of Rust modules that showcase how Rust modules look like and how to use the abstracted kernel features. At the moment we also use them as poor man's tests in our CI. However, we plan to implement a proper testing framework. The semaphore sample comes with a C version fo

[PATCH 11/13] MAINTAINERS: Rust

2021-04-14 Thread ojeda
From: Miguel Ojeda Miguel, Alex and Wedson will be maintaining the Rust support. Co-developed-by: Alex Gaynor Signed-off-by: Alex Gaynor Co-developed-by: Wedson Almeida Filho Signed-off-by: Wedson Almeida Filho Signed-off-by: Miguel Ojeda --- MAINTAINERS | 14 ++ 1 file changed

Re: [PATCH v2 3/9] userfaultfd/shmem: support minor fault registration for shmem

2021-04-14 Thread Peter Xu
On Wed, Apr 14, 2021 at 12:36:13AM -0700, Hugh Dickins wrote: > On Mon, 12 Apr 2021, Axel Rasmussen wrote: > > > This patch allows shmem-backed VMAs to be registered for minor faults. > > Minor faults are appropriately relayed to userspace in the fault path, > > for VMAs with the relevant flag. >

Re: [PATCH] mm: Optimise nth_page for contiguous memmap

2021-04-14 Thread Matthew Wilcox
On Wed, Apr 14, 2021 at 05:24:42PM +0200, David Hildenbrand wrote: > On 13.04.21 21:46, Matthew Wilcox (Oracle) wrote: > > +#if defined(CONFIG_SPARSEMEM) && !defined(CONFIG_SPARSEMEM_VMEMMAP) > > #define nth_page(page,n) pfn_to_page(page_to_pfn((page)) + (n)) > > +#else > > +#define nth_page(page

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

2021-04-14 Thread Nick Terrell
On Wed, Apr 14, 2021 at 11:35 AM Eric Biggers wrote: > > On Wed, Apr 14, 2021 at 11:01:29AM -0700, Nick Terrell wrote: > > Hi all, > > > > I would really like to make some progress on this and get it merged. > > This patchset offsers: > > * 15-30% better decompression speed > > * 3 years of zstd b

[PATCH bpf-next v4 0/6] Add a snprintf eBPF helper

2021-04-14 Thread Florent Revest
We have a usecase where we want to audit symbol names (if available) in callback registration hooks. (ex: fentry/nf_register_net_hook) A few months back, I proposed a bpf_kallsyms_lookup series but it was decided in the reviews that a more generic helper, bpf_snprintf, would be more useful. This

[PATCH bpf-next v4 3/6] bpf: Add a bpf_snprintf helper

2021-04-14 Thread Florent Revest
The implementation takes inspiration from the existing bpf_trace_printk helper but there are a few differences: To allow for a large number of format-specifiers, parameters are provided in an array, like in bpf_seq_printf. Because the output string takes two arguments and the array of parameters

[PATCH bpf-next v4 2/6] bpf: Add a ARG_PTR_TO_CONST_STR argument type

2021-04-14 Thread Florent Revest
This type provides the guarantee that an argument is going to be a const pointer to somewhere in a read-only map value. It also checks that this pointer is followed by a zero character before the end of the map value. Signed-off-by: Florent Revest Acked-by: Andrii Nakryiko --- include/linux/bpf

[PATCH bpf-next v4 4/6] libbpf: Initialize the bpf_seq_printf parameters array field by field

2021-04-14 Thread Florent Revest
When initializing the __param array with a one liner, if all args are const, the initial array value will be placed in the rodata section but because libbpf does not support relocation in the rodata section, any pointer in this array will stay NULL. Fixes: c09add2fbc5a ("tools/libbpf: Add bpf_iter

[PATCH bpf-next v4 6/6] selftests/bpf: Add a series of tests for bpf_snprintf

2021-04-14 Thread Florent Revest
The "positive" part tests all format specifiers when things go well. The "negative" part makes sure that incorrect format strings fail at load time. Signed-off-by: Florent Revest --- .../selftests/bpf/prog_tests/snprintf.c | 124 ++ .../selftests/bpf/progs/test_snprintf.c

[PATCH bpf-next v4 1/6] bpf: Factorize bpf_trace_printk and bpf_seq_printf

2021-04-14 Thread Florent Revest
Two helpers (trace_printk and seq_printf) have very similar implementations of format string parsing and a third one is coming (snprintf). To avoid code duplication and make the code easier to maintain, this moves the operations associated with format string parsing (validation and argument sanitiz

[PATCH bpf-next v4 5/6] libbpf: Introduce a BPF_SNPRINTF helper macro

2021-04-14 Thread Florent Revest
Similarly to BPF_SEQ_PRINTF, this macro turns variadic arguments into an array of u64, making it more natural to call the bpf_snprintf helper. Signed-off-by: Florent Revest Acked-by: Andrii Nakryiko --- tools/lib/bpf/bpf_tracing.h | 18 ++ 1 file changed, 18 insertions(+) diff

Re: [PATCH] i2c: I2C_HISI should depend on ARCH_HISI && ACPI

2021-04-14 Thread Geert Uytterhoeven
Hi Andy, On Wed, Apr 14, 2021 at 8:18 PM Andy Shevchenko wrote: > On Wed, Apr 14, 2021 at 08:06:18PM +0200, Geert Uytterhoeven wrote: > > On Wed, Apr 14, 2021 at 11:24 AM Yicong Yang > > wrote: > > > On 2021/4/13 20:26, Geert Uytterhoeven wrote: > > > > The HiSilicon Kunpeng I2C controller is o

Re: [PATCH] staging: media: atomisp: pci: Format multi-line comments according to coding-style in file atomisp_cmd.c

2021-04-14 Thread ascordeiro
Em qua, 2021-04-14 às 21:33 +0300, Sakari Ailus escreveu: > Hi Aline, > > Thanks for the patch. > > On Wed, Apr 14, 2021 at 03:27:55PM -0300, Aline Santana Cordeiro > wrote: > > Format multi-line comments according to the coding-style. > > Issue detected by checkpatch.pl. > > > > Signed-off-by:

Re: [PATCH 2/7] stm class: Replace uuid_t with plain u8 uuid[16]

2021-04-14 Thread Greg Kroah-Hartman
On Wed, Apr 14, 2021 at 08:47:48PM +0300, Andy Shevchenko wrote: > On Wed, Apr 14, 2021 at 07:33:38PM +0200, Greg Kroah-Hartman wrote: > > On Wed, Apr 14, 2021 at 08:12:46PM +0300, Alexander Shishkin wrote: > > > From: Andy Shevchenko > > > > > > It appears that uuid_t use in STM code abuses UUID

Re: [PATCH] selftests/bpf: Fix the ASSERT_ERR_PTR macro

2021-04-14 Thread Martin KaFai Lau
On Wed, Apr 14, 2021 at 05:56:32PM +0200, Florent Revest wrote: > It is just missing a ';'. This macro is not used by any test yet. > > Signed-off-by: Florent Revest Fixes: 22ba36351631 ("selftests/bpf: Move and extend ASSERT_xxx() testing macros") Since it has not been used, it could be bpf-ne

[PATCH v18 2/2] ufs: sysfs: Resume the proper scsi device

2021-04-14 Thread Asutosh Das
Resumes the actual scsi device the unit descriptor of which is being accessed instead of the hba alone. Reviewed-by: Can Guo Signed-off-by: Asutosh Das --- drivers/scsi/ufs/ufs-sysfs.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/scsi/uf

[PATCH v18 1/2] scsi: ufs: Enable power management for wlun

2021-04-14 Thread Asutosh Das
During runtime-suspend of ufs host, the scsi devices are already suspended and so are the queues associated with them. But the ufs host sends SSU (START_STOP_UNIT) to wlun during its runtime-suspend. During the process blk_queue_enter checks if the queue is not in suspended state. If so, it waits f

Re: [PATCH 03/13] Makefile: Generate CLANG_FLAGS even in GCC builds

2021-04-14 Thread Nathan Chancellor
Hi Miguel, On Wed, Apr 14, 2021 at 08:45:54PM +0200, oj...@kernel.org wrote: > From: Miguel Ojeda > > To support Rust under GCC-built kernels, we need to save the flags that > would have been passed if the kernel was being compiled with Clang. > > The reason is that bindgen -- the tool we use t

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

2021-04-14 Thread Eric Biggers
On Wed, Apr 14, 2021 at 11:53:51AM -0700, Nick Terrell wrote: > On Wed, Apr 14, 2021 at 11:35 AM Eric Biggers wrote: > > > > On Wed, Apr 14, 2021 at 11:01:29AM -0700, Nick Terrell wrote: > > > Hi all, > > > > > > I would really like to make some progress on this and get it merged. > > > This patch

Re: [PATCH v2 00/16] Multigenerational LRU Framework

2021-04-14 Thread Yu Zhao
On Wed, Apr 14, 2021 at 9:51 AM Andi Kleen wrote: > > >2) It will not scan PTE tables under non-leaf PMD entries that do not > > have the accessed bit set, when > > CONFIG_HAVE_ARCH_PARENT_PMD_YOUNG=y. > > This assumes that workloads have reasonable locality. Could there > be a wo

Re: [PATCH v2] perf beauty: Fix fsconfig generator

2021-04-14 Thread Arnaldo Carvalho de Melo
Em Wed, Apr 14, 2021 at 09:27:23PM +0300, Vitaly Chikunov escreveu: > After gnulib update sed stopped matching `[[:space:]]*+' as before, > causing the following compilation error: > > In file included from builtin-trace.c:719: > trace/beauty/generated/fsconfig_arrays.c:2:3: error: expected ex

Re: [PATCH v2 1/2] spi: Add DFL bus driver for Altera SPI Master

2021-04-14 Thread matthew . gerlach
On Wed, 14 Apr 2021, Mark Brown wrote: On Tue, Apr 13, 2021 at 03:58:34PM -0700, matthew.gerl...@linux.intel.com wrote: +++ b/drivers/spi/spi-altera-dfl.c @@ -0,0 +1,222 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * DFL bus driver for Altera SPI Master + * Please make the entire comment

[PATCH net-next v6] atl1c: move tx cleanup processing out of interrupt

2021-04-14 Thread Gatis Peisenieks
Tx queue cleanup happens in interrupt handler on same core as rx queue processing. Both can take considerable amount of processing in high packet-per-second scenarios. Sending big amounts of packets can stall the rx processing which is unfair and also can lead to out-of-memory condition since __de

Re: [PATCH 4/5] sh: Get rid of oprofile leftovers

2021-04-14 Thread Geert Uytterhoeven
On Wed, Apr 14, 2021 at 3:53 PM Marc Zyngier wrote: > perf_pmu_name() and perf_num_counters() are unused. Drop them. > > Signed-off-by: Marc Zyngier Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 --

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