Re: [PATCH 1/2] arm64/mm: Remove CONT_RANGE_OFFSET

2020-09-10 Thread Anshuman Khandual
On 09/08/2020 12:49 PM, Gavin Shan wrote: > The macro was introduced by commit ("arm64: PTE/PMD > contiguous bit definition") at the beginning. It's only used by > commit <348a65cdcbbf> ("arm64: Mark kernel page ranges contiguous"), > which was reverted later by commit <667c27597ca8>. This

[PATCH 0/3] Add support for onboard GPIO USB hub for Hikey 960/970

2020-09-10 Thread Mauro Carvalho Chehab
Both Hikey 960 and 970 comes with an onboard USB hub. On those devices, the USB connectors are connected via the hub. This patch series adds support for it. Mauro Carvalho Chehab (2): misc: hisi_hikey_usb: add support for Hikey 970 dts: hisilicon: add support for USB3 on Hikey 970 Yu Chen

Re: [PATCH] net: bluetooth: Fix null pointer dereference in hci_event_packet()

2020-09-10 Thread Anmol Karn
On Wed, Sep 09, 2020 at 10:06:59PM -0700, Eric Biggers wrote: > On Thu, Sep 10, 2020 at 10:04:24AM +0530, Anmol Karn wrote: > > Prevent hci_phy_link_complete_evt() from dereferencing 'hcon->amp_mgr' > > as NULL. Fix it by adding pointer check for it. > > > > Reported-and-tested-by: > >

[PATCH v3 0/2] To support the HFP WBS, a chip vendor may choose a particular

2020-09-10 Thread Joseph Hwang
USB alternate seeting of which the packet size is distinct. The patches are to expose the packet size to user space so that the user space does not need to hard code those values. We have verified this patch on Chromebooks which use - Realtek 8822CE controller with USB alt setting 1 - Intel

[PATCH v3 1/2] Bluetooth: btusb: define HCI packet sizes of USB Alts

2020-09-10 Thread Joseph Hwang
It is desirable to define the HCI packet payload sizes of USB alternate settings so that they can be exposed to user space. Reviewed-by: Alain Michaud Reviewed-by: Abhishek Pandit-Subedi Signed-off-by: Joseph Hwang --- Changes in v3: - Set hdev->sco_mtu to rp->sco_mtu if the latter is

[PATCH] driver core: platform: Document return type of more functions

2020-09-10 Thread Stephen Boyd
I can't always remember the return values of these functions, and so I usually jump to the function to read the kernel-doc and see that it doesn't tell me. Then I have to spend more time reading the code to jump to the function that actually tells me the return values. Let's document it here so

Re: [PATCH v4 2/3] media: uapi: Add VP9 stateless decoder controls

2020-09-10 Thread Alexandre Courbot
Hi Ezequiel, sorry for the late review! On Tue, May 19, 2020 at 2:40 AM Ezequiel Garcia wrote: > > From: Boris Brezillon > > Add the VP9 stateless decoder controls plus the documentation that goes > with it. > > Signed-off-by: Boris Brezillon > Signed-off-by: Ezequiel Garcia > --- >

[PATCH v3 2/2] Bluetooth: sco: new getsockopt options BT_SNDMTU/BT_RCVMTU

2020-09-10 Thread Joseph Hwang
This patch defines new getsockopt options BT_SNDMTU/BT_RCVMTU for SCO socket to be compatible with other bluetooth sockets. These new options return the same value as option SCO_OPTIONS which is already present on existing kernels. Reviewed-by: Alain Michaud Reviewed-by: Abhishek Pandit-Subedi

[PATCH] arm64/mm: add fallback option to allocate virtually contiguous memory

2020-09-10 Thread Sudarshan Rajagopalan
When section mappings are enabled, we allocate vmemmap pages from physically continuous memory of size PMD_SZIE using vmemmap_alloc_block_buf(). Section mappings are good to reduce TLB pressure. But when system is highly fragmented and memory blocks are being hot-added at runtime, its possible

Re: [PATCH 2/2] xfs: don't update mtime on COW faults

2020-09-10 Thread Darrick J. Wong
On Sat, Sep 05, 2020 at 01:02:33PM -0400, Mikulas Patocka wrote: > > > On Sat, 5 Sep 2020, Darrick J. Wong wrote: > > > On Sat, Sep 05, 2020 at 08:13:02AM -0400, Mikulas Patocka wrote: > > > When running in a dax mode, if the user maps a page with MAP_PRIVATE and > > > PROT_WRITE, the xfs

Re: watchdog: sp5100_tco support for AMD V/R/E series

2020-09-10 Thread Jan Kiszka
On 09.09.20 18:04, Guenter Roeck wrote: > On 9/7/20 1:45 PM, Guenter Roeck wrote: >> On 9/7/20 12:18 PM, Guenter Roeck wrote: >>> On 9/7/20 8:46 AM, Jan Kiszka wrote: On 07.09.20 17:31, Guenter Roeck wrote: > On 9/7/20 4:20 AM, Jan Kiszka wrote: >> Hi all, >> >> Arsalan

Re: [PATCH v3 2/5] input: misc: Add IBM Operation Panel driver

2020-09-10 Thread Wolfram Sang
On Wed, Sep 09, 2020 at 03:30:56PM -0500, Eddie James wrote: > Add a driver to get the button events from the panel and provide > them to userspace with the input subsystem. The panel is > connected with I2C and controls the bus, so the driver registers > as an I2C slave device. > >

Re: [PATCH v5 2/2] phy: cadence-torrent: Use kernel PHY API to set PHY attributes

