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

2020-09-09 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 descri

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

2020-09-09 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' drivers/net/wireless/intel/iwlwifi/mvm/utils.c:6

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

2020-09-09 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' drivers/net/wireless/intel/iwlwifi/dvm/li

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

2020-09-09 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' drivers/net/wireless/intel/iwlwifi/dvm/

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

2020-09-09 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' drivers/net/wirele

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

2020-09-09 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 Wire

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

2020-09-09 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) >

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

2020-09-09 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 datapa

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

2020-09-09 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 power.

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

2020-09-09 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: b7b23e447687

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

2020-09-09 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] usb: serial: Repair FTDI FT232R bricked eeprom

2020-09-09 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-09 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 b

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

2020-09-09 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 Palcu

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

2020-09-09 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 highly

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

2020-09-09 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 v2 2/2] arm64: kvm: Introduce MTE VCPU feature

2020-09-09 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 offendin

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

2020-09-09 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 CO

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

2020-09-09 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, ta

[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-09 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 drm_dp_read_dpc

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

2020-09-09 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

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

2020-09-09 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 c

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

2020-09-09 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 sending

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

2020-09-09 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 b

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

2020-09-09 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: http://patchwo

Re: general protection fault in unlink_file_vma

2020-09-09 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 >> > > 'perf-tools-fixes-for-v5.

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

2020-09-09 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 das

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

2020-09-09 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: [PATCH 3/9] i2c: bcm2835: Simplify with dev_err_probe()

2020-09-09 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 Description

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

2020-09-09 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 Description

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

2020-09-09 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 version

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

2020-09-09 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 Description

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

2020-09-09 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-09 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(&plug); } while ((bio = bio_l

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

2020-09-09 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 tha

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

2020-09-09 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, destroying

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

2020-09-09 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 > Review

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

2020-09-09 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: > >

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

2020-09-09 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 index

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

2020-09-09 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 net-next RFC v1 2/4] devlink: Add devlink traps under devlink_ports context

2020-09-09 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 en

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

2020-09-09 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 Para

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

2020-09-09 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. > > Signed-off-by:

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

2020-09-09 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 reporte

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

2020-09-09 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 filesy

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

2020-09-09 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 > --- > .../users

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

2020-09-09 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 S

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

2020-09-09 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 that

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

2020-09-09 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 tha

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

2020-09-09 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 contro

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

2020-09-09 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 smaller.

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

2020-09-09 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: > > syzbot+0be

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

2020-09-09 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 1/2] arm64/mm: Remove CONT_RANGE_OFFSET

2020-09-09 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 make

Re: [PATCH 2/3] perf metricgroup: Fix uncore metric expressions

2020-09-09 Thread Namhyung Kim
On Thu, Sep 10, 2020 at 12:41 PM Ian Rogers wrote: > > On Wed, Sep 9, 2020 at 10:52 AM Ian Rogers wrote: > > > > On Wed, Sep 9, 2020 at 2:53 AM Namhyung Kim wrote: > > > > > > Hi Ian, > > > > > > On Wed, Sep 9, 2020 at 5:02 PM Ian Rogers wrote: > > > > > > > > A metric like DRAM_BW_Use has on S

[PATCH v3 2/2] idr: Document that ida_simple_{get,remove}() are deprecated

2020-09-09 Thread Stephen Boyd
These two functions are deprecated. Users should call ida_alloc() or ida_free() respectively instead. Add documentation to this effect until the macro can be removed. Cc: Greg KH Reviewed-by: Tri Vo Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Matthew Wilcox Signed-off-by: Stephen Boy

[PATCH v3 1/2] idr: Document calling context for IDA APIs mustn't use locks

2020-09-09 Thread Stephen Boyd
The documentation for these functions indicates that callers don't need to hold a lock while calling them, but that documentation is only in one place under "IDA Usage". Let's state the same information on each IDA function so that it's clear what the calling context requires. Furthermore, let's do

[PATCH v3 0/8] Add PHY USB3 drivers for Hikey 970

2020-09-09 Thread Mauro Carvalho Chehab
This patch series add the PHY layer needed in order to support the USB functionality on Hikey 970 boards. v3: - split a namespace patch on two (one with code changes and another one with dt-bindings changes); - placed just the PHY driver on this series. Another series will add the USB HUB driv

[PATCH] taskstats: fix CGROUPSTATS_CMD_GET for cgroup v2

