[PATCH v2 17/24] scsi: be2iscsi: be_iscsi: Fix API/documentation slip

2020-07-13 Thread Lee Jones
And add descriptions for a couple of missing function parameters. Fixes the following W=1 kernel build warning(s): drivers/scsi/be2iscsi/be_iscsi.c:38: warning: Function parameter or member 'ep' not described in 'beiscsi_session_create' drivers/scsi/be2iscsi/be_iscsi.c:173: warning: Function

[PATCH v2 24/24] scsi: aic7xxx: aic79xx_osm: Remove set but unused variabes 'saved_scsiid' and 'saved_modes'

2020-07-13 Thread Lee Jones
Haven't been used since 2006. Fixes the following W=1 kernel build warning(s): drivers/scsi/aic7xxx/aic79xx_osm.c: In function ‘ahd_linux_queue_abort_cmd’: drivers/scsi/aic7xxx/aic79xx_osm.c:2155:17: warning: variable ‘saved_modes’ set but not used [-Wunused-but-set-variable]

[PATCH v2 01/24] scsi: aacraid: aachba: Repair two kerneldoc headers

2020-07-13 Thread Lee Jones
The function headers for aac_get_config_status() and aac_get_containers() have suffered bitrot where the documentation hasn't kept up with the API. Fixes the following W=1 kernel build warning(s): drivers/scsi/aacraid/aachba.c:358: warning: Function parameter or member 'dev' not described in

[PATCH v2 07/24] scsi: aacraid: commsup: Fix a bunch of function header issues

2020-07-13 Thread Lee Jones
Some parameters not documented. Others misspelled. Also, functions must follow directly after the header that documents them. Fixes the following W=1 kernel build warning(s): drivers/scsi/aacraid/commsup.c:223: warning: Function parameter or member 'scmd' not described in 'aac_fib_alloc_tag'

[PATCH v2 22/24] scsi: aic7xxx: aic79xx_osm: Remove unused variables 'wait' and 'paused'

2020-07-13 Thread Lee Jones
It looks like they have never actually been used. Fixes the following W=1 kernel build warning(s): drivers/scsi/aic7xxx/aic79xx_osm.c: In function ‘ahd_linux_dev_reset’: drivers/scsi/aic7xxx/aic79xx_osm.c:782:9: warning: variable ‘wait’ set but not used [-Wunused-but-set-variable]

[PATCH v2 23/24] scsi: aic7xxx: aic79xx_osm: Fix 'amount_xferred' set but not used issue

2020-07-13 Thread Lee Jones
'amount_xferred' is used, but only in certain circumstances. Place the same stipulations on the defining/allocating of 'amount_xferred' as is placed when using it. We've been careful not to change any of the ordering semantics here. Fixes the following W=1 kernel build warning(s):

[PATCH v2 13/24] scsi: ipr: Remove a bunch of set but checked variables

2020-07-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): In file included from drivers/scsi/ipr.c:73: drivers/scsi/ipr.c: In function ‘ipr_mask_and_clear_interrupts’: drivers/scsi/ipr.c:740:15: warning: variable ‘int_reg’ set but not used [-Wunused-but-set-variable] drivers/scsi/ipr.c: In function

[PATCH v2 20/24] scsi: lpfc: lpfc_nvme: Correct some pretty obvious misdocumentation

2020-07-13 Thread Lee Jones
Either due to API slippage before the driver was mainlined or copy/paste errors. Fixes the following W=1 kernel build warning(s): drivers/scsi/lpfc/lpfc_nvme.c:254: warning: Function parameter or member 'pnvme_lport' not described in 'lpfc_nvme_create_queue' drivers/scsi/lpfc/lpfc_nvme.c:254:

[PATCH v2 05/24] scsi: aacraid: dpcsup: Demote partially documented function header

2020-07-13 Thread Lee Jones
This should be populated by someone who knows the meaning of all the params. Fixes the following W=1 kernel build warning(s): drivers/scsi/aacraid/dpcsup.c:272: warning: Function parameter or member 'isAif' not described in 'aac_intr_normal' drivers/scsi/aacraid/dpcsup.c:272: warning:

[PATCH v2 06/24] scsi: aic94xx: aic94xx_seq: Document 'lseq' and repair asd_update_port_links() header

2020-07-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/scsi/aic94xx/aic94xx_seq.c:587: warning: Function parameter or member 'lseq' not described in 'asd_init_lseq_mip' drivers/scsi/aic94xx/aic94xx_seq.c:674: warning: Function parameter or member 'lseq' not described in 'asd_init_lseq_mdp'

[PATCH v2 08/24] scsi: aic94xx: aic94xx_scb: Fix a couple of formatting and bitrot issues

2020-07-13 Thread Lee Jones
Kerneldoc format should be '@.*: ', else the checker gets confused. Fixes the following W=1 kernel build warning(s): drivers/scsi/aic94xx/aic94xx_scb.c:137: warning: Function parameter or member 'phy' not described in 'asd_get_attached_sas_addr' drivers/scsi/aic94xx/aic94xx_scb.c:137:

[PATCH v2 18/24] scsi: be2iscsi: be_main: Fix misdocumentation of 'pcontext'