2020-09-10 Thread Kishon Vijay Abraham I
Hi Milind, On 08/09/20 7:45 pm, Milind Parab wrote: Hi Kishon, -Original Message- From: Laurent Pinchart Sent: Thursday, September 3, 2020 9:00 PM To: Kishon Vijay Abraham I Cc: Swapnil Kashinath Jakhade ; vk...@kernel.org; linux-kernel@vger.kernel.org; max...@cerno.tech; Milind

Re: [PATCH net-next RFC v1 2/4] devlink: Add devlink traps under devlink_ports context

2020-09-10 Thread Aya Levin
On 9/8/2020 5:04 PM, Jiri Pirko wrote: Sun, Sep 06, 2020 at 05:44:28PM CEST, ido...@idosch.org wrote: On Wed, Sep 02, 2020 at 06:32:12PM +0300, Aya Levin wrote: [...] I understand how this struct allows you to re-use a lot of code between per-device and per-port traps, but it's mainly

[PATCH -next] staging: regulator: hi6421v600-regulator: Remove unused including

2020-09-10 Thread YueHaibing
Remove including that don't need it. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/staging/hikey9xx/hi6421v600-regulator.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/hikey9xx/hi6421v600-regulator.c b/drivers/staging/hikey9xx/hi6421v600-regulator.c

Re: [PATCH 2/2] arm64/mm: Use CONT_SHIFT to define CONT_PTE_SHIFT

2020-09-10 Thread Anshuman Khandual
On 09/08/2020 12:49 PM, Gavin Shan wrote: > The macro CONT_PTE_SHIFT actually depends on CONT_SHIFT, which has > been defined in page-def.h, based on CONFIG_ARM64_CONT_SHIFT. Lets > reflect the dependency. > > Signed-off-by: Gavin Shan > --- > arch/arm64/include/asm/pgtable-hwdef.h | 4 +---

Re: [PATCH v2 1/2] scsi: ufs: Abort tasks before clear them from doorbell

2020-09-10 Thread James Bottomley
On Thu, 2020-09-10 at 10:48 +0800, Stanley Chu wrote: > Hi Martin, Can, > > On Wed, 2020-09-09 at 22:32 -0400, Martin K. Petersen wrote: > > Can and Stanley, > > > > > I can't reconcile this hunk: > > > > Please provide a resolution for these conflicting commits in fixes > > and > > queue: > >

Re: [PATCH v3 3/5] i2c: aspeed: Mask IRQ status to relevant bits

2020-09-10 Thread Wolfram Sang
On Wed, Sep 09, 2020 at 03:30:57PM -0500, Eddie James wrote: > Mask the IRQ status to only the bits that the driver checks. This > prevents excessive driver warnings when operating in slave mode > when additional bits are set that the driver doesn't handle. > > Signed-off-by: Eddie James >

Re: [PATCH v3 06/17] virt: acrn: Introduce VM management interfaces

2020-09-10 Thread Shuo A Liu
Hi Greg, On Wed 9.Sep'20 at 11:45:16 +0200, Greg Kroah-Hartman wrote: On Wed, Sep 09, 2020 at 05:08:25PM +0800, shuo.a@intel.com wrote: From: Shuo Liu The VM management interfaces expose several VM operations to ACRN userspace via ioctls. For example, creating VM, starting VM,

Re: [PATCH v3 3/5] i2c: aspeed: Mask IRQ status to relevant bits

2020-09-10 Thread Wolfram Sang
On Thu, Sep 10, 2020 at 08:18:13AM +0200, Wolfram Sang wrote: > On Wed, Sep 09, 2020 at 03:30:57PM -0500, Eddie James wrote: > > Mask the IRQ status to only the bits that the driver checks. This > > prevents excessive driver warnings when operating in slave mode > > when additional bits are set

Re: [PATCH v2 2/3] soundwire: SDCA: add helper macro to access controls

2020-09-10 Thread Vinod Koul
On 09-09-20, 08:48, Pierre-Louis Bossart wrote: > > > > > > + * 25 0 (Reserved) > > > > > + * 24:22 Function Number [2:0] > > > > > + * 21 Entity[6] > > > > > + * 20:19 Control Selector[5:4] > > > > > + * 18 0 (Reserved) > > > >

[PATCH] [v2] blkcg: add plugging support for punt bio

