[V2,1/1] platform/x86: add support for Advantech software defined button

2021-03-12 Thread YingChieh Ho
From: "Andrea.Ho" Advantech sw_button is a ACPI event trigger button. With this driver, we can report KEY_EVENT on the Advantech Tabletop Network Appliances products and it has been tested in FWA1112VC. Add the software define button support to report EV_REP key_event (KEY_PROG1) by pressing bu

YOU HAVE WON

2021-03-12 Thread lottonlxxx
LOTTO.NL, 2391 Beds 152 Koningin Julianaplein 21, Den Haag-Netherlands. (Lotto affiliate with Subscriber Agents). From: Susan Console (Lottery Coordinator) Website: www.lotto.nl Sir/Madam, CONGRATULATIONS!!! We are pleased to inform you of the result of the Lotto NL Winners International progr

[PATCH] drm/msm: Fix sparse warnings in adreno-smmu-priv.h

2021-03-12 Thread Valdis Klētnieks
sparse throws 27 complaints of the form: CHECK /usr/src/linux-next/drivers/gpu/drm/msm/msm_perf.c /usr/src/linux-next/drivers/gpu/drm/msm/msm_perf.c: note: in included file (through /usr/src/linux-next/drivers/gpu/drm/msm/msm_gpu.h): /usr/src/linux-next/include/linux/adreno-smmu-priv.h:36:33:

[PATCH v2 RESEND] x86/apic/of: Fix CPU devicetree-node lookups

2021-03-12 Thread Johan Hovold
Architectures that describe the CPU topology in devicetree and that do not have an identity mapping between physical and logical CPU ids need to override the default implementation of arch_match_cpu_phys_id(). Failing to do so breaks CPU devicetree-node lookups using of_get_cpu_node() and of_cpu_d

Re: [PATCH v2] arm: print alloc free paths for address in registers

2021-03-12 Thread Vlastimil Babka
On 3/11/21 11:51 AM, Maninder Singh wrote: > Hi, > >   > >> Instead of your changes to SL*B, could you check mem_dump_obj() and others >> added >> by Paul in 5.12-rc1? > >> (+CC Paul, thus not trimming) > >   > > checked mem_dump_obj(), but it only provides path of allocation and not of  > fr

Re: arm64 syzbot instances

2021-03-12 Thread Dmitry Vyukov
On Fri, Mar 12, 2021 at 10:16 AM Arnd Bergmann wrote: > > On Fri, Mar 12, 2021 at 9:46 AM Dmitry Vyukov wrote: > > On Fri, Mar 12, 2021 at 9:40 AM Arnd Bergmann wrote: > > > On Thu, Mar 11, 2021 at 6:57 PM Dmitry Vyukov wrote: > > > a) accessing a legacy ISA/LPC port should not result in an oop

Re: [RFC PATCH 1/5] rpmb: add Replay Protected Memory Block (RPMB) subsystem

2021-03-12 Thread Linus Walleij
Hi Hector, thanks for the long and detailed answer! I learn new things all the time. (Maybe one day I add something too, who knows.) I hope I'm not taking too much of your time, we're having fun :) On Thu, Mar 11, 2021 at 9:02 PM Hector Martin wrote: > On 11/03/2021 23.06, Linus Walleij wrote:

Re: [External] Re: [PATCH v3 3/4] mm: memcontrol: use obj_cgroup APIs to charge kmem pages