2020-07-13 Thread Lee Jones
Also demote unintentional kerneldoc header. Fixes the following W=1 kernel build warning(s): drivers/scsi/be2iscsi/be_main.c:986: warning: Function parameter or member 'pcontext' not described in 'alloc_wrb_handle' drivers/scsi/be2iscsi/be_main.c:986: warning: Excess function parameter

[PATCH v2 15/24] scsi: myrs: Demote obvious misuse of kerneldoc to standard comment blocks

2020-07-13 Thread Lee Jones
No attempt has been made to document any of the demoted functions here. Fixes the following W=1 kernel build warning(s): drivers/scsi/myrs.c:94: warning: Function parameter or member 'cmd_blk' not described in 'myrs_reset_cmd' drivers/scsi/myrs.c:105: warning: Function parameter or member

[PATCH v2 19/24] scsi: be2iscsi: be_mgmt: Add missing function parameter description

2020-07-13 Thread Lee Jones
Also promote fully documented function header to kerneldoc. Fixes the following W=1 kernel build warning(s): drivers/scsi/be2iscsi/be_mgmt.c:112: warning: Function parameter or member 'phba' not described in 'mgmt_open_connection' Cc: Subbu Seetharaman Cc: Ketan Mukadam Cc: Jitendra Bhivare

[PATCH v2 09/24] scsi: aacraid: rx: Fill in the very parameter descriptions for rx_sync_cmd()

2020-07-13 Thread Lee Jones
... and document aac_rx_ioremap() 'dev' param. Fixes the following W=1 kernel build warning(s): drivers/scsi/aacraid/rx.c:156: warning: Function parameter or member 'p2' not described in 'rx_sync_cmd' drivers/scsi/aacraid/rx.c:156: warning: Function parameter or member 'p3' not described in

Re: [PATCH v4 4/4] PCI/ACS: Enable PCI_ACS_TB for untrusted/external-facing devices

2020-07-13 Thread Joerg Roedel
On Sat, Jul 11, 2020 at 09:58:38PM -0500, Bjorn Helgaas wrote: > If BIOS handed off with ATS enabled and we somehow relied on it being > already enabled, something might break if we start disabling ATS. > Just a theoretical possibility, doesn't seem likely to me. I don't think this will be a

[PATCH v2 11/24] scsi: ipr: Fix a mountain of kerneldoc misdemeanours

2020-07-13 Thread Lee Jones
Mainly misspellings and/or missing function parameter descriptions. Fixes the following W=1 kernel build warning(s): drivers/scsi/ipr.c:10100:15: warning: variable ‘int_reg’ set but not used [-Wunused-but-set-variable] drivers/scsi/ipr.c:679: warning: Function parameter or member 'fast_done'

[PATCH v2 03/24] scsi: aacraid: dpcsup: Fix logical bug when !DBG

2020-07-13 Thread Lee Jones
When DBG is not enabled FIB_COUNTER_INCREMENT() results in an empty statement, leaving the contents of if() and else() empty. Fixes the following W=1 kernel build warning(s): drivers/scsi/aacraid/dpcsup.c: In function ‘aac_response_normal’: drivers/scsi/aacraid/dpcsup.c:105:50: warning:

[PATCH v2 04/24] scsi: aacraid: dpcsup: Remove unused variable 'status'

2020-07-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/scsi/aacraid/dpcsup.c: In function ‘aac_aif_callback’: drivers/scsi/aacraid/dpcsup.c:232:6: warning: variable ‘status’ set but not used [-Wunused-but-set-variable] 232 | int status; | ^~ Cc: Adaptec OEM Raid Solutions Cc:

[PATCH v2 10/24] scsi: pm8001: pm8001_ctl: Provide descriptions for the many undocumented 'attr's

2020-07-13 Thread Lee Jones
... even if they are completely unused. Fixes the following W=1 kernel build warning(s): drivers/scsi/pm8001/pm8001_ctl.c:56: warning: Function parameter or member 'attr' not described in 'pm8001_ctl_mpi_interface_rev_show' drivers/scsi/pm8001/pm8001_ctl.c:81: warning: Function parameter or

[PATCH v2 21/24] scsi: aic7xxx: aic79xx_osm: Remove unused variable 'ahd'

2020-07-13 Thread Lee Jones
Hasn't been used since 2005. Fixes the following W=1 kernel build warning(s): drivers/scsi/aic7xxx/aic79xx_osm.c: In function ‘ahd_linux_slave_configure’: drivers/scsi/aic7xxx/aic79xx_osm.c:703:20: warning: variable ‘ahd’ set but not used [-Wunused-but-set-variable] Cc: Hannes Reinecke

[PATCH v2 02/24] scsi: aacraid: commctrl: Fix a few kerneldoc issues

2020-07-13 Thread Lee Jones
Functions must follow imediately after the header documenting them and all parameters must be present. Fixes the following W=1 kernel build warning(s): drivers/scsi/aacraid/commctrl.c:43: warning: Excess function parameter 'dev' description in 'AAC_DEBUG_PREAMBLE'

[PATCH] EDAC: i5400_edac: Replace HTTP links with HTTPS ones

2020-07-13 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

[PATCH v2 12/24] scsi: virtio_scsi: Demote seemingly unintentional kerneldoc header