2020-09-10 Thread Xianting Tian
The test and the explaination of the patch as bellow. Before test we added more debug code in blkg_async_bio_workfn(): int count = 0 if (bios.head && bios.head->bi_next) { need_plug = true; blk_start_plug(); } while ((bio =

Re: [PATCH 9/9] i2c: mux: reg: Simplify with dev_err_probe()

2020-09-10 Thread Wolfram Sang
On Wed, Sep 02, 2020 at 05:06:43PM +0200, Krzysztof Kozlowski wrote: > Common pattern of handling deferred probe can be simplified with > dev_err_probe(). Less code and the error value gets printed. > > Signed-off-by: Krzysztof Kozlowski Applied to for-next, thanks! signature.asc

Re: [PATCH] serial: qcom_geni_serial: To correct QUP Version detection logic

2020-09-10 Thread parashar
On 2020-09-02 11:34, Greg Kroah-Hartman wrote: On Wed, Sep 02, 2020 at 11:26:51AM +0530, Paras Sharma wrote: The current implementation reduces the sampling rate by half if qup HW version is greater is than 2.5 by checking if the geni SE major version is greater than 2 and geni SE minor

Re: [PATCH 8/9] i2c: mux: gpmux: Simplify with dev_err_probe()

2020-09-10 Thread Wolfram Sang
On Wed, Sep 02, 2020 at 05:06:42PM +0200, Krzysztof Kozlowski wrote: > Common pattern of handling deferred probe can be simplified with > dev_err_probe(). Less code and the error value gets printed. > > Signed-off-by: Krzysztof Kozlowski Applied to for-next, thanks! signature.asc

Re: [PATCH 3/9] i2c: bcm2835: Simplify with dev_err_probe()

2020-09-10 Thread Wolfram Sang
On Wed, Sep 02, 2020 at 05:06:37PM +0200, Krzysztof Kozlowski wrote: > Common pattern of handling deferred probe can be simplified with > dev_err_probe(). Less code and the error value gets printed. > > Signed-off-by: Krzysztof Kozlowski Applied to for-next, thanks! signature.asc

Re: [PATCH] ide/macide: Convert Mac IDE driver to platform driver

2020-09-10 Thread Geert Uytterhoeven
Hi Finn, On Thu, Sep 10, 2020 at 2:23 AM Finn Thain wrote: > On Wed, 9 Sep 2020, Geert Uytterhoeven wrote: > > > --- a/arch/m68k/mac/config.c +++ b/arch/m68k/mac/config.c > > > > > @@ -940,6 +941,50 @@ static const struct resource mac_scsi_ccl_rsrc[] > > > __initconst = { > > > }, > > >

Re: general protection fault in unlink_file_vma

2020-09-10 Thread linmiaohe
Hillf Danton wrote: >> On Thu, 10 Sep 2020 07:43:41 +0530 Souptick Joarder wrote: >> On Wed, Sep 9, 2020 at 9:45 AM Hillf Danton wrote: >> > Tue, 08 Sep 2020 17:19:17 -0700 >> > > syzbot found the following issue on: >> > > >> > > HEAD commit:59126901 Merge tag >> > >

BUG: unable to handle kernel NULL pointer dereference in qlist_free_all (8)

2020-09-10 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:34d4ddd3 Merge tag 'linux-kselftest-5.9-rc5' of git://git... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=147c760d90 kernel config: https://syzkaller.appspot.com/x/.config?x=a9075b36a6ae26c9

Re: [PATCH 6/9] i2c: imx: Simplify with dev_err_probe()

2020-09-10 Thread Wolfram Sang
On Wed, Sep 02, 2020 at 05:06:40PM +0200, Krzysztof Kozlowski wrote: > Common pattern of handling deferred probe can be simplified with > dev_err_probe(). Less code and the error value gets printed. > > Signed-off-by: Krzysztof Kozlowski Thanks, but this patch was a bit earlier:

Re: [trivial PATCH] treewide: Convert switch/case fallthrough; to break;

2020-09-10 Thread Mauro Carvalho Chehab
Em Wed, 09 Sep 2020 13:06:39 -0700 Joe Perches escreveu: > fallthrough to a separate case/default label break; isn't very readable. > > Convert pseudo-keyword fallthrough; statements to a simple break; when > the next label is case or default and the only statement in the next > label block is

Re: [PATCH v3 02/17] x86/acrn: Introduce acrn_{setup, remove}_intr_handler()

2020-09-10 Thread Shuo A Liu
Hi Greg, On Wed 9.Sep'20 at 11:36:09 +0200, Greg Kroah-Hartman wrote: On Wed, Sep 09, 2020 at 05:08:21PM +0800, shuo.a@intel.com wrote: From: Shuo Liu The ACRN Hypervisor builds an I/O request when a trapped I/O access happens in User VM. Then, ACRN Hypervisor issues an upcall by

Re: [PATCH 5.8 000/186] 5.8.8-rc1 review

2020-09-10 Thread Geert Uytterhoeven
Hi Günter, On Wed, Sep 9, 2020 at 8:24 PM Guenter Roeck wrote: > On 9/9/20 11:01 AM, Greg Kroah-Hartman wrote: > > On Wed, Sep 09, 2020 at 09:47:05AM -0700, Guenter Roeck wrote: > >> On Tue, Sep 08, 2020 at 05:22:22PM +0200, Greg Kroah-Hartman wrote: > >>> This is the start of the stable review

Re: [PATCH v2 0/2] MTE support for KVM guest

2020-09-10 Thread Andrew Jones
On Wed, Sep 09, 2020 at 05:04:15PM +0100, Steven Price wrote: > On 09/09/2020 16:25, Andrew Jones wrote: > > On Fri, Sep 04, 2020 at 05:00:16PM +0100, Steven Price wrote: > > > 2. Automatically promotes (normal host) memory given to the guest to be > > > tag enabled (sets PG_mte_tagged), if

[PATCH] V2: Currently, DRM get the capability of the mst hub only from DP_DPCD_REV and get the slower speed even the mst hub can run in the faster speed.

2020-09-10 Thread Koba Ko
As per DP-1.3, First check DP_EXTENDED_RECEIVER_CAP_FIELD_PRESENT. If DP_EXTENDED_RECEIVER_CAP_FIELD_PRESENT is 1, read the DP_DP13_DPCD_REV to get the faster capability. If DP_EXTENDED_RECEIVER_CAP_FIELD_PRESENT is 0, read DP_DPCD_REV. Signed-off-by: Koba Ko --- ChangeLog: 1. use

Re: [PATCH] memcg: introduce per-memcg reclaim interface

2020-09-10 Thread SeongJae Park
On 2020-09-09T14:57:52-07:00 Shakeel Butt wrote: > Introduce an memcg interface to trigger memory reclaim on a memory cgroup. > > Use cases: > -- > > 1) Per-memcg uswapd: > > Usually applications consists of combination of latency sensitive and > latency tolerant tasks. For example,

Re: linux-next: Tree for Sep 9 (ath11k)

2020-09-10 Thread Kalle Valo
Randy Dunlap writes: > On 9/9/20 3:26 AM, Stephen Rothwell wrote: >> Hi all, >> >> Changes since 20200908: >> > > on x86_64: > > ld: drivers/net/wireless/ath/ath11k/core.o: in function `ath11k_core_init': > core.c:(.text+0x121f): undefined reference to `rproc_get_by_phandle' This is because

Re: [PATCH v2 2/2] arm64: kvm: Introduce MTE VCPU feature

2020-09-10 Thread Andrew Jones
On Wed, Sep 09, 2020 at 04:53:02PM +0100, Peter Maydell wrote: > On Wed, 9 Sep 2020 at 16:48, Andrew Jones wrote: > > We either need a KVM cap or a new CPU feature probing interface to avoid > > making userspace try features one at a time. It's too bad that VCPU_INIT > > doesn't clear all

Re: [PATCH] arm64/mm: add fallback option to allocate virtually contiguous memory

2020-09-10 Thread Anshuman Khandual
Hello Sudarshan, On 09/10/2020 11:35 AM, Sudarshan Rajagopalan wrote: > When section mappings are enabled, we allocate vmemmap pages from physically > continuous memory of size PMD_SZIE using vmemmap_alloc_block_buf(). Section> > mappings are good to reduce TLB pressure. But when system is

Re: [PATCH v2] usb: serial: Repair FTDI FT232R bricked eeprom

2020-09-10 Thread James Hilliard
On Wed, Sep 9, 2020 at 11:49 PM Greg Kroah-Hartman wrote: > > On Wed, Sep 09, 2020 at 01:34:18PM -0600, James Hilliard wrote: > > This patch detects and reverses the effects of the malicious FTDI > > Windows driver version 2.12.00(FTDIgate). > > > > While we currently load the ftdi_sio driver for

Re: [PATCH v9 0/5] Add support for iMX8MQ Display Controller Subsystem

2020-09-10 Thread Daniel Vetter
On Wed, Sep 9, 2020 at 5:03 PM Lucas Stach wrote: > > Hi Laurentiu, > > On Mo, 2020-08-31 at 14:24 +0300, Laurentiu Palcu wrote: > > Hi Lucas, Sam, > > > > On Mon, Aug 31, 2020 at 12:37:23PM +0200, Lucas Stach wrote: > > > Hi Laurentiu, > > > > > > On Fr, 2020-08-28 at 11:36 +0300, Laurentiu

Re: [PATCH v2] usb: serial: Repair FTDI FT232R bricked eeprom

2020-09-10 Thread James Hilliard
On Wed, Sep 9, 2020 at 11:34 PM Lars Melin wrote: > > On 9/10/2020 10:02, Oliver Neukum wrote: > > Am Mittwoch, den 09.09.2020, 13:34 -0600 schrieb James Hilliard: > >> This patch detects and reverses the effects of the malicious FTDI > >> Windows driver version 2.12.00(FTDIgate). > > > > Hi, > >

Re: [PATCH v3 01/10] dt-bindings: phy: qcom,qmp-usb3-dp: Add DP phy information

2020-09-10 Thread Stephen Boyd
Quoting Stephen Boyd (2020-09-09 17:48:53) > This binding only describes the USB phy inside the USB3 + DP "combo" > phy. Add information for the DP phy and describe the sub-nodes that > represent the DP and USB3 phys that exist inside the combo wrapper. > Remove reg-names from required properties

Re: [PATCH -next] drm/panel: s6e63m0: Add missing MODULE_LICENSE

2020-09-10 Thread Daniel Vetter
On Wed, Sep 09, 2020 at 09:41:37PM +0800, YueHaibing wrote: > Kbuild warns when this file is built as a loadable module: > > WARNING: modpost: missing MODULE_LICENSE() in > drivers/gpu/drm/panel/panel-samsung-s6e63m0.o > > Add the missing license/author/description tags. > > Fixes:

Re: [PATCH 2/2] soundwire: qcom: get max rows and cols info from compatible

2020-09-10 Thread Vinod Koul
On 09-09-20, 17:09, Srinivas Kandagatla wrote: > currently the max rows and cols values are hardcoded. In reality > these values depend on the IP version. So get these based on > device tree compatible strings. > > Signed-off-by: Srinivas Kandagatla > --- > drivers/soundwire/qcom.c | 46

Re: [PATCH v2] drivers: soc: xilinx: Call InitFinalize from late_initcall_sync instead of probe

2020-09-10 Thread Michal Simek
Hi Arnd, On 10. 09. 20 1:10, Amit Sunil Dhamne wrote: > From: Rajan Vaja > > Initially all devices are in power up state. Firmware expect that > processor should call InitFinalize API once it have requested devices > which are required so that it can turn off all unused devices and > save

Re: [PATCH net-next RFC v3 01/14] devlink: Add reload action option to devlink reload command

2020-09-10 Thread Jiri Pirko
Wed, Sep 09, 2020 at 03:27:19PM CEST, mo...@nvidia.com wrote: > >On 9/7/2020 8:58 PM, Jakub Kicinski wrote: >> On Mon, 7 Sep 2020 16:46:01 +0300 Moshe Shemesh wrote: >> > > In that sense I don't like --live because it doesn't really say much. >> > > AFAIU it means 1) no link flap; 2) < 2 sec