2020-09-09 Thread Chengming Zhou
We found cgroupstats_build would return -EINVAL when using netlink CGROUPSTATS_CMD_GET interface to get stats on cgroup v2. Fix it by supporting cgroup v2 kernfs directory in cgroupstats_build, and export cgroup2_fs_type like we did for cgroup_fs_type. Reported-by: Daowen Luo Tested-by: Chengming

Re: [PATCH -next] soundwire: intel: Remove ununsed function

2020-09-09 Thread Vinod Koul
On 09-09-20, 08:46, Pierre-Louis Bossart wrote: > > > On 9/9/20 8:15 AM, YueHaibing wrote: > > 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] > > > > Move this to #ifdef block. > > Y

Re: [PATCH v4 3/4] mm/pageblock: work around multiple arch's cmpxchg support issue

2020-09-09 Thread Christoph Hellwig
On Thu, Sep 03, 2020 at 03:01:22PM +0800, Alex Shi wrote: > Armv6, sh2, sparc32 and xtensa can not do cmpxchg1, so we have to use > cmpxchg4 on it. > > Here we mark above 4 arch's NO_CMPXCHG_BYTE, and would add more if we > found. > > This is the first usages of cmpxchg flase sharing change. We'd

Re: [PATCH v2 3/3] perf metricgroup: Fix uncore metric expressions

2020-09-09 Thread Namhyung Kim
On Thu, Sep 10, 2020 at 12:26 PM Ian Rogers wrote: > > A metric like DRAM_BW_Use has on SkylakeX events uncore_imc/cas_count_read/ > and uncore_imc/case_count_write/. These events open 6 events per socket > with pmu names of uncore_imc_[0-5]. The current metric setup code in > find_evsel_group ass

Re: [PATCH v2 0/7] ASoC/soundwire: filter out invalid PARITY errors

2020-09-09 Thread Vinod Koul
On 08-09-20, 21:45, Bard Liao wrote: > Some codecs may report fake PARITY errors in the initial state. This > series will filter them out. Applied, thanks -- ~Vinod

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

2020-09-09 Thread Greg Kroah-Hartman
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 devices with > FTDI_BRICK_PID(0x) userspace applications that expe

Re: [RESEND PATCH v2 2/2] drm/mediatek: mtk_dpi: Convert to bridge driver

2020-09-09 Thread Daniel Vetter
On Thu, Sep 10, 2020 at 06:35:21AM +0800, Chun-Kuang Hu wrote: > Hi, Andrzej & Neil: > > Enric Balletbo i Serra 於 2020年8月26日 週三 > 下午4:53寫道: > > > > > Convert mtk_dpi to a bridge driver with built-in encoder support for > > compatibility with existing component drivers. > > > > This is a DRM-br

[PATCH 2/2] arm64: dts: mt8183: kukui: Set uart0 to mmio32 iotype

2020-09-09 Thread Hsin-Yi Wang
Set uart0 iotype to mmio32 to make earlycon work with stdout-path. Signed-off-by: Hsin-Yi Wang --- arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi

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

2020-09-09 Thread Hsin-Yi Wang
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 a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi index

Re: [PATCH -next] drm/bridge/tc358775: Remove unneeded semicolon

2020-09-09 Thread Daniel Vetter
On Wed, Sep 09, 2020 at 08:19:00PM +0800, Zheng Bin wrote: > Fixes coccicheck warning: > > drivers/gpu/drm/bridge/tc358775.c:488:2-3: Unneeded semicolon > > Signed-off-by: Zheng Bin Queued for 5.10, thanks for your patch. -Daniel > --- > drivers/gpu/drm/bridge/tc358775.c | 2 +- > 1 file chan

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

2020-09-09 Thread Andrew Jones
On Wed, Sep 09, 2020 at 06:45:33PM -0700, Richard Henderson wrote: > On 9/9/20 8:25 AM, Andrew Jones wrote: > >> * Provide a KVM-specific method to extract the tags from guest memory. > >>This might also have benefits in terms of providing an easy way to > >>read bulk tag data from guest m

Re: linux-next: Tree for Aug 26

2020-09-09 Thread Paul E. McKenney
On Thu, Sep 10, 2020 at 02:14:32PM +1000, Stephen Rothwell wrote: > Hi all, > > On Mon, 7 Sep 2020 10:55:47 +0200 Anders Roxell > wrote: > > > > On Thu, 3 Sep 2020 at 18:14, Paul E. McKenney wrote: > > > > > > On Thu, Sep 03, 2020 at 10:39:10AM +0200, Anders Roxell wrote: > > > > Hi Paul, > >