2021-03-12 Thread Muchun Song
On Thu, Mar 11, 2021 at 6:05 AM Johannes Weiner wrote: > > Hello Munchun, > > On Tue, Mar 09, 2021 at 06:07:16PM +0800, Muchun Song wrote: > > @@ -6806,11 +6823,23 @@ static inline void uncharge_gather_clear(struct > > uncharge_gather *ug) > > static void uncharge_batch(const struct uncharge_gat

Re: [syzbot] WARNING in __i2c_transfer

2021-03-12 Thread Wolfram Sang
On Thu, Mar 11, 2021 at 11:47:17PM -0800, syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit:28806e4d Merge tag 'media/v5.12-2' of git://git.kernel.org.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=11192342d0 > kernel

Re: [PATCH] pinctrl: core: Set ret to 0 when group is skipped

2021-03-12 Thread Colin Ian King
On 12/03/2021 07:31, Michal Simek wrote: > Static analyzer tool found that the ret variable is not initialized but > code expects ret value >=0 when pinconf is skipped in the first pinmux > loop. The same expectation is for pinmux in a pinconf loop. > That's why initialize ret to 0 to avoid uniniti

RE: Errant readings on LM81 with T2080 SoC

2021-03-12 Thread David Laight
From: Linuxppc-dev Guenter Roeck > Sent: 11 March 2021 21:35 > > On 3/11/21 1:17 PM, Chris Packham wrote: > > > > On 11/03/21 9:18 pm, Wolfram Sang wrote: > >>> Bummer. What is really weird is that you see clock stretching under > >>> CPU load. Normally clock stretching is triggered by the device,

[PATCH 1/2] ARM: OMAP2+: Stop building legacy code for dra7 and omap4/5

2021-03-12 Thread Tony Lindgren
With the recent changes we are now booting am3/4, dra7, and omap4/5 without legacy data using devicetree, simple-pm-bus and genpd. Let's not initialize and build the legacy data unless CONFIG_OMAP_HWMOD is selected based on the SoCs enabled in .config. Signed-off-by: Tony Lindgren --- arch/arm/m

[PATCH 0/2] Few clean-up patches after dropping legacy data

2021-03-12 Thread Tony Lindgren
Hi all, Here are few clean-up patches after we are dropping the legacy data for omap4/5 and dra7. These are against my omap-for-v5.13/genpd-drop-legacy branch at [0]. Regards, Tony [0] https://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git/log/?h=omap-for-v5.13/genpd-drop-legac

[PATCH 2/2] bus: ti-sysc: Warn about old dtb for dra7 and omap4/5

2021-03-12 Thread Tony Lindgren
Let's warn if an old incomplete dtb is detected. We now assume the dtb is complete and does not depend on the legacy platform data. Signed-off-by: Tony Lindgren --- drivers/bus/ti-sysc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/bus/ti-sysc.c b/drivers/bus/ti-sysc.c --- a/dr

Re: [PATCH v4 13/34] KVM: arm64: Enable access to sanitized CPU features at EL2

2021-03-12 Thread Will Deacon
On Fri, Mar 12, 2021 at 06:34:09AM +, Quentin Perret wrote: > On Thursday 11 Mar 2021 at 19:36:39 (+), Will Deacon wrote: > > On Wed, Mar 10, 2021 at 05:57:30PM +, Quentin Perret wrote: > > > diff --git a/arch/arm64/kvm/sys_regs.c b/arch/arm64/kvm/sys_regs.c > > > index 4f2f1e3145de..84

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

2021-03-12 Thread Marek Behún
On Fri, 12 Mar 2021 10:12:06 +0100 Gregory CLEMENT wrote: > Hello Pali, > > > Hello Gregory! > > > > Patches are the for almost two months and more people have tested them. > > They are marked with Fixed/CC-stable tags, they should go also into > > stable trees as they are fixing CPU scaling and

Re: [PATCH 1/1] ARM: owl: Add Actions Semi Owl S500 SoC machine

2021-03-12 Thread Cristian Ciocaltea
Hi Andreas, On Fri, Mar 12, 2021 at 09:39:31AM +0100, Andreas Färber wrote: > Hi Cristian, > > On 11.03.21 20:19, Cristian Ciocaltea wrote: > > Add machine entry for the S500 variant of the Actions Semi Owl SoCs > > family. > > > > For the moment the only purpose is to provide the system serial

Re: [RFC PATCH] kvm: arm64: Try stage2 block mapping for host device MMIO

2021-03-12 Thread Keqian Zhu
Hi Marc, On 2021/3/12 16:52, Marc Zyngier wrote: > On Thu, 11 Mar 2021 14:28:17 +, > Keqian Zhu wrote: >> >> Hi Marc, >> >> On 2021/3/11 16:43, Marc Zyngier wrote: >>> Digging this patch back from my Inbox... >> Yeah, thanks ;-) >> >>> >>> On Fri, 22 Jan 2021 08:36:50 +, >>> Keqian Zhu w

Re: [PATCH] z3fold: prevent reclaim/free race for headless pages

2021-03-12 Thread Vitaly Wool
On Thu, Mar 11, 2021 at 9:40 AM Thomas Hebb wrote: > > commit ca0246bb97c2 ("z3fold: fix possible reclaim races") introduced > the PAGE_CLAIMED flag "to avoid racing on a z3fold 'headless' page > release." By atomically testing and setting the bit in each of > z3fold_free() and z3fold_reclaim_page

Re: [PATCH] mm/slab: kmalloc with GFP_DMA32 allocate from SLAB_CACHE_DMA32

2021-03-12 Thread Christoph Hellwig
On Fri, Mar 12, 2021 at 04:03:20PM +0800, Jianqun Xu wrote: > The flag GFP_DMA32 only effect in kmalloc_large currently. > > This patch will create caches with GFP_DMA32 to support kmalloc with > size under KMALLOC_MAX_CACHE_SIZE. No. No new code should use GFP_DMA32, never mind through slab. Pl

[PATCH] w1: Remove extra brackets

2021-03-12 Thread Xu Wang
Remove extra brackets. Signed-off-by: Xu Wang --- drivers/w1/w1_int.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/w1/w1_int.c b/drivers/w1/w1_int.c index b3e1792d9c49..eee4b5b652f1 100644 --- a/drivers/w1/w1_int.c +++ b/drivers/w1/w1_int.c @@ -102,7 +102,7 @@ int

Re: [PATCH] crypto: sun8i-ss: fix result memory leak on error path

2021-03-12 Thread Herbert Xu
On Tue, Mar 02, 2021 at 05:41:45PM +0100, Corentin Labbe wrote: > This patch fixes a memory leak on an error path. > > Fixes: d9b45418a917 ("crypto: sun8i-ss - support hash algorithms") > Reported-by: kernel test robot > Reported-by: Dan Carpenter > Signed-off-by: Corentin Labbe > --- > driver

Re: [PATCH v4 28/34] KVM: arm64: Use page-table to track page ownership

2021-03-12 Thread Will Deacon
On Fri, Mar 12, 2021 at 06:23:00AM +, Quentin Perret wrote: > On Thursday 11 Mar 2021 at 18:38:36 (+), Will Deacon wrote: > > On Wed, Mar 10, 2021 at 05:57:45PM +, Quentin Perret wrote: > > > As the host stage 2 will be identity mapped, all the .hyp memory regions > > > and/or memory pa