2020-07-13 Thread Lee Jones
This is the only use of kerneldoc in the sourcefile and no descriptions are provided. Fixes the following W=1 kernel build warning(s): drivers/scsi/virtio_scsi.c:109: warning: Function parameter or member 'vscsi' not described in 'virtscsi_complete_cmd' drivers/scsi/virtio_scsi.c:109:

[PATCH v2 14/24] scsi: ipr: Fix struct packed-not-aligned issues

2020-07-13 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/scsi/ipr.h:1687:1: warning: alignment 1 of ‘struct ipr_dump_location_entry’ is less than 4 [-Wpacked-not-aligned] 1687 | }__attribute__((packed)); | ^ drivers/scsi/ipr.h:1711:1: warning: alignment 1 of ‘struct ipr_driver_dump’ is less

[PATCH v2 00/24] Set 3: Fix another set of SCSI related W=1 warnings

2020-07-13 Thread Lee Jones
This set is part of a larger effort attempting to clean-up W=1 kernel builds, which are currently overwhelmingly riddled with niggly little warnings. Slowly working through the SCSI related ones. There are many. This brings the total of W=1 SCSI wanings from 1690 in v5.8-rc1 to 1109.

Re: [PATCH] fuse_writepages_fill() optimization to avoid WARN_ON in tree_insert

2020-07-13 Thread Vasily Averin
On 7/11/20 7:01 AM, Miklos Szeredi wrote: > On Thu, Jun 25, 2020 at 11:02 AM Vasily Averin wrote: >> >> In current implementation fuse_writepages_fill() tries to share the code: >> for new wpa it calls tree_insert() with num_pages = 0 >> then switches to common code used non-modified num_pages >>

Re: [5.8RC4][bugreport]WARNING: CPU: 28 PID: 211236 at fs/fuse/file.c:1684 tree_insert+0xaf/0xc0 [fuse]

2020-07-13 Thread Mikhail Gavrilov
On Mon, 13 Jul 2020 at 12:11, Mikhail Gavrilov wrote: > > On Mon, 13 Jul 2020 at 03:28, Mikhail Gavrilov > wrote: > > > > Hi folks. > > While testing 5.8 RCs I founded that kernel log flooded by the message > > "WARNING: CPU: 28 PID: 211236 at fs/fuse/file.c:1684 tree > > insert+0xaf/0xc0

Re: [Ksummit-discuss] [PATCH v3] CodingStyle: Inclusive Terminology

2020-07-13 Thread Takashi Iwai
On Wed, 08 Jul 2020 20:14:27 +0200, Dan Williams wrote: > > +Recommended replacements for 'blacklist/whitelist' are: > +'denylist / allowlist' > +'blocklist / passlist' I started looking through the tree now and noticed there are lots of patterns like "whitelisted" or "blacklisted". How

[PATCH] fbdev: sm712fb: handle ioremap() errors in probe

2020-07-13 Thread Evgeny Novikov
smtcfb_pci_probe() does not handle ioremap() errors for case 0x720. The patch fixes that exactly like for case 0x710/2. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Evgeny Novikov --- drivers/video/fbdev/sm712fb.c | 8 1 file changed, 8 insertions(+)

Re: WARNING: suspicious RCU usage in tipc_l2_send_msg

2020-07-13 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:4437dd6e Merge tag 'io_uring-5.8-2020-07-12' of git://git... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=17b7869f10 kernel config:

Re: [PATCH RFC 2/3] io_uring: add IOURING_REGISTER_RESTRICTIONS opcode

2020-07-13 Thread Stefano Garzarella
On Fri, Jul 10, 2020 at 11:52:48AM -0600, Jens Axboe wrote: > On 7/10/20 8:19 AM, Stefano Garzarella wrote: > > The new io_uring_register(2) IOURING_REGISTER_RESTRICTIONS opcode > > permanently installs a feature whitelist on an io_ring_ctx. > > The io_ring_ctx can then be passed to untrusted code

RE: [PATCH v3 1/3] xen/privcmd: Corrected error handling path