[PATCH net v2] net: Clarify the difference between hard_header_len and needed_headroom

2020-09-09 Thread Xie He
The difference between hard_header_len and needed_headroom has long been confusing to driver developers. Let's clarify it. The understanding on this issue in this patch is based on the following reasons: 1. In af_packet.c, the function packet_snd first reserves a headroom of length (dev->hard_he

[PATCH 3/3] dma-mapping: introduce DMA range map, supplanting dma_pfn_offset

2020-09-09 Thread Christoph Hellwig
From: Jim Quinlan The new field 'dma_range_map' in struct device is used to facilitate the use of single or multiple offsets between mapping regions of cpu addrs and dma addrs. It subsumes the role of "dev->dma_pfn_offset" which was only capable of holding a single uniform offset and had no regi

[PATCH 1/3] ARM/dma-mapping: move various helpers from dma-mapping.h to dma-direct.h

2020-09-09 Thread Christoph Hellwig
Move the helpers to translate to and from direct mapping DMA addresses to dma-direct.h. This not only is the most logical place, but the new placement also avoids dependency loops with pending commits. Signed-off-by: Christoph Hellwig --- arch/arm/common/dmabounce.c| 2 +- arch/arm/inc

support range based offsets in dma-direct

2020-09-09 Thread Christoph Hellwig
Hi all, this series adds range-based offsets to the dma-direct implementation. The guts of the change are a patch from Jim with some modifications from me, but to do it nicely we need to ARM patches to prepare for it as well. Diffstat: arch/arm/common/dmabounce.c|2

[PATCH 2/3] ARM/keystone: move the DMA offset handling under ifdef CONFIG_ARM_LPAE

2020-09-09 Thread Christoph Hellwig
The DMA offset notifier can only be used if PHYS_OFFSET is at least KEYSTONE_HIGH_PHYS_START, which can't be represented by a 32-bit phys_addr_t. Currently the code compiles fine despite that, a pending change to the DMA offset handling would create a compiler warning for this case. Add an ifdef

Re: [PATCH v2 2/3] perf metricgroup: Fix typo in comment.

2020-09-09 Thread Namhyung Kim
On Thu, Sep 10, 2020 at 12:26 PM Ian Rogers wrote: > > Add missing character. > > Signed-off-by: Ian Rogers Acked-by: Namhyung Kim Thanks Namhyung > --- > tools/perf/util/metricgroup.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/perf/util/metricgroup.c b/to

Re: [PATCH v2 1/3] perf stat: Remove dead code

2020-09-09 Thread Namhyung Kim
Hi Ian, On Thu, Sep 10, 2020 at 12:26 PM Ian Rogers wrote: > > No need to set os.evsel twice. > > Signed-off-by: Ian Rogers Acked-by: Namhyung Kim Btw, I think setting the 'out' variable can be moved out of the loop. Thanks Namhyung > --- > tools/perf/util/stat-display.c | 1 - > 1 file ch

Re: [RFC 03/10] phy: hisilicon: phy-hi3670-usb3: use a consistent namespace

2020-09-09 Thread Mauro Carvalho Chehab
Em Wed, 9 Sep 2020 14:15:59 -0600 Rob Herring escreveu: > On Fri, Sep 4, 2020 at 4:23 AM Mauro Carvalho Chehab > wrote: > > > > Rename hikey970 to hi3670, in order to use a namespace > > similar to hi3660 driver. > > > > Signed-off-by: Mauro Carvalho Chehab > > --- > > .../bindings/phy/phy-hi3

[PATCH] lib/mpi: remove A_LIMB_1

2020-09-09 Thread Alex Shi
After commit 7cf4206a99d1b3 Remove unused code from MPI library, the macro is not used anymore. Remove it to tame gcc warning: ../lib/mpi/mpi-bit.c:24: warning: macro "A_LIMB_1" is not used [-Wunused-macros] Signed-off-by: Alex Shi Cc: linux-kernel@vger.kernel.org --- lib/mpi/mpi-bit.c | 2 --

Re: [PATCH v2] arm64: dts: mt8183-kukui: add scp node