Re: [PATCH v3 3/3] mm: fs: Invalidate BH LRU during page migration

2021-03-12 Thread David Hildenbrand
On 12.03.21 10:03, David Hildenbrand wrote: On 10.03.21 17:14, Minchan Kim wrote: ffer_head LRU caches will be pinned and thus cannot be migrated. This can prevent CMA allocations from succeeding, which are often used on platforms with co-processors (such as a DSP) that can only use physically c

[PATCH] vdpa: fix build dependency of VIRTIO_PCI_LIB

2021-03-12 Thread Jason Wang
The modern PCI device module should be built independently without VIRTIO. This patch fixes this. Fixes: 7075992ba8873(“vdpa: introduce virtio pci driver") Reported-by: Randy Dunlap Signed-off-by: Jason Wang --- drivers/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/Makefi

[PATCH] ALSA: sb: Remove extra brackets

2021-03-12 Thread Xu Wang
Remove extra brackets. Signed-off-by: Xu Wang --- sound/isa/sb/sb16_csp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/isa/sb/sb16_csp.c b/sound/isa/sb/sb16_csp.c index 8635a2b6b36b..2c292bf0f5ae 100644 --- a/sound/isa/sb/sb16_csp.c +++ b/sound/isa/sb/sb16_csp.c @@ -

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

2021-03-12 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:3bb48a85 Merge branch 'parisc-5.12-2' of git://git.kernel... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=10c626dad0 kernel config: https://syzkaller.appspot.com/x/.config?x=db9c6adb4986f2f2 das

Re: linux-next: Tree for Mar 11 [drivers/vdpa/virtio_pci/vp_vdpa.ko]

2021-03-12 Thread Jason Wang
On 2021/3/12 2:18 上午, Randy Dunlap wrote: On 3/10/21 9:14 PM, Stephen Rothwell wrote: Hi all, Warning: Some of the branches in linux-next are still based on v5.12-rc1, so please be careful if you are trying to bisect a bug. News: if your -next included tree is based on Linus' tree tag v5.12-

Re: [PATCH v4 30/34] KVM: arm64: Add kvm_pgtable_stage2_find_range()

2021-03-12 Thread Will Deacon
On Fri, Mar 12, 2021 at 05:32:13AM +, Quentin Perret wrote: > On Thursday 11 Mar 2021 at 19:04:07 (+), Will Deacon wrote: > > On Wed, Mar 10, 2021 at 05:57:47PM +, Quentin Perret wrote: > > > + for (level = pgt->start_level; level < KVM_PGTABLE_MAX_LEVELS; level++) > > > { > > > +

YOU HAVE WON

2021-03-12 Thread lottonlxxx
LOTTO.NL, 2391 Beds 152 Koningin Julianaplein 21, Den Haag-Netherlands. (Lotto affiliate with Subscriber Agents). From: Susan Console (Lottery Coordinator) Website: www.lotto.nl Sir/Madam, CONGRATULATIONS!!! We are pleased to inform you of the result of the Lotto NL Winners International progr

[PATCH v2] drm/loongson: Add DDC support for loongson display controller

2021-03-12 Thread Hao Sun
Add GPIO and I2C driver to detect connector and fetch EDID via DDC. Signed-off-by: Hao Sun --- drivers/gpu/drm/loongson/Makefile | 3 +- drivers/gpu/drm/loongson/loongson_connector.c | 120 +++- drivers/gpu/drm/loongson/loongson_drv.c | 16 +- drivers/gpu/drm/loongson/lo

Re: [RFC PATCH 1/5] rpmb: add Replay Protected Memory Block (RPMB) subsystem

2021-03-12 Thread Linus Walleij
Hi Hector, I see a misunderstanding here :) explaining below. On Thu, Mar 11, 2021 at 9:29 PM Hector Martin wrote: > And so we're back to embedded platforms like Android phones and other > SoC stuff... user-controlled secureboot is already somewhat rare here, > and even rarer are the cases wher

[PATCH 00/30] [Set 2] Rid W=1 warnings in SCSI

2021-03-12 Thread Lee Jones
MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. Lee Jones (30): scsi: mpt3sas: mpt3sas_config: Fix a bu

[PATCH 03/30] scsi: lpfc: lpfc_scsi: Fix a bunch of kernel-doc misdemeanours

2021-03-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/scsi/lpfc/lpfc_scsi.c:746: warning: expecting prototype for lpfc_release_scsi_buf(). Prototype was for lpfc_release_scsi_buf_s3() instead drivers/scsi/lpfc/lpfc_scsi.c:979: warning: expecting prototype for App checking is required for().

[PATCH 01/30] scsi: mpt3sas: mpt3sas_config: Fix a bunch of potential naming doc-rot

2021-03-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/scsi/mpt3sas/mpt3sas_config.c:1795: warning: expecting prototype for mpt3sas_config_set_driver_trigger_pg0(). Prototype was for _config_set_driver_trigger_pg0() instead drivers/scsi/mpt3sas/mpt3sas_config.c:1929: warning: expecting proto

[PATCH 04/30] scsi: lpfc: lpfc_attr: Fix a bunch of misnamed functions

2021-03-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/scsi/lpfc/lpfc_attr.c:880: warning: expecting prototype for lpfc_state_show(). Prototype was for lpfc_link_state_show() instead drivers/scsi/lpfc/lpfc_attr.c:3834: warning: expecting prototype for lpfc_tgt_queue_depth_store(). Prototype

[PATCH 05/30] scsi: libfc: fc_rport: Fix incorrect naming of fc_rport_adisc_resp()

2021-03-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/scsi/libfc/fc_rport.c:1500: warning: expecting prototype for fc_rport_els_adisc_resp(). Prototype was for fc_rport_adisc_resp() instead Cc: Hannes Reinecke Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: linux-s...@vger.kernel.

[PATCH 02/30] scsi: ufs: ufshcd: Fix incorrectly named ufshcd_find_max_sup_active_icc_level()

2021-03-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/scsi/ufs/ufshcd.c:7142: warning: expecting prototype for ufshcd_calc_icc_level(). Prototype was for ufshcd_find_max_sup_active_icc_level() instead Cc: Alim Akhtar Cc: Avri Altman Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc

[PATCH 06/30] scsi: mpt3sas: mpt3sas_transport: Fix a couple of misdocumented functions/params

2021-03-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/scsi/mpt3sas/mpt3sas_transport.c:71: warning: Function parameter or member 'phy' not described in '_transport_get_port_id_by_sas_phy' drivers/scsi/mpt3sas/mpt3sas_transport.c:354: warning: Function parameter or member 'port_id' not descr

[PATCH 08/30] scsi: qla2xxx: qla_mr: Fix a couple of misnamed functions

2021-03-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/scsi/qla2xxx/qla_mr.c:525: warning: expecting prototype for qlafx00_warm_reset(). Prototype was for qlafx00_soc_cpu_reset() instead drivers/scsi/qla2xxx/qla_mr.c:2869: warning: expecting prototype for qlafx00x_mbx_completion(). Prototype

[PATCH 10/30] scsi: qla2xxx: qla_nx2: Fix incorrectly named function qla8044_check_temp()

2021-03-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/scsi/qla2xxx/qla_nx2.c:2038: warning: expecting prototype for qla4_8xxx_check_temp(). Prototype was for qla8044_check_temp() instead Cc: Nilesh Javali Cc: gr-qlogic-storage-upstr...@marvell.com Cc: "James E.J. Bottomley" Cc: "Martin K.

[PATCH 16/30] scsi: ufs: cdns-pltfrm: Supply function names for headers

2021-03-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/scsi/ufs/cdns-pltfrm.c:109: warning: expecting prototype for Sets HCLKDIV register value based on the core_clk(). Prototype was for cdns_ufs_set_hclkdiv() instead drivers/scsi/ufs/cdns-pltfrm.c:144: warning: wrong kernel-doc identifier o

[PATCH 15/30] scsi: lpfc: lpfc_nvme: Fix kernel-doc formatting issue

2021-03-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/scsi/lpfc/lpfc_nvme.c:2021: warning: Function parameter or member 'vport' not described in 'lpfc_nvme_create_localport' Cc: James Smart Cc: Dick Kennedy Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: linux-s...@vger.kernel.or

[PATCH 07/30] scsi: libfc: fc_fcp: Fix misspelling of fc_fcp_destroy()

2021-03-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/scsi/libfc/fc_fcp.c:2255: warning: expecting prototype for fc_fcp_destory(). Prototype was for fc_fcp_destroy() instead Cc: Hannes Reinecke Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: linux-s...@vger.kernel.org Signed-off-b

[PATCH 18/30] scsi: esas2r: esas2r_log: Supply __printf(x, y) formatting for esas2r_log_master()

2021-03-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/scsi/esas2r/esas2r_log.c: In function ‘esas2r_log_master’: drivers/scsi/esas2r/esas2r_log.c:155:3: warning: function ‘esas2r_log_master’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] Cc: Bradley Gro