Re: [trivial PATCH] treewide: Convert switch/case fallthrough; to break;

2020-09-10 Thread Wolfram Sang
> diff --git a/drivers/i2c/busses/i2c-i801.c b/drivers/i2c/busses/i2c-i801.c > index e32ef3f01fe8..b13b1cbcac29 100644 > --- a/drivers/i2c/busses/i2c-i801.c > +++ b/drivers/i2c/busses/i2c-i801.c > @@ -1785,7 +1785,7 @@ static int i801_probe(struct pci_dev *dev, const struct > pci_device_id *id)

[PATCH v2 00/29] [Set 1,2,3] Rid W=1 warnings in Wireless

2020-09-10 Thread Lee Jones
This is a rebased/re-worked set of patches which have been previously posted to the mailing list(s). 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. There are quite a few W=1 warnings in the

[PATCH 01/29] iwlwifi: dvm: Demote non-compliant kernel-doc headers

2020-09-10 Thread Lee Jones
None of these headers attempt to document any function parameters. Fixes the following W=1 kernel build warning(s): drivers/net/wireless/intel/iwlwifi/dvm/main.c:388: warning: Function parameter or member 't' not described in 'iwl_bg_statistics_periodic'

[PATCH 05/29] iwlwifi: calib: Demote seemingly unintentional kerneldoc header