2020-09-09 Thread Pi-Hsun Shih
On Wed, Sep 9, 2020 at 4:58 PM Matthias Brugger wrote: > > > > On 09/09/2020 10:14, Pi-Hsun Shih wrote: > > Add scp node to mt8183-kukui > > > > Fixes: 0d5e41709f76 ("arm64: dts: mt8183: add scp node") > > Signed-off-by: Pi-Hsun Shih > > --- > > > > Change since v1: > > * Add Fixes tag. > > > > -

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

2020-09-09 Thread Lars Melin
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, this raises questions. Should we do this unconditionally without asking? Do

Re: [PATCH v7] cpufreq: mediatek-hw: Add support for Mediatek cpufreq HW driver

2020-09-09 Thread Viresh Kumar
On 10-09-20, 13:30, Hector Yuan wrote: > On Thu, 2020-09-10 at 10:33 +0530, Viresh Kumar wrote: > > On 10-09-20, 12:31, Hector Yuan wrote: > > > The CPUfreq HW present in some Mediatek chipsets offloads the steps > > > necessary for changing the frequency of CPUs. > > > The driver implements the

Re: [PATCH v7] cpufreq: mediatek-hw: Add support for Mediatek cpufreq HW driver

2020-09-09 Thread Hector Yuan
On Thu, 2020-09-10 at 10:33 +0530, Viresh Kumar wrote: > On 10-09-20, 12:31, Hector Yuan wrote: > > The CPUfreq HW present in some Mediatek chipsets offloads the steps > > necessary for changing the frequency of CPUs. > > The driver implements the cpufreq driver interface for this hardware > > e

[PATCH v8 3/3] ASoC: qcom: sc7180: Add machine driver for sound card registration

2020-09-09 Thread Cheng-Yi Chiang
From: Ajit Pandey Add new driver to register sound card on sc7180 trogdor board and do the required configuration for lpass cpu dai and external codecs connected over MI2S interfaces. Signed-off-by: Ajit Pandey Signed-off-by: Cheng-Yi Chiang --- sound/soc/qcom/Kconfig | 12 ++ sound/soc/qco

[PATCH v8 2/3] ASoC: qcom: dt-bindings: Add sc7180 machine bindings

2020-09-09 Thread Cheng-Yi Chiang
Add devicetree bindings documentation file for sc7180 sound card. Signed-off-by: Cheng-Yi Chiang --- .../bindings/sound/qcom,sc7180.yaml | 130 ++ 1 file changed, 130 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/qcom,sc7180.yaml diff --git

[PATCH v8 1/3] ASoC: hdmi-codec: Use set_jack ops to set jack

2020-09-09 Thread Cheng-Yi Chiang
Use set_jack ops to set jack so machine drivers do not need to include hdmi-codec.h explicitly. Signed-off-by: Cheng-Yi Chiang --- include/sound/hdmi-codec.h | 3 --- sound/soc/codecs/hdmi-codec.c| 12 sound/soc/mediatek/mt8173/mt81

[PATCH v8 0/3] Add documentation and machine driver for SC7180 sound card

2020-09-09 Thread Cheng-Yi Chiang
Note: - The machine driver patch is made by the collaboration of Cheng-Yi Chiang Rohit kumar Ajit Pandey But Ajit has left codeaurora. - This patch series needs HDMI DAI name defined in sc7180-lpass.h. https://patchwork.kernel.org/patch/11745565/ Changes from v1 to v2: - Ducumentation

[PATCH] mm: remove unused marco writeback

2020-09-09 Thread Alex Shi
Unlike others we don't use the marco writeback. so let's remove it to tame gcc warning: mm/memory-failure.c:827: warning: macro "writeback" is not used [-Wunused-macros] Signed-off-by: Alex Shi Cc: Naoya Horiguchi Cc: Andrew Morton Cc: linux...@kvack.org Cc: linux-kernel@vger.kernel.org --

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

2020-09-09 Thread Vasundhara Volam
On Wed, Sep 9, 2020 at 10:51 PM Moshe Shemesh 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 datapath dow

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

2020-09-09 Thread Eric Biggers
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: syzbot+0bef568258653cff2...@syzkaller.appspotmail.com > Link: https://syzkaller.appspot

[tip:WIP.x86/seves] BUILD SUCCESS 1ac0dc494a9796d6f94ff392f16e0c9a8cea7021