[PATCH 22/30] scsi: bnx2i: bnx2i_sysfs: Fix bnx2i_set_ccell_info()'s name in description

2021-03-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/scsi/bnx2i/bnx2i_sysfs.c:118: warning: expecting prototype for bnx2i_get_link_state(). Prototype was for bnx2i_set_ccell_info() instead Cc: Nilesh Javali Cc: Manish Rangankar Cc: gr-qlogic-storage-upstr...@marvell.com Cc: "James E.J. Bo

[PATCH 11/30] scsi: qla2xxx: qla_target: Fix a couple of misdocumented functions

2021-03-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/scsi/qla2xxx/qla_target.c:6476: warning: expecting prototype for qla_tgt_lport_register(). Prototype was for qlt_lport_register() instead drivers/scsi/qla2xxx/qla_target.c:6546: warning: expecting prototype for qla_tgt_lport_deregister()

[PATCH 14/30] scsi: bfa: bfa_fcs_lport: Move a large struct from the stack onto the heap

2021-03-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/scsi/bfa/bfa_fcs_lport.c: In function ‘bfa_fcs_lport_fdmi_build_rhba_pyld’: drivers/scsi/bfa/bfa_fcs_lport.c:2152:1: warning: the frame size of 1200 bytes is larger than 1024 bytes [-Wframe-larger-than=] Cc: Anil Gurumurthy Cc: Sudarsa