2020-09-10 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/net/wireless/intel/iwlwifi/dvm/calib.c:770: warning: Function parameter or member 'priv' not described in 'iwl_find_disconn_antenna'

[PATCH 04/29] iwlwifi: dvm: lib: Demote non-compliant kernel-doc headers

2020-09-10 Thread Lee Jones
Neither of these headers attempt to document any function parameters. Fixes the following W=1 kernel build warning(s): drivers/net/wireless/intel/iwlwifi/dvm/lib.c:121: warning: Function parameter or member 'priv' not described in 'iwlagn_txfifo_flush'

[PATCH 09/29] iwlwifi: dvm: Demote a couple of nonconformant kernel-doc headers

2020-09-10 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/net/wireless/intel/iwlwifi/dvm/rx.c:145: warning: Function parameter or member 'priv' not described in 'iwlagn_good_plcp_health' drivers/net/wireless/intel/iwlwifi/dvm/rx.c:145: warning: Function parameter or member 'cur_ofdm' not

[PATCH 10/29] iwlwifi: mvm: utils: Fix some doc-rot

2020-09-10 Thread Lee Jones
Fix misnamed, and missing descriptions likely due to doc-rot. Fixes the following W=1 kernel build warning(s): drivers/net/wireless/intel/iwlwifi/mvm/utils.c:669: warning: Function parameter or member 'mvm' not described in 'iwl_mvm_send_lq_cmd'

[PATCH 15/29] iwlwifi: iwl-drv: Provide descriptions debugfs dentries

2020-09-10 Thread Lee Jones
Also demote a non-conforming kernel-doc function header. Fixes the following W=1 kernel build warning(s): drivers/net/wireless/intel/iwlwifi/iwl-drv.c:124: warning: Function parameter or member 'dbgfs_drv' not described in 'iwl_drv' drivers/net/wireless/intel/iwlwifi/iwl-drv.c:124: warning:

[PATCH 16/29] wil6210: wmi: Fix formatting and demote non-conforming function headers

2020-09-10 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/net/wireless/ath/wil6210/wmi.c:52: warning: Incorrect use of kernel-doc format: * Addressing - theory of operations drivers/net/wireless/ath/wil6210/wmi.c:70: warning: Incorrect use of kernel-doc format: * @sparrow_fw_mapping provides

[PATCH 14/29] iwlwifi: dvm: devices: Fix function documentation formatting issues

2020-09-10 Thread Lee Jones
Kerneldoc expects attributes/parameters to be in '@*.: ' format and gets confused if the variable does not follow the type/attribute definitions. Fixes the following W=1 kernel build warning(s): drivers/net/wireless/intel/iwlwifi/dvm/devices.c:66: warning: Function parameter or member 'priv'

[PATCH 23/29] ath6kl: wmi: Remove unused variable 'rate'

2020-09-10 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/net/wireless/ath/ath6kl/wmi.c: In function ‘ath6kl_wmi_bitrate_reply_rx’: drivers/net/wireless/ath/ath6kl/wmi.c:1204:6: warning: variable ‘rate’ set but not used [-Wunused-but-set-variable] Cc: Kalle Valo Cc: "David S. Miller" Cc:

[PATCH 13/29] iwlwifi: mvm: tx: Demote misuse of kernel-doc headers

2020-09-10 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/net/wireless/intel/iwlwifi/mvm/tx.c:1379: warning: Function parameter or member 'rate_n_flags' not described in 'iwl_mvm_hwrate_to_tx_status' drivers/net/wireless/intel/iwlwifi/mvm/tx.c:1379: warning: Function parameter or member 'info'

[PATCH 27/29] ath9k: ar5008_initvals: Move ar5416Bank{0,1,2,3,7} to where they are used