2020-09-09 Thread kernel test robot
allyesconfig powerpc allmodconfig powerpc allnoconfig x86_64 randconfig-a004-20200909 x86_64 randconfig-a006-20200909 x86_64 randconfig-a003-20200909 x86_64 randconfig-a001-20200909

Re: [PATCH v7] cpufreq: mediatek-hw: Add support for Mediatek cpufreq HW driver

2020-09-09 Thread Viresh Kumar
On 10-09-20, 12:31, Hector Yuan wrote: > The CPUfreq HW present in some Mediatek chipsets offloads the steps necessary > for changing the frequency of CPUs. > The driver implements the cpufreq driver interface for this hardware engine. > > This patch depends on the MT6779 DTS patch submitted by

Re: [PATCH -next] regulator: bd718x7: Make some variable static

2020-09-09 Thread Vaittinen, Matti
On Thu, 2020-09-10 at 11:42 +0800, YueHaibing wrote: > Fix sparse warnings: > > drivers/regulator/bd718x7-regulator.c:576:28: warning: symbol > 'bd71847_swcontrol_ops' was not declared. Should it be static? > drivers/regulator/bd718x7-regulator.c:585:28: warning: symbol > 'bd71847_hwcontrol_ops'

Re: possible deadlock in _snd_pcm_stream_lock_irqsave

2020-09-09 Thread Boqun Feng
Thanks for reporting. On Wed, Sep 09, 2020 at 10:33:04AM -0700, syzbot wrote: > syzbot has bisected this issue to: > > commit e918188611f073063415f40fae568fa4d86d9044 > Author: Boqun Feng > Date: Fri Aug 7 07:42:20 2020 + > > locking: More accurate annotations for read_lock() > > bis

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

2020-09-09 Thread James Hilliard
On Wed, Sep 9, 2020 at 9:49 PM Hector Martin "marcan" wrote: > > > > On September 10, 2020 12:46:20 PM GMT+09:00, James Hilliard > wrote: > >On Wed, Sep 9, 2020 at 9:17 PM Hector Martin "marcan" > > wrote: > >> > >> > >> > >> On September 10, 2020 12:02:34 PM GMT+09:00, Oliver Neukum > > wrote:

BUG: stack guard page was hit in validate_chain (2)

2020-09-09 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:9322c47b Merge tag 'xfs-5.9-fixes-2' of git://git.kernel.o.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1142839590 kernel config: https://syzkaller.appspot.com/x/.config?x=e1c560d0f4e121c9 das

[Linux-kernel-mentees] [PATCH] net: bluetooth: Fix null pointer dereference in hci_event_packet()

2020-09-09 Thread Anmol Karn
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: syzbot+0bef568258653cff2...@syzkaller.appspotmail.com Link: https://syzkaller.appspot.com/bug?extid=0bef568258653cff272f Signed-off-by: Anmol Karn --- ne

Re: [PATCH v2] certs: Add EFI_CERT_X509_GUID support for dbx entries

2020-09-09 Thread Eric Snowberg
> On Sep 9, 2020, at 11:40 AM, Randy Dunlap wrote: > > On 9/9/20 10:27 AM, Eric Snowberg wrote: >> diff --git a/include/crypto/pkcs7.h b/include/crypto/pkcs7.h >> index 38ec7f5f9041..d8f2e0fdfbf4 100644 >> --- a/include/crypto/pkcs7.h >> +++ b/include/crypto/pkcs7.h >> @@ -26,11 +26,19 @@ exter

[PATCH v7] cpufreq: mediatek-hw: Add support for Mediatek cpufreq HW driver

2020-09-09 Thread Hector Yuan
The CPUfreq HW present in some Mediatek chipsets offloads the steps necessary for changing the frequency of CPUs. The driver implements the cpufreq driver interface for this hardware engine. This patch depends on the MT6779 DTS patch submitted by Hanks Chen https://lkml.org/lkml/2020/8/4/1094

[PATCH v7 2/2] dt-bindings: cpufreq: add bindings for MediaTek cpufreq HW

2020-09-09 Thread Hector Yuan
From: "Hector.Yuan" Add devicetree bindings for MediaTek HW driver. Signed-off-by: Hector.Yuan --- .../bindings/cpufreq/cpufreq-mediatek-hw.yaml | 141 1 file changed, 141 insertions(+) create mode 100644 Documentation/devicetree/bindings/cpufreq/cpufreq-mediatek-h

  1   2   3   4   5   6   7   8   9   10   >