[PATCH 09/30] scsi: mpt3sas: mpt3sas_ctl: Fix some kernel-doc misnaming issues

2021-03-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/scsi/mpt3sas/mpt3sas_ctl.c:463: warning: expecting prototype for mpt3sas_ctl_reset_handler(). Prototype was for mpt3sas_ctl_pre_reset_handler() instead drivers/scsi/mpt3sas/mpt3sas_ctl.c:495: warning: expecting prototype for mpt3sas_ctl

[PATCH 17/30] scsi: cxgbi: cxgb3i: cxgb3i: Fix misnaming of ddp_setup_conn_digest()

2021-03-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:1189: warning: expecting prototype for cxgb3i_setup_conn_digest(). Prototype was for ddp_setup_conn_digest() instead Cc: Karen Xie Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: Dimitris Michailidis

[PATCH 13/30] scsi: lpfc: lpfc_bsg: Fix a few incorrectly named functions

2021-03-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/scsi/lpfc/lpfc_bsg.c:3591: warning: expecting prototype for lpfc_bsg_mbox_ext_cleanup(). Prototype was for lpfc_bsg_mbox_ext_session_reset() instead drivers/scsi/lpfc/lpfc_bsg.c:3885: warning: expecting prototype for lpfc_bsg_sli_cfg_ms

[PATCH 21/30] scsi: be2iscsi: be_mgmt: Fix beiscsi_phys_port()'s name in header

2021-03-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/scsi/be2iscsi/be_mgmt.c:1270: warning: expecting prototype for beiscsi_phys_port(). Prototype was for beiscsi_phys_port_disp() instead Cc: Subbu Seetharaman Cc: Ketan Mukadam Cc: Jitendra Bhivare Cc: "James E.J. Bottomley" Cc: "Martin

[PATCH 19/30] scsi: be2iscsi: be_iscsi: Fix incorrect naming of beiscsi_iface_config_vlan()

2021-03-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/scsi/be2iscsi/be_iscsi.c:312: warning: expecting prototype for beiscsi_set_vlan_tag(). Prototype was for beiscsi_iface_config_vlan() instead Cc: Subbu Seetharaman Cc: Ketan Mukadam Cc: Jitendra Bhivare Cc: "James E.J. Bottomley" Cc: "

[PATCH 23/30] scsi: initio: Remove unused variable 'prev'

2021-03-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/scsi/initio.c: In function ‘initio_find_busy_scb’: drivers/scsi/initio.c:869:30: warning: variable ‘prev’ set but not used [-Wunused-but-set-variable] Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: Bas Vermeulen Cc: Christoph

[PATCH 25/30] scsi: dc395x: Fix incorrect naming in function headers

2021-03-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/scsi/dc395x.c:980: warning: expecting prototype for dc395x_queue_command(). Prototype was for dc395x_queue_command_lck() instead drivers/scsi/dc395x.c:4263: warning: expecting prototype for adapter_init_host(). Prototype was for adapter_

[PATCH 12/30] scsi: lpfc: lpfc_debugfs: Fix incorrectly documented function lpfc_debugfs_commonxripools_data()

2021-03-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/scsi/lpfc/lpfc_debugfs.c:405: warning: expecting prototype for lpfc_debugfs_common_xri_data(). Prototype was for lpfc_debugfs_commonxripools_data() instead Cc: James Smart Cc: Dick Kennedy Cc: "James E.J. Bottomley" Cc: "Martin K. Pet

[PATCH 27/30] scsi: myrs: Remove a couple of unused 'status' variables

2021-03-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/scsi/myrs.c: In function ‘consistency_check_show’: drivers/scsi/myrs.c:1193:16: warning: variable ‘status’ set but not used [-Wunused-but-set-variable] drivers/scsi/myrs.c: In function ‘myrs_get_resync’: drivers/scsi/myrs.c:1984:5: warn

[PATCH 20/30] scsi: be2iscsi: be_main: Provide missing function name in header

2021-03-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/scsi/be2iscsi/be_main.c:4934: warning: expecting prototype for Boot flag info for iscsi(). Prototype was for BEISCSI_SYSFS_ISCSI_BOOT_FLAGS() instead Cc: Subbu Seetharaman Cc: Ketan Mukadam Cc: Jitendra Bhivare Cc: "James E.J. Bottoml

[PATCH 28/30] scsi: 3w-xxxx: Remove 2 unused variables 'response_que_value' and 'tw_dev'

2021-03-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/scsi/3w-.c: In function ‘tw_empty_response_que’: drivers/scsi/3w-.c:463:24: warning: variable ‘response_que_value’ set but not used [-Wunused-but-set-variable] drivers/scsi/3w-.c: In function ‘tw_scsi_biosparam’: drivers/scs

[PATCH 30/30] scsi: 3w-sas: Remove unused variables 'sglist' and 'tw_dev'

2021-03-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/scsi/3w-sas.c: In function ‘twl_scsiop_execute_scsi’: drivers/scsi/3w-sas.c:298:22: warning: variable ‘sglist’ set but not used [-Wunused-but-set-variable] drivers/scsi/3w-sas.c: In function ‘twl_scsi_biosparam’: drivers/scsi/3w-sas.c:1

Re: [PATCH net-next v5 2/2] net: Add Qcom WWAN control driver