2020-09-10 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/net/wireless/ath/ath9k/ar5008_initvals.h:627:18: warning: ‘ar5416Bank7’ defined but not used [-Wunused-const-variable=] 627 | static const u32 ar5416Bank7[][2] = { | ^~~ drivers/net/wireless/ath/ath9k/ar5008_initvals.h:548:18:

[PATCH 26/29] ath9k: ar5008_initvals: Remove unused table entirely

2020-09-10 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/net/wireless/ath/ath9k/ar5008_initvals.h:553:18: warning: ‘ar5416Bank6’ defined but not used [-Wunused-const-variable=] Cc: QCA ath9k Development Cc: Kalle Valo Cc: "David S. Miller" Cc: Jakub Kicinski Cc:

[PATCH v13 4/5] KASAN: Testing Documentation

2020-09-10 Thread David Gow
From: Patricia Alfonso Include documentation on how to test KASAN using CONFIG_TEST_KASAN_KUNIT and CONFIG_TEST_KASAN_MODULE. Signed-off-by: Patricia Alfonso Signed-off-by: David Gow Reviewed-by: Andrey Konovalov Reviewed-by: Dmitry Vyukov Acked-by: Brendan Higgins Tested-by: Andrey

[PATCH v13 0/5] KASAN-KUnit Integration

2020-09-10 Thread David Gow
This patchset contains everything needed to integrate KASAN and KUnit. KUnit will be able to: (1) Fail tests when an unexpected KASAN error occurs (2) Pass tests when an expected KASAN error occurs Convert KASAN tests to KUnit with the exception of copy_user_test because KUnit is unable to test

[PATCH v13 1/5] Add KUnit Struct to Current Task

2020-09-10 Thread David Gow
From: Patricia Alfonso In order to integrate debugging tools like KASAN into the KUnit framework, add KUnit struct to the current task to keep track of the current KUnit test. Signed-off-by: Patricia Alfonso Reviewed-by: Brendan Higgins Tested-by: Andrey Konovalov Signed-off-by: David Gow

[PATCH v13 5/5] mm: kasan: Do not panic if both panic_on_warn and kasan_multishot set

2020-09-10 Thread David Gow
KASAN errors will currently trigger a panic when panic_on_warn is set. This renders kasan_multishot useless, as further KASAN errors won't be reported if the kernel has already paniced. By making kasan_multishot disable this behaviour for KASAN errors, we can still have the benefits of

[PATCH v13 3/5] KASAN: Port KASAN Tests to KUnit

2020-09-10 Thread David Gow
From: Patricia Alfonso Transfer all previous tests for KASAN to KUnit so they can be run more easily. Using kunit_tool, developers can run these tests with their other KUnit tests and see "pass" or "fail" with the appropriate KASAN report instead of needing to parse each KASAN report to test

[PATCH v13 2/5] KUnit: KASAN Integration

2020-09-10 Thread David Gow
From: Patricia Alfonso Integrate KASAN into KUnit testing framework. - Fail tests when KASAN reports an error that is not expected - Use KUNIT_EXPECT_KASAN_FAIL to expect a KASAN error in KASAN tests - Expected KASAN reports pass tests and are still printed when

Re: Aw: Re: [PATCH v4 0/4] Split PCIe node to comply with hardware design

2020-09-10 Thread Chuanjia Liu
On Tue, 2020-09-08 at 08:13 +0200, Frank Wunderlich wrote: > Hi, > > i don't see this Patchset in 5.9-rc4 > > is anything missing? > > regards Frank Thanks for ping this mail, mali list consider this patchset is SPAM because of my environmental problems. I have fixed this problem and send

Re: [PATCH net-next v7 5/6] net: marvell: prestera: Add Switchdev driver implementation

2020-09-10 Thread Vadym Kochan
Hi Andy, On Fri, Sep 04, 2020 at 10:41:17PM +0300, Andy Shevchenko wrote: > On Fri, Sep 4, 2020 at 7:52 PM Vadym Kochan wrote: > > > > The following features are supported: > > > > - VLAN-aware bridge offloading > > - VLAN-unaware bridge offloading > > - FDB offloading (learning,

Re: [PATCH -next] staging: regulator: hi6421v600-regulator: Remove unused including

2020-09-10 Thread Mauro Carvalho Chehab
Em Thu, 10 Sep 2020 14:17:56 +0800 YueHaibing escreveu: > Remove including that don't need it. > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing Reviewed-by: Mauro Carvalho Chehab > --- > drivers/staging/hikey9xx/hi6421v600-regulator.c | 1 - > 1 file changed, 1 deletion(-) > >

[PATCH 29/29] brcmsmac: phy_lcn: Remove unused variable 'lcnphy_rx_iqcomp_table_rev0'

2020-09-10 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c:361:25: warning: unused variable 'lcnphy_rx_iqcomp_table_rev0' [-Wunused-const-variable] struct lcnphy_rx_iqcomp lcnphy_rx_iqcomp_table_rev0[] = { ^

[PATCH 28/29] brcmsmac: phytbl_lcn: Remove unused array 'dot11lcn_gain_tbl_rev1'

2020-09-10 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phytbl_lcn.c:108:18: warning: unused variable 'dot11lcn_gain_tbl_rev1' [-Wunused-const-variable] static const u32 dot11lcn_gain_tbl_rev1[] = { Signed-off-by: Lee Jones ---

Re: [PATCH 1/2] serial: core: fix port-lock initialisation

2020-09-10 Thread Johan Hovold
On Wed, Sep 09, 2020 at 06:21:58PM +0300, Andy Shevchenko wrote: > On Wed, Sep 09, 2020 at 04:31:00PM +0200, Johan Hovold wrote: > > Commit f743061a85f5 ("serial: core: Initialise spin lock before use in > > uart_configure_port()") tried to work around a breakage introduced by > > commit

[PATCH 24/29] ath9k: ar9002_initvals: Remove unused array 'ar9280PciePhy_clkreq_off_L1_9280'

2020-09-10 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/net/wireless/ath/ath9k/ar9002_initvals.h:900:18: warning: ‘ar9280PciePhy_clkreq_off_L1_9280’ defined but not used [-Wunused-const-variable=] Cc: QCA ath9k Development Cc: Kalle Valo Cc: "David S. Miller" Cc: Jakub Kicinski Cc:

[PATCH 25/29] ath9k: ar9001_initvals: Remove unused array 'ar5416Bank6_9100'

2020-09-10 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/net/wireless/ath/ath9k/ar9001_initvals.h:462:18: warning: ‘ar5416Bank6_9100’ defined but not used [-Wunused-const-variable=] Cc: QCA ath9k Development Cc: Kalle Valo Cc: "David S. Miller" Cc: Jakub Kicinski Cc:

[PATCH 22/29] wil6210: wmi: Correct misnamed function parameter 'ptr_'

2020-09-10 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/net/wireless/ath/wil6210/wmi.c:279: warning: Function parameter or member 'ptr_' not described in 'wmi_buffer_block' drivers/net/wireless/ath/wil6210/wmi.c:279: warning: Excess function parameter 'ptr' description in 'wmi_buffer_block'

Re: [PATCH] arm64: dts: renesas: r8a774e1-hihope-rzg2h-ex: Enable sata

2020-09-10 Thread Geert Uytterhoeven
On Mon, Sep 7, 2020 at 9:32 AM Lad Prabhakar wrote: > Enable sata interface on HiHope RZ/G2H board. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Biju Das Reviewed-by: Geert Uytterhoeven i.e. will queue in renesas-devel for v5.10. Gr{oetje,eeting}s, Geert --

Re: [PATCH v3 08/18] iio: adc: stm32: Simplify with dev_err_probe()

2020-09-10 Thread Krzysztof Kozlowski
On Thu, 10 Sep 2020 at 08:52, Andy Shevchenko wrote: > > > > On Thursday, September 10, 2020, Peter Rosin wrote: >> >> Hi! >> >> On 2020-09-09 21:57, Krzysztof Kozlowski wrote: >> > On Wed, 9 Sep 2020 at 20:36, Jonathan Cameron wrote: >> >> >> >> On Sat, 29 Aug 2020 08:47:16 +0200 >> >>

[PATCH 20/29] wil6210: pmc: Demote a few nonconformant kernel-doc function headers

2020-09-10 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/net/wireless/ath/wil6210/pmc.c:43: warning: Function parameter or member 'wil' not described in 'wil_pmc_alloc' drivers/net/wireless/ath/wil6210/pmc.c:43: warning: Function parameter or member 'num_descriptors' not described in

[PATCH 21/29] wil6210: wil_platform: Demote kernel-doc header to standard comment block

2020-09-10 Thread Lee Jones
There has been no attempt to document any of the function parameters here. Fixes the following W=1 kernel build warning(s): drivers/net/wireless/ath/wil6210/wil_platform.c:27: warning: Function parameter or member 'dev' not described in 'wil_platform_init'

[PATCH 18/29] wil6210: txrx: Demote obvious abuse of kernel-doc

2020-09-10 Thread Lee Jones
None of these headers provide any parameter documentation. Fixes the following W=1 kernel build warning(s): drivers/net/wireless/ath/wil6210/txrx.c:259: warning: Function parameter or member 'wil' not described in 'wil_vring_alloc_skb' drivers/net/wireless/ath/wil6210/txrx.c:259: warning:

[PATCH 19/29] wil6210: txrx_edma: Demote comments which are clearly not kernel-doc

2020-09-10 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/net/wireless/ath/wil6210/txrx_edma.c:155: warning: Function parameter or member 'wil' not described in 'wil_ring_alloc_skb_edma' drivers/net/wireless/ath/wil6210/txrx_edma.c:155: warning: Function parameter or member 'ring' not

[PATCH 17/29] wil6210: interrupt: Demote comment header which is clearly not kernel-doc

2020-09-10 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/net/wireless/ath/wil6210/interrupt.c:652: warning: Function parameter or member 'irq' not described in 'wil6210_thread_irq' drivers/net/wireless/ath/wil6210/interrupt.c:652: warning: Function parameter or member 'cookie' not described

Re: WARNING: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected (2)

2020-09-10 Thread Boqun Feng
Thanks! On Wed, Sep 09, 2020 at 06:19:06AM -0700, syzbot wrote: > syzbot has bisected this issue to: > > commit f08e3888574d490b31481eef6d84c61bedba7a47 > Author: Boqun Feng > Date: Fri Aug 7 07:42:30 2020 + > > lockdep: Fix recursive read lock related safe->unsafe detection > >

[PATCH 12/29] iwlwifi: dvm: rxon: Demote non-conformant kernel-doc headers

2020-09-10 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/net/wireless/intel/iwlwifi/dvm/rxon.c:695: warning: bad line: drivers/net/wireless/intel/iwlwifi/dvm/rxon.c:701: warning: Function parameter or member 'priv' not described in 'iwl_set_rxon_channel'

[PATCH 11/29] iwlwifi: dvm: scan: Demote a few nonconformant kernel-doc headers

2020-09-10 Thread Lee Jones
2 of which do not attempt to document their parameters, 1 does a poor job. Fixes the following W=1 kernel build warning(s): drivers/net/wireless/intel/iwlwifi/dvm/scan.c:193: warning: Function parameter or member 'priv' not described in 'iwl_scan_cancel'

[PATCH 07/29] iwlwifi: dvm: sta: Demote a bunch of nonconformant kernel-doc headers

2020-09-10 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/net/wireless/intel/iwlwifi/dvm/sta.c:244: warning: Function parameter or member 'priv' not described in 'iwl_prep_station' drivers/net/wireless/intel/iwlwifi/dvm/sta.c:244: warning: Function parameter or member 'ctx' not described in

[PATCH 08/29] iwlwifi: mvm: ops: Remove unused static struct 'iwl_mvm_debug_names'

2020-09-10 Thread Lee Jones
Looks as if it's never been used. Fixes the following W=1 kernel build warning(s): drivers/net/wireless/intel/iwlwifi/mvm/ops.c:466:36: warning: ‘iwl_mvm_debug_names’ defined but not used [-Wunused-const-variable=] Cc: Johannes Berg Cc: Emmanuel Grumbach Cc: Luca Coelho Cc: Intel Linux

[PATCH 06/29] wil6210: Fix a couple of formatting issues in 'wil6210_debugfs_init'

2020-09-10 Thread Lee Jones
Kerneldoc expects attributes/parameters to be in '@*.: ' format and gets confused if the variable does not follow the type/attribute definitions. Fixes the following W=1 kernel build warning(s): drivers/net/wireless/ath/wil6210/debugfs.c:456: warning: Function parameter or member 'wil' not

[PATCH 03/29] iwlwifi: dvm: tx: Demote non-compliant kernel-doc headers

2020-09-10 Thread Lee Jones
None of these headers attempt to document any function parameters. Fixes the following W=1 kernel build warning(s): drivers/net/wireless/intel/iwlwifi/dvm/tx.c:811: warning: Function parameter or member 'priv' not described in 'iwlagn_hwrate_to_tx_control'

[PATCH 02/29] iwlwifi: rs: Demote non-compliant kernel-doc headers

2020-09-10 Thread Lee Jones
None of these headers attempt to document any function parameters. Fixes the following W=1 kernel build warning(s): drivers/net/wireless/intel/iwlwifi/dvm/rs.c:165: warning: cannot understand function prototype: 'const u16 expected_tpt_legacy[IWL_RATE_COUNT] = '

Re: [PATCH 1/2] arm64: dts: mt8173: elm: Set uart0 to mmio32 iotype

2020-09-10 Thread Enric Balletbo i Serra
Hi Hsin-Yi, On 10/9/20 7:46, Hsin-Yi Wang wrote: > Set uart0 iotype to mmio32 to make earlycon work with stdout-path. > > Signed-off-by: Hsin-Yi Wang > --- > arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git

Re: [PATCH v2 1/2] PM / Domains: Add GENPD_FLAG_NO_SUSPEND/RESUME flags

2020-09-10 Thread Sibi Sankar
On 2020-08-25 23:23, Bjorn Andersson wrote: On Tue 25 Aug 02:20 CDT 2020, Stephen Boyd wrote: Quoting Bjorn Andersson (2020-08-24 09:42:12) > On Fri 21 Aug 14:41 PDT 2020, Stephen Boyd wrote: [..] > > I find it odd that this is modeled as a power domain instead of some > > Qualcomm specific

Re: linux-next: Tree for Sep 9 (ath11k)

2020-09-10 Thread Kalle Valo
Kalle Valo writes: > Randy Dunlap writes: > >> On 9/9/20 3:26 AM, Stephen Rothwell wrote: >>> Hi all, >>> >>> Changes since 20200908: >>> >> >> on x86_64: >> >> ld: drivers/net/wireless/ath/ath11k/core.o: in function `ath11k_core_init': >> core.c:(.text+0x121f): undefined reference to

Re: [PATCH] mm: don't rely on system state to detect hot-plug operations

2020-09-10 Thread Michal Hocko
On Wed 09-09-20 18:07:15, Laurent Dufour wrote: > Le 09/09/2020 à 12:59, Michal Hocko a écrit : > > On Wed 09-09-20 11:21:58, Laurent Dufour wrote: [...] > > > For the point a, using the enum allows to know in > > > register_mem_sect_under_node() if the link operation is due to a hotplug > > >

Re: [PATCH -next] drm/amdkfd: Fix -Wunused-const-variable warning

2020-09-10 Thread Huang Rui
On Thu, Sep 10, 2020 at 10:55:32AM +0800, YueHaibing wrote: > If KFD_SUPPORT_IOMMU_V2 is not set, gcc warns: > > drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device.c:121:37: warning: > ‘raven_device_info’ defined but not used [-Wunused-const-variable=] > static const struct kfd_device_info

Re: [PATCH 2/2] Add driver for Moortec MR75203 PVT controller

2020-09-10 Thread Tanwar, Rahul
Hi Andy, Thanks for the review & feedback. On 9/9/2020 6:33 pm, Andy Shevchenko wrote: > On Wed, Sep 09, 2020 at 02:52:05PM +0800, Rahul Tanwar wrote: >> PVT controller (MR75203) is used to configure & control >> Moortec embedded analog IP which contains temprature >> sensor(TS), voltage

[PATCH -next] soundwire: intel: Fix -Wunused-function warning

2020-09-10 Thread YueHaibing
If CONFIG_PM is not set, build warns: drivers/soundwire/intel.c:488:12: warning: 'intel_link_power_down' defined but not used [-Wunused-function] Mark the functions __maybe_unused and remove the CONFIG_PM dependency. Signed-off-by: YueHaibing --- drivers/soundwire/intel.c | 12

Re: [RFC PATCH 00/16] 1GB THP support on x86_64

2020-09-10 Thread Michal Hocko
[Cc Vlastimil and Mel - the whole email thread starts http://lkml.kernel.org/r/20200902180628.4052244-1-zi@sent.com but this particular subthread has diverged a bit and you might find it interesting] On Wed 09-09-20 15:43:55, David Hildenbrand wrote: > On 09.09.20 15:19, Rik van Riel

Re: [PATCH 2/2] serial: core: fix console port-lock regression

2020-09-10 Thread Johan Hovold
On Wed, Sep 09, 2020 at 06:48:15PM +0300, Andy Shevchenko wrote: > On Wed, Sep 09, 2020 at 04:31:01PM +0200, Johan Hovold wrote: > > Fix the port-lock initialisation regression introduced by commit > > a3cb39d258ef ("serial: core: Allow detach and attach serial device for > > console") by making

  1   2   3   4   5   6   7   8   9   10   >