2020-07-13 Thread Paul Durrant
> -Original Message- > From: Souptick Joarder > Sent: 12 July 2020 04:40 > To: boris.ostrov...@oracle.com; jgr...@suse.com; sstabell...@kernel.org > Cc: xen-de...@lists.xenproject.org; linux-kernel@vger.kernel.org; Souptick > Joarder > ; John Hubbard ; Paul Durrant > > Subject: [PATCH

[PATCH 2/2] scsi: hisi_sas: Remove one kerneldoc comment

2020-07-13 Thread John Garry
The comment for interrupt_init_v2_hw() should not be a kerneldoc comment, so remove it. Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas_v2_hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/hisi_sas/hisi_sas_v2_hw.c

[PATCH 1/2] scsi: hisi_sas: Directly trigger SCSI error handling for completion errors

2020-07-13 Thread John Garry
From: Luo Jiaxing We used timeout mechanism of SCSI mid-layer to trigger some IO's error handle, this type of abnormal IO require driver to enter error handle to clear the residue in the hardware. But timeout mechanism caught error handle time to be longer, some threads need to wait for tens of

[PATCH 0/2] hisi_sas: A couple of misc patches

2020-07-13 Thread John Garry
Includes a patch to speed up error handling and a kerneldoc clean-up. John Garry (1): scsi: hisi_sas: Remove one kerneldoc comment Luo Jiaxing (1): scsi: hisi_sas: Directly trigger SCSI error handling for completion errors drivers/scsi/hisi_sas/hisi_sas_v1_hw.c | 4 +++-

RE: [PATCH v3 2/3] xen/privcmd: Mark pages as dirty

2020-07-13 Thread Paul Durrant
> -Original Message- > From: Souptick Joarder > Sent: 12 July 2020 04:40 > To: boris.ostrov...@oracle.com; jgr...@suse.com; sstabell...@kernel.org > Cc: xen-de...@lists.xenproject.org; linux-kernel@vger.kernel.org; Souptick > Joarder > ; John Hubbard ; Paul Durrant > > Subject: [PATCH

RE: [PATCH v3] scsi: ufs: Cleanup completed request without interrupt notification

2020-07-13 Thread Avri Altman
> > Hi Bart and Avri, > > On Sun, 2020-07-12 at 18:39 -0700, Bart Van Assche wrote: > > On 2020-07-06 06:21, Stanley Chu wrote: > > > If somehow no interrupt notification is raised for a completed request > > > and its doorbell bit is cleared by host, UFS driver needs to cleanup > > > its

RE: [PATCH v3 3/3] xen/privcmd: Convert get_user_pages*() to pin_user_pages*()

2020-07-13 Thread Paul Durrant
> -Original Message- > From: Souptick Joarder > Sent: 12 July 2020 04:40 > To: boris.ostrov...@oracle.com; jgr...@suse.com; sstabell...@kernel.org > Cc: xen-de...@lists.xenproject.org; linux-kernel@vger.kernel.org; Souptick > Joarder > ; John Hubbard ; Paul Durrant > > Subject: [PATCH

[PATCH] f2fs: gc: fix the variable used in PTR_ERR()

2020-07-13 Thread Xu Wang
PTR_ERR should access the value just tested by IS_ERR, so fix the variable used in PTR_ERR(). Signed-off-by: Xu Wang --- drivers/gpu/drm/i915/gt/selftest_lrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/gt/selftest_lrc.c

[PATCH] EDAC/ie31200: Replace HTTP links with HTTPS ones

2020-07-13 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

[PATCH] v4l2-ctrl: Add VP9 codec levels

2020-07-13 Thread Stanimir Varbanov
Add menu control for VP9 codec levels. A total of 14 levels are defined for Profile 0 (8bit) and Profile 2 (10bit). Each level is a set of constrained bitstreams coded with targeted resolutions, frame rates, and bitrates. The definition has been taken from webm project. Signed-off-by: Stanimir

Re: [PATCH v10 04/15] perf evlist: introduce control file descriptors

2020-07-13 Thread Alexey Budankov
On 13.07.2020 6:13, Namhyung Kim wrote: > Hello, > > On Wed, Jul 8, 2020 at 4:47 PM Alexey Budankov > wrote: >> >> >> Define and initialize control file descriptors. >> >> Signed-off-by: Alexey Budankov >> --- >> tools/perf/util/evlist.c | 3 +++ >> tools/perf/util/evlist.h | 5 + >> 2

RE: [PATCH v3] scsi: ufs-mediatek: Add inline encryption support

2020-07-13 Thread Avri Altman
> > Add inline encryption support to ufs-mediatek. > > The standards-compliant parts, such as querying the crypto capabilities > and enabling crypto for individual UFS requests, are already handled by > ufshcd-crypto.c, which itself is wired into the blk-crypto framework. > > However MediaTek

Re: [PATCH v3] arm64: dts: zii-ultra: update MDIO speed and preamble

2020-07-13 Thread Shawn Guo
On Tue, Jul 07, 2020 at 06:00:05PM -0700, Chris Healy wrote: > Update MDIO configuration with zii-ultra device to fully utilize > MDIO endpoint capabilities. Device supports 12.5MHz clock and > doesn't require MDIO preamble. > > Signed-off-by: Chris Healy Applied, thanks.

Re: [PATCH v2 10/24] scsi: pm8001: pm8001_ctl: Provide descriptions for the many undocumented 'attr's

2020-07-13 Thread Jinpu Wang
On Mon, Jul 13, 2020 at 10:00 AM Lee Jones wrote: > > ... even if they are completely unused. > > Fixes the following W=1 kernel build warning(s): > > drivers/scsi/pm8001/pm8001_ctl.c:56: warning: Function parameter or member > 'attr' not described in 'pm8001_ctl_mpi_interface_rev_show' >

[PATCH v2 0/2] PM / devfreq: Add governor flags

2020-07-13 Thread Chanwoo Choi
Devfreq provides the multiple governors and sysfs interface for user. But, some sysfs attributes are useful or not useful. Prior to that the user can access all sysfs attributes regardless of availability. So, clarify the access permission of sysfs attributes according to governor. Provide the

[PATCH v2 2/2] PM / devfreq: Add governor flags to clarify the features

2020-07-13 Thread Chanwoo Choi
DEVFREQ supports the default governors like performance, powersave and also allows the devfreq driver to add their own governor like tegra30-devfreq.c according to their requirement. In result, some sysfs attributes are useful or not useful. Prior to that the user can access all sysfs attributes

[PATCH v2 1/2] PM / devfreq: Clean up the devfreq instance name in sysfs attr

2020-07-13 Thread Chanwoo Choi
The sysfs attr interface used eithere 'df' or 'devfreq' for devfreq instance name. In order to keep the consistency and to improve the readabilty, unify the instance name as 'df'. Add add the missing conditional statement to prevent the fault. Signed-off-by: Chanwoo Choi ---

Re: [PATCH 1/3] dt-bindings: usb: ci-hdrc-usb2: add property disable-runtime-pm

2020-07-13 Thread Philippe Schenker
On Fri, 2020-07-10 at 12:56 -0300, Fabio Estevam wrote: > Hi Philippe, > > On Fri, Jul 10, 2020 at 12:51 PM Philippe Schenker > wrote: > > Chipidea depends on some hardware signals to be there in order > > I think this description is too vague. > > Could you please provide more details so that

linux-next: manual merge of the akpm-current tree with the net-next tree

2020-07-13 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the akpm-current tree got a conflict in: mm/cma.h between commit: a2b992c828f7 ("debugfs: make sure we can remove u32_array files cleanly") from the net-next tree and commit: bc7212aceef6 ("mm: cma: fix the name of CMA areas") from the akpm-current

Re: [PATCH v3] arm: dts: ZII: update MDIO speed and preamble

2020-07-13 Thread Shawn Guo
On Tue, Jul 07, 2020 at 06:16:27PM -0700, Chris Healy wrote: > Update MDIO configuration with ZII devices to fully utilize > MDIO endpoint capabilities. All devices support 12.5MHz clock and > don't require MDIO preable. > > Signed-off-by: Chris Healy > Reviewed-by: Fabio Estevam We use

[PATCH] HID: mcp2221: Replace HTTP links with HTTPS ones

2020-07-13 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH v2] ARM: dts: vf610-zii-dev-rev-c: Configure fiber port to 1000BaseX

2020-07-13 Thread Shawn Guo
On Wed, Jul 08, 2020 at 04:25:01PM -0700, Chris Healy wrote: > The SFF soldered onto the board expects the port to use 1000BaseX. It > makes no sense to have the port set to SGMII, since it doesn't even > support that mode. > > Signed-off-by: Chris Healy Applied, thanks.

Re: [PATCH v10 05/15] perf evlist: implement control command handling functions

2020-07-13 Thread Alexey Budankov
On 13.07.2020 6:20, Namhyung Kim wrote: > On Wed, Jul 8, 2020 at 4:50 PM Alexey Budankov > wrote: >> >> >> Implement functions of initialization, finalization and processing >> of control command messages coming from control file descriptors. >> Allocate control file descriptor as descriptor at

Re: [PATCH v2] arm: dts: vf610-zii-scu4-aib: Configure fibre ports to 1000BaseX

2020-07-13 Thread Shawn Guo
On Wed, Jul 08, 2020 at 05:11:54PM -0700, Chris Healy wrote: > From: Andrew Lunn > > The SFF soldered onto the board expect the ports to use 1000BaseX. It > makes no sense to have the ports set to SGMII, since they don't even > support that mode. > > Signed-off-by: Andrew Lunn >

Re: [PATCH v3] PCI: aardvark: Don't touch PCIe registers if no card connected

2020-07-13 Thread Pali Rohár
On Friday 10 July 2020 10:18:00 Lorenzo Pieralisi wrote: > On Thu, Jul 09, 2020 at 05:09:59PM +0200, Pali Rohár wrote: > > > I understand that but the bridge bus resource can be trimmed to just > > > contain the root bus because that's the only one where there is a > > > chance you can enumerate a

Re: [PATCH v2 2/2] soc: mediatek: add mtk-devapc driver

2020-07-13 Thread Neal Liu
Hi Chun-Kuang, Thanks for your review. On Fri, 2020-07-10 at 22:21 +0800, Chun-Kuang Hu wrote: > Hi, Neal: > > Neal Liu 於 2020年7月10日 週五 上午11:23寫道: > > > > Hi Chun-Kuang, > > > > Thanks for your review. > > > > On Thu, 2020-07-09 at 21:01 +0800, Chun-Kuang Hu wrote: > > > Hi, Neal: > > > > > >

[PATCH] KVM: nVMX: properly pad struct kvm_vmx_nested_state_hdr

2020-07-13 Thread Vitaly Kuznetsov
Holes in structs which are userspace ABI are undesireable. Fixes: 83d31e5271ac ("KVM: nVMX: fixes for preemption timer migration") Signed-off-by: Vitaly Kuznetsov --- Documentation/virt/kvm/api.rst | 2 +- arch/x86/include/uapi/asm/kvm.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)

[PATCH] IB/iser: Replace HTTP links with HTTPS ones

2020-07-13 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

[PATCH 1/2] riscv: Fix building error in entry.S when CONFIG_RISCV_M_MODE is enabled

2020-07-13 Thread Greentime Hu
arch/riscv/kernel/entry.S: Assembler messages: arch/riscv/kernel/entry.S:106: Error: illegal operands `andi a0,s1,0x1800' This building error is because of the SR_MPP value is too large to be used as an immediate value for andi. To fix this issue I use li to set the immediate value to t0,

[PATCH 2/2] riscv: Simplify the checking for SR_PP

2020-07-13 Thread Greentime Hu
This patch simplifies the checking for SR_MPP and SR_SPP. It uses SR_PP in the code flow for both m-mode and s-mode then we can remove the ifdef here. Signed-off-by: Greentime Hu --- arch/riscv/kernel/entry.S | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git

RE: [PATCH v11 1/2] ACPI / APEI: Add a notifier chain for unknown (vendor) CPER records

2020-07-13 Thread Shiju Jose
Hi Rafael, Hi James, Can you help to merge this patch because I added and tested all the suggestions from James. Thanks, Shiju >-Original Message- >From: linux-pci-ow...@vger.kernel.org [mailto:linux-pci- >ow...@vger.kernel.org] On Behalf Of Shiju Jose >Sent: 22 June 2020 13:05 >To:

Re: [PATCH] debugfs: add a proxy stub for ->read_iter

2020-07-13 Thread Greg KH
On Mon, Jul 13, 2020 at 09:37:29AM +0200, Christoph Hellwig wrote: > debugfs registrations typically go through a set of proxy ops to deal > with refcounting, which need to support every method that can be > supported. Add ->read_iter to the proxy ops to prepare for seq_file to > be switch to

Re: allow ->read_iter on debugfs

2020-07-13 Thread Greg KH
On Mon, Jul 13, 2020 at 09:37:28AM +0200, Christoph Hellwig wrote: > Hi Greg, > > in my filesystem set_fs removel series I convert the seq_file interface > to be iov_iter based. It turns out debugfs needs this little patch > to proxy read_iter as well. Let me know if you are ok with me queueing

BE MY PARTNER IN THIS BUSINESS

2020-07-13 Thread Mr Suleman Bello
Hello Dear Friend, I am Mr.Suleman Bello from Burkina faso in West Africa, I have an important business discussion I wish to share with you which I believe will interest you, and you are going to benefit from it. We shall go over the details once i receive your urgent response. let me know you

Re: [PATCH v2 1/5] power: supply: core: add quick charge type property

2020-07-13 Thread Greg KH
On Mon, Jul 13, 2020 at 12:03:36PM +0800, Qiwu Huang wrote: > From: Qiwu Huang > > Reports the kind of quick charge type based on > different adapter power. UI will show different > animation effect for different quick charge type. > > Signed-off-by: Qiwu Huang > --- >

Re: [PATCH v4 2/2] Add Intel LGM soc DMA support.

2020-07-13 Thread Reddy, MallikarjunaX
Thanks for the review Andy. My comments inline. On 7/9/2020 7:09 PM, Andy Shevchenko wrote: On Thu, Jul 09, 2020 at 02:01:06PM +0800, Amireddy Mallikarjuna reddy wrote: Add DMA controller driver for Lightning Mountain(LGM) family of SoCs. The main function of the DMA controller is the

Re: [PATCH v2 2/5] power: supply: core: add wireless charger adapter type property

2020-07-13 Thread Greg KH
On Mon, Jul 13, 2020 at 12:03:37PM +0800, Qiwu Huang wrote: > From: Qiwu Huang > > Reports what type of wireless adapter connection is > currently active forthe supply. > for example it can show if ADAPTER_PD capable source is attached. > > Signed-off-by: Qiwu Huang > --- >

[PATCH] LICENSES: Replace HTTP links with HTTPS ones

2020-07-13 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH V2] soc: imx: select ARM_GIC_V3 for i.MX8M

2020-07-13 Thread Shawn Guo
On Fri, Jul 10, 2020 at 09:43:53AM +0800, peng@nxp.com wrote: > From: Peng Fan > > Select ARM_GIC_V3, then it is able to use gic v3 driver in aarch32 > mode linux on aarch64 hardware. For aarch64 mode, it not hurts > to select ARM_GIC_V3. > > Acked-by: Arnd Bergmann > Signed-off-by: Peng

[PATCH v18 00/14] Introduce Data Access MONitor (DAMON)

2020-07-13 Thread SeongJae Park
From: SeongJae Park Changes from Previous Version = - Reorganize the doc and remove png blobs (Mike Rapoport) - Wordsmith mechnisms doc and commit messages - tools/wss: Set default working set access frequency threshold - Avoid race in damon deamon start

Re: [Ksummit-discuss] [PATCH v3] CodingStyle: Inclusive Terminology

2020-07-13 Thread Julia Lawall
On Mon, 13 Jul 2020, Takashi Iwai wrote: > On Wed, 08 Jul 2020 20:14:27 +0200, > Dan Williams wrote: > > > > +Recommended replacements for 'blacklist/whitelist' are: > > +'denylist / allowlist' > > +'blocklist / passlist' > > I started looking through the tree now and noticed there are

[PATCH v18 02/14] mm: Introduce Data Access MONitor (DAMON)

2020-07-13 Thread SeongJae Park
From: SeongJae Park DAMON is a data access monitoring framework subsystem for the Linux kernel. The core mechanisms of DAMON make it - accurate (the monitoring output is useful enough for DRAM level memory management; It might not appropriate for CPU Cache levels, though), -

[PATCH v18 04/14] mm/damon: Adaptively adjust regions

2020-07-13 Thread SeongJae Park
From: SeongJae Park Even somehow the initial monitoring target regions are well constructed to fulfill the assumption (pages in same region have similar access frequencies), the data access pattern can be dynamically changed. This will result in low monitoring quality. To keep the assumption

[PATCH v18 03/14] mm/damon: Implement region based sampling

2020-07-13 Thread SeongJae Park
From: SeongJae Park DAMON separates its monitoring target address space independent high level logics from the target space dependent low level primitives for flexible support of various address spaces. This commit implements DAMON's target address space independent high level logics for basic

[PATCH v18 01/14] mm/page_ext: Export lookup_page_ext() to GPL modules

2020-07-13 Thread SeongJae Park
From: SeongJae Park This commit exports 'lookup_page_ext()' to GPL modules. It will be used by DAMON in following commit for the implementation of the region based sampling. Signed-off-by: SeongJae Park Reviewed-by: Leonard Foerster Reviewed-by: Varad Gautam --- mm/page_ext.c | 1 + 1 file

Re: [PATCH] ARM: imx_v6_v7_defconfig: Support i.MX8MM

2020-07-13 Thread Shawn Guo
On Fri, Jul 10, 2020 at 10:10:53AM +0800, peng@nxp.com wrote: > From: Peng Fan > > i.MX8MM is built with AArch64 hardware, this is to support > it could run in Aarch32 mode with clock and pinctrl driver enabled. > > Signed-off-by: Peng Fan Applied, thanks.

[PATCH v18 07/14] mm/damon: Implement access pattern recording

2020-07-13 Thread SeongJae Park
From: SeongJae Park This commit implements the recording feature of DAMON. If this feature is enabled, DAMON writes the monitored access patterns in its binary format into a file which specified by the user. This is already able to be implemented by each user using the callbacks. However, as

Re: [PATCH] EDAC-TI: Replace HTTP links with HTTPS ones

2020-07-13 Thread Tero Kristo
On 09/07/2020 20:47, Alexander A. Klimov wrote: Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`:

[PATCH v18 05/14] mm/damon: Track dynamic monitoring target regions update

2020-07-13 Thread SeongJae Park
From: SeongJae Park The monitoring target address range can be dynamically changed. For example, virtual memory could be dynamically mapped and unmapped. Physical memory could be hot-plugged. As the changes could be quite frequent in some cases, DAMON checks the dynamic memory mapping changes

[PATCH v18 08/14] mm/damon: Add a tracepoint

2020-07-13 Thread SeongJae Park
From: SeongJae Park This commit adds a tracepoint for DAMON. It traces the monitoring results of each region for each aggregation interval. Using this, DAMON can easily integrated with tracepoints supporting tools such as perf. Signed-off-by: SeongJae Park Reviewed-by: Leonard Foerster ---

Re: [PATCH v2 5/5] power: supply: core: supply battery soc with decimal form

2020-07-13 Thread Greg KH
On Mon, Jul 13, 2020 at 12:03:40PM +0800, Qiwu Huang wrote: > From: Qiwu Huang > > Broadcast battery soc with decimal form. > soc_decimal is the decimal part of battery soc. > soc_decimal_rate is update frequency of decimal > part of battery soc. > We want to report such as 0.01 to 99.99% to >

[PATCH v18 06/14] mm/damon: Implement callbacks for the virtual memory address spaces

2020-07-13 Thread SeongJae Park
From: SeongJae Park This commit introduces a reference implementation of the address space specific low level primitives for the virtual address space, so that users of DAMON can easily monitor the data accesses on virtual address spaces of specific processes by simply configuring the

[PATCH v18 10/14] tools: Introduce a minimal user-space tool for DAMON

2020-07-13 Thread SeongJae Park
From: SeongJae Park This commit imtroduces a shallow wrapper python script, ``/tools/damon/damo`` that provides more convenient interface. Note that it is only aimed to be used for minimal reference of the DAMON's debugfs interfaces and for debugging of the DAMON itself. Signed-off-by:

RE: [PATCH] Replace HTTP links with HTTPS ones: Dialog Semiconductor drivers

2020-07-13 Thread Adam Thomson
On 05 July 2020 08:56, Alexander A. Klimov wrote: > Rationale: > Reduces attack surface on kernel devs opening the links for MITM > as HTTPS traffic is much harder to manipulate. > > Deterministic algorithm: > For each file: > If not .svg: > For each line: > If doesn't contain

[PATCH v18 09/14] mm/damon: Implement a debugfs interface

2020-07-13 Thread SeongJae Park
From: SeongJae Park This commit implements a debugfs interface for DAMON. It works for the virtual address spaces monitoring. DAMON exports four files, ``attrs``, ``pids``, ``record``, and ``monitor_on`` under its debugfs directory, ``/damon/``. Attributes -- Users can read and write

[PATCH v18 13/14] mm/damon: Add user space selftests

2020-07-13 Thread SeongJae Park
From: SeongJae Park This commit adds a simple user space tests for DAMON. The tests are using kselftest framework. Signed-off-by: SeongJae Park --- tools/testing/selftests/damon/Makefile| 7 + .../selftests/damon/_chk_dependency.sh| 28

[PATCH v18 12/14] mm/damon: Add kunit tests

2020-07-13 Thread SeongJae Park
From: SeongJae Park This commit adds kunit based unit tests for DAMON. Signed-off-by: SeongJae Park Reviewed-by: Brendan Higgins --- mm/Kconfig | 11 + mm/damon-test.h | 661 mm/damon.c | 6 + 3 files changed, 678 insertions(+)

[PATCH v18 11/14] Documentation: Add documents for DAMON

2020-07-13 Thread SeongJae Park
From: SeongJae Park This commit adds documents for DAMON under `Documentation/admin-guide/mm/damon/` and `Documentation/vm/damon/`. Signed-off-by: SeongJae Park --- Documentation/admin-guide/mm/damon/guide.rst | 157 ++ Documentation/admin-guide/mm/damon/index.rst | 15 +

[PATCH v18 14/14] MAINTAINERS: Update for DAMON

2020-07-13 Thread SeongJae Park
From: SeongJae Park This commit updates MAINTAINERS file for DAMON related files. Signed-off-by: SeongJae Park --- MAINTAINERS | 13 + 1 file changed, 13 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 50659d76976b..23348005f5bd 100644 --- a/MAINTAINERS +++

Re: [PATCH v5 07/13] pwm: add support for sl28cpld PWM controller

2020-07-13 Thread Uwe Kleine-König
Hello Michael, On Sat, Jul 11, 2020 at 07:28:05PM +0200, Michael Walle wrote: > Am 2020-07-09 10:50, schrieb Uwe Kleine-König: > > On Mon, Jul 06, 2020 at 07:53:47PM +0200, Michael Walle wrote: > > > diff --git a/drivers/pwm/pwm-sl28cpld.c b/drivers/pwm/pwm-sl28cpld.c > > > new file mode 100644 >

Re: [fs] 936e92b615: unixbench.score 32.3% improvement

2020-07-13 Thread Shaokun Zhang
Hi maintainers, This issue is debugged on Huawei Kunpeng 920 which is an ARM64 platform and we also do more tests on x86 platform. Since Rong has also reported the improvement on x86,it seems necessary for us to do it. Any comments on it? Thanks, Shaokun 在 2020/7/8 15:23, kernel test robot

Re: [PATCH net-next v1 5/5] net: phy: micrel: ksz886x/ksz8081: add cabletest support

2020-07-13 Thread Oleksij Rempel
On Mon, Jul 13, 2020 at 06:11:30AM +0200, Oleksij Rempel wrote: > On Sat, Jul 11, 2020 at 08:29:12PM +0200, Andrew Lunn wrote: > > On Fri, Jul 10, 2020 at 02:08:51PM +0200, Oleksij Rempel wrote: > > > This patch support for cable test for the ksz886x switches and the > > > ksz8081 PHY. > > > > >

Re: [PATCH] selftests/livepatch: adopt to newer sysctl error format

2020-07-13 Thread Kamalesh Babulal
On 11/07/20 12:01 am, Joe Lawrence wrote: > On Fri, Jul 10, 2020 at 05:27:35PM +0200, Petr Mladek wrote: >> On Fri 2020-07-10 10:40:43, Kamalesh Babulal wrote: >>> With procfs v3.3.16, the sysctl command doesn't prints the set key and >>> value on error. This change breaks livepatch selftest

[PATCH] MIPS: Replace HTTP links with HTTPS ones

2020-07-13 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [RFC PATCH 0/2] PM / devfreq: Add delayed timer for polling

2020-07-13 Thread Lukasz Luba
Hi Willy On 7/10/20 4:12 PM, Willy Wolff wrote: Hi Lukasz, On 2020-07-08-15-25-03, Lukasz Luba wrote: Hi Willy, On 7/3/20 1:33 PM, Willy Wolff wrote: Hi Chanwoo, I think it doesn't help on the benchmark I suggested that is doing only memory accesses. With both timer, I have the same

Re: [PATCH] regulator: cros-ec: Constify cros_ec_regulator_voltage_ops

2020-07-13 Thread Pi-Hsun Shih
Acked-by: Pi-Hsun Shih On Sat, Jul 11, 2020 at 7:44 PM Rikard Falkeborn wrote: > > It is never modified, so make it const to allow the compiler to put it > in read-only memory. > > Signed-off-by: Rikard Falkeborn > --- > drivers/regulator/cros-ec-regulator.c | 2 +- > 1 file changed, 1

Re: [PATCH] arm64: dts: lx2160a: Increase configuration space size

2020-07-13 Thread Shawn Guo
On Fri, Jul 10, 2020 at 03:21:44PM +0530, Wasim Khan wrote: > From: Wasim Khan > > lx2160a rev2 requires 4KB space for type0 and 4KB > space for type1 iATU window. Increase configuration > space size to 8KB to have sufficient space for type0 > and type1 window. > > Signed-off-by: Wasim Khan >

[PATCH v5 1/2] dt-bindings: phy: Add USB PHY support for Intel LGM SoC

2020-07-13 Thread Ramuthevar,Vadivel MuruganX
From: Ramuthevar Vadivel Murugan Add the dt-schema to support USB PHY on Intel LGM SoC Signed-off-by: Ramuthevar Vadivel Murugan Reviewed-by: Rob Herring --- .../devicetree/bindings/phy/intel,lgm-usb-phy.yaml | 53 ++ 1 file changed, 53 insertions(+) create mode 100644

  1   2   3   4   5   6   7   8   9   10   >