2021-03-12 Thread Loic Poulain
Hi Greg, On Fri, 12 Mar 2021 at 09:16, Greg KH wrote: > > On Thu, Mar 11, 2021 at 09:41:04PM +0100, Loic Poulain wrote: > > The MHI WWWAN control driver allows MHI QCOM-based modems to expose > > different modem control protocols/ports to userspace, so that userspace > > modem tools or daemon (e.

[PATCH 26/30] scsi: atp870u: Fix naming and demote incorrect and non-conformant kernel-doc header

2021-03-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/scsi/atp870u.c:623: warning: expecting prototype for atp870u_queuecommand(). Prototype was for atp870u_queuecommand_lck() instead drivers/scsi/atp870u.c:724: warning: Function parameter or member 'dev' not described in 'send_s870' drive

[PATCH 29/30] scsi: 3w-9xxx: Remove a few set but unused variables

2021-03-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/scsi/3w-9xxx.c: In function ‘twa_empty_response_queue’: drivers/scsi/3w-9xxx.c:942:24: warning: variable ‘response_que_value’ set but not used [-Wunused-but-set-variable] drivers/scsi/3w-9xxx.c: In function ‘twa_scsi_biosparam’: drivers

Re: fuse: kernel BUG at mm/truncate.c:763!

2021-03-12 Thread Miklos Szeredi
On Fri, Mar 12, 2021 at 9:51 AM Luis Henriques wrote: > > Hi Miklos, > > I've seen a bug report (5.10.16 kernel splat below) that seems to be > reproducible in kernels as early as 5.4. > > The commit that caught my attention when looking at what was merged in 5.4 > was e4648309b85a ("fuse: truncat

[PATCH 24/30] scsi: a100u2w: Remove unused variable 'bios_phys'

2021-03-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/scsi/a100u2w.c: In function ‘inia100_probe_one’: drivers/scsi/a100u2w.c:1092:8: warning: variable ‘bios_phys’ set but not used [-Wunused-but-set-variable] Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: Doug Ledford Cc: Christ

[PATCH 1/1] arm: dts: owl-s500-roseapplepi: Add ATC2603C PMIC

2021-03-12 Thread Cristian Ciocaltea
Add device tree node for ATC2603C PMIC and remove the 'fixed-3.1V' dummy regulator used for the uSD supply. Additionally, add 'SYSPWR' fixed regulator and provide cpu0 supply. Signed-off-by: Cristian Ciocaltea --- Please note the patch depends on the ATC260x PMIC support which is queued for merg

Re: [f2fs-dev] [PATCH v3] f2fs: add sysfs nodes to get runtime compression stat

2021-03-12 Thread Chao Yu
On 2021/3/11 10:32, Daeho Jeong wrote: From: Daeho Jeong I've added new sysfs nodes to show runtime compression stat since mount. compr_written_block - show the block count written after compression compr_saved_block - show the saved block count with compression compr_new_inode - show the count

YOU HAVE WON

2021-03-12 Thread lottonlxxx
LOTTO.NL, 2391 Beds 152 Koningin Julianaplein 21, Den Haag-Netherlands. (Lotto affiliate with Subscriber Agents). From: Susan Console (Lottery Coordinator) Website: www.lotto.nl Sir/Madam, CONGRATULATIONS!!! We are pleased to inform you of the result of the Lotto NL Winners International progr

[PATCH 1/6] seq_file: rename mangle_path to seq_mangle_path

2021-03-12 Thread Johannes Berg
From: Johannes Berg The symbol mangle_path conflicts with a gcov symbol which can break the build of ARCH=um with gcov, and it's also not very specific and descriptive. Rename mangle_path() to seq_mangle_path(), and also remove the export since it's not needed or used by any modules. Signed-off

[PATCH 0/6] um: fix up CONFIG_GCOV support

2021-03-12 Thread Johannes Berg
CONFIG_GCOV is fairly useful for ARCH=um (e.g. with kunit, though my main use case is a bit different) since it writes coverage data directly out like a normal userspace binary. Theoretically, that is. Unfortunately, it's broken in multiple ways today: 1) it doesn't like, due to 'mangle_path' in

[PATCH 3/6] .gitignore: also ignore gcda files

2021-03-12 Thread Johannes Berg
From: Johannes Berg We already ignore gcno files that are created by the compiler at build time for -ftest-coverage. However, with ARCH=um it's possible to select CONFIG_GCOV which actually has the kernel binary write out gcda files (rather than have them in debugfs like CONFIG_GCOV_KERNEL does),

[PATCH 4/6] um: split up CONFIG_GCOV

2021-03-12 Thread Johannes Berg
From: Johannes Berg It's not always desirable to collect coverage data for the entire kernel, so split off CONFIG_GCOV_BASE. This option only enables linking with coverage options, and compiles a single file (reboot.c) with them as well to force gcov to be linked into the kernel binary. That way,

[PATCH 6/6] um: fix CONFIG_GCOV for modules

2021-03-12 Thread Johannes Berg
From: Johannes Berg At least with current toolchain versions, gcov (as enabled by CONFIG_GCOV) requires init and exit handlers to run. For modules, this wasn't done properly, so use the new support for CONFIG_MODULE_DESTRUCTORS as well as CONFIG_CONSTRUCTORS to have gcov init and exit called appr

[PATCH 2/6] module: add support for CONFIG_MODULE_DESTRUCTORS

2021-03-12 Thread Johannes Berg
From: Johannes Berg At least in ARCH=um with CONFIG_GCOV (which writes all the coverage data directly out from the userspace binary rather than presenting it in debugfs) it's necessary to run all the atexit handlers (dtors/fini_array) so that gcov actually does write out the data. Add a new conf

arm64: kernel/sys.c - silence initialization warnings.

2021-03-12 Thread Valdis Klētnieks
Building arch/arm64/kernel/sys.o with W=1 throws over 300 warnings: /usr/src/linux-next/arch/arm64/kernel/sys.c:56:40: warning: initialized field overwritten [-Woverride-init] 56 | #define __SYSCALL(nr, sym) [nr] = __arm64_##sym, |^~~~ /us

[PATCH 5/6] um: fix CONFIG_GCOV for built-in code

2021-03-12 Thread Johannes Berg
From: Johannes Berg With contemporary toolchains, CONFIG_GCOV doesn't work because gcov now relies on both init and exit handlers, but those are discarded from the binary. Fix the linker scripts to keep them instead, so that CONFIG_GCOV can work again. Note that this does not make it work in mod

[RFC PATCH] jffs2: add support for zstd compression

2021-03-12 Thread Rui Salvaterra
Implement support for zstd compression in jffs2 at the default compression level (3). Lightly tested in OpenWrt, on a single CPU embedded MIPS32 system (AirGrid M2). Signed-off-by: Rui Salvaterra --- Sent as RFC, since I have no idea if locking is required (the crypto API implementation doesn't

[PATCH v4 01/11] configfs: increase the item name length

2021-03-12 Thread Bartosz Golaszewski
From: Bartosz Golaszewski 20 characters limit for item name is relatively small. Let's increase it to 32 to fit '04-committable-children' - a name we'll use in the sample code for committable items. Signed-off-by: Bartosz Golaszewski Acked-by: Linus Walleij --- include/linux/configfs.h | 2 +-

[PATCH v4 04/11] samples: configfs: add a committable group

2021-03-12 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Add an example of using committable items to configfs samples. Each config item has two attributes: read-write 'storeme' which works similarly to other examples in this file and a read-only 'committed' attribute which changes its value between false and true depending on

[PATCH v4 03/11] configfs: implement committable items

2021-03-12 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This implements configfs committable items. We mostly follow the documentation except that we extend config_group_ops with uncommit_item() callback for reverting the changes made by commit_item(). Each committable group has two sub-directories: pending and live. New ite

[PATCH v4 05/11] lib: bitmap: remove the 'extern' keyword from function declarations

2021-03-12 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The 'extern' keyword doesn't have any benefits in header files. Remove it. Signed-off-by: Bartosz Golaszewski Reviewed-by: Andy Shevchenko --- include/linux/bitmap.h | 115 - 1 file changed, 57 insertions(+), 58 deletions(-) d

[PATCH v4 09/11] selftests: gpio: provide a helper for reading chip info

2021-03-12 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Add a simple program that allows to retrieve chip properties from the GPIO character device. This will be used in gpio-sim selftests. Signed-off-by: Bartosz Golaszewski --- tools/testing/selftests/gpio/.gitignore | 1 + tools/testing/selftests/gpio/Makefile

[PATCH v4 06/11] lib: bitmap: order includes alphabetically

2021-03-12 Thread Bartosz Golaszewski
From: Bartosz Golaszewski For better readability and maintenance: order the includes in bitmap source files alphabetically. Signed-off-by: Bartosz Golaszewski Reviewed-by: Andy Shevchenko --- include/linux/bitmap.h | 4 ++-- lib/bitmap.c | 9 + 2 files changed, 7 insertions(

[PATCH v4 08/11] gpio: sim: new testing module

2021-03-12 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Implement a new, modern GPIO testing module controlled by configfs attributes instead of module parameters. The goal of this driver is to provide a replacement for gpio-mockup that will be easily extensible with new features and doesn't require reloading the module to ch

[PATCH v4 00/11] gpio: implement the configfs testing module

2021-03-12 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This series adds a new GPIO testing module based on configfs committable items and sysfs. The goal is to provide a testing driver that will be configurable at runtime (won't need module reload) and easily extensible. The control over the attributes is also much more fine

[PATCH v4 11/11] selftests: gpio: add test cases for gpio-sim

2021-03-12 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Add a set of tests for the new gpio-sim module. This is a pure shell test-suite and uses the helper programs available in the gpio selftests directory. These test-cases only test the functionalities exposed by the gpio-sim driver, not those handled by core gpiolib code.

[PATCH v4 10/11] selftests: gpio: add a helper for reading GPIO line names

2021-03-12 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Add a simple program that allows to read GPIO line names from the character device. This will be used in gpio-sim selftests. Signed-off-by: Bartosz Golaszewski --- tools/testing/selftests/gpio/.gitignore | 1 + tools/testing/selftests/gpio/Makefile | 2

[PATCH v4 02/11] configfs: use (1UL << bit) for internal flags

2021-03-12 Thread Bartosz Golaszewski
From: Bartosz Golaszewski For better readability and maintenance: use the (1UL << bit) for flag definitions. Signed-off-by: Bartosz Golaszewski Acked-by: Linus Walleij --- fs/configfs/configfs_internal.h | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git

[PATCH v4 07/11] lib: bitmap: provide devm_bitmap_alloc() and devm_bitmap_zalloc()

2021-03-12 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Provide managed variants of bitmap_alloc() and bitmap_zalloc(). Signed-off-by: Bartosz Golaszewski Reviewed-by: Andy Shevchenko --- include/linux/bitmap.h | 8 lib/bitmap.c | 33 + 2 files changed, 41 insertions(+)

Re: [PATCH v2 5/6] media: uvcvideo: Add support for V4L2_CTRL_TYPE_CTRL_CLASS

2021-03-12 Thread Ricardo Ribalda Delgado
HI Laurent Thanks for the prompt reply :) On Fri, Mar 12, 2021 at 2:25 AM Laurent Pinchart wrote: > > Hi Ricardo, > > Thank you for the patch. > > On Thu, Mar 11, 2021 at 11:19:45PM +0100, Ricardo Ribalda wrote: > > Create all the class controls for the device defined controls. > > > > Fixes v4l

Re: [RFC PATCH 1/5] rpmb: add Replay Protected Memory Block (RPMB) subsystem

2021-03-12 Thread Linus Walleij
On Thu, Mar 11, 2021 at 10:08 PM Alex Bennée wrote: > I guess what we are saying is that real secure monitors should come up > with their own common API for interfacing with RPMB devices without > looking to the Linux kernel for inspiration? The problem is that eMMC at least (I don't know about

Re: [PATCH] staging: rtl8723bs: add initial value

2021-03-12 Thread Dan Carpenter
On Thu, Mar 11, 2021 at 02:38:38PM +0800, Hao Peng wrote: > Add initial value for some uninitialized variable and array. > None of these are ever used uninitialized. It's weird that you would even think that. > if (pmlmeext->active_keep_alive_check) { > -

YOU HAVE WON

2021-03-12 Thread lottonlxxx
LOTTO.NL, 2391 Beds 152 Koningin Julianaplein 21, Den Haag-Netherlands. (Lotto affiliate with Subscriber Agents). From: Susan Console (Lottery Coordinator) Website: www.lotto.nl Sir/Madam, CONGRATULATIONS!!! We are pleased to inform you of the result of the Lotto NL Winners International progr

Re: [PATCH] dt-bindings: media: Convert video-mux to DT schema

2021-03-12 Thread Laurent Pinchart
Hi Sakari, On Fri, Mar 12, 2021 at 09:29:04AM +0200, Sakari Ailus wrote: > On Fri, Mar 12, 2021 at 03:25:11AM +0200, Laurent Pinchart wrote: > > On Thu, Mar 11, 2021 at 04:40:42PM -0700, Rob Herring wrote: > > > Now that we have the graph schema, convert the video-mux binding to DT > > > schema. >

[PATCH][next] drm/amd/pm: Fix spelling mistake "disble" -> "disable"

2021-03-12 Thread Colin King
From: Colin Ian King There is a spelling mistake in an assert message. Fix it. Signed-off-by: Colin Ian King --- drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c b/driver

Re: [syzbot] WARNING in __i2c_transfer

2021-03-12 Thread syzbot
syzbot has bisected this issue to: commit f90cf6079bf67988f8b1ad1ade70fc89d0080905 Author: Daniel W. S. Almeida Date: Fri Aug 21 12:58:47 2020 + media: vidtv: add a bridge driver bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=1136cf66d0 start commit: 28806e4d Merge

Re: arm64 syzbot instances

2021-03-12 Thread Arnd Bergmann
On Fri, Mar 12, 2021 at 10:21 AM Dmitry Vyukov wrote: > > On Fri, Mar 12, 2021 at 10:16 AM Arnd Bergmann wrote: > > > > On Fri, Mar 12, 2021 at 9:46 AM Dmitry Vyukov wrote: > > > On Fri, Mar 12, 2021 at 9:40 AM Arnd Bergmann wrote: > > > > On Thu, Mar 11, 2021 at 6:57 PM Dmitry Vyukov > > > >

Re: [RFC PATCH 0/6] spi: Add OSPI PHY calibration support for spi-cadence-quadspi

2021-03-12 Thread Pratyush Yadav
On 12/03/21 09:09AM, tudor.amba...@microchip.com wrote: > On 3/11/21 9:12 PM, Pratyush Yadav wrote: > > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > > content is safe > > > > Hi, > > > > This series adds support for OSPI PHY calibration on the Cadence OSPI > > con

[PATCH RESEND net-next] tracing: remove holes in events

2021-03-12 Thread Tony Lu
There are some holes in the event definitions, spaces are wasted. Based on the analysis result of pahole and event format files, 22 events have more than one hole. To change less and fix worst, 5 events are picked up and fixed in this patch according the following rules. Rules: - try not to aff

Re: [PATCH v3 1/5] powercap/drivers/dtpm: Encapsulate even more the code

2021-03-12 Thread Lukasz Luba
On 3/11/21 10:57 AM, Daniel Lezcano wrote: On 11/03/2021 11:15, Lukasz Luba wrote: Hi Daniel, On 3/10/21 11:02 AM, Daniel Lezcano wrote: In order to increase the self-encapsulation of the dtpm generic code, the following changes are adding a power update ops to the dtpm ops. That allows the

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