[PATCH] octeontx2-af: debugfs: Remove unneeded semicolon

2021-01-18 Thread Xu Wang
fix semicolon.cocci warnings: drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:1788:3-4: Unneeded semicolon drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:1809:3-4: Unneeded semicolon Signed-off-by: Xu Wang --- drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c | 4 ++--

Re: [PATCH] can: mcp251xfd: mcp251xfd_handle_ivmif(): fix wrong NULL pointer check

2021-01-18 Thread Marc Kleine-Budde
On 1/19/21 3:02 AM, angkery wrote: > From: Junlin Yang > > if alloc_can_err_skb() returns NULL, we should check skb instead of cf. Have a look at the function, there is a check for cf several times before this. But as cf is initialized as NULL this is should be no problem. While in: |

[PATCH V8 00/10] remoteproc: imx_rproc: support iMX8MQ/M

2021-01-18 Thread peng . fan
From: Peng Fan V8: Address sparse warning in patch 4/10 reported by kernel test robot V7: Add R-b tag from Mathieu vdevbuffer->vdev0buffer in patch 1/10, 7/10 correct err msg and shutdown seq per Mathieu's comments in patch 10/10 Hope this version is ok to be merged. V6: Add R-b tag

[PATCH V8 06/10] remoteproc: imx_rproc: use devm_ioremap

2021-01-18 Thread peng . fan
From: Peng Fan We might need to map an region multiple times, becaue the region might be shared between remote processors, such i.MX8QM with dual M4 cores. So use devm_ioremap, not devm_ioremap_resource. Reviewed-by: Oleksij Rempel Reviewed-by: Richard Zhu Signed-off-by: Peng Fan

[PATCH V8 03/10] remoteproc: introduce is_iomem to rproc_mem_entry

2021-01-18 Thread peng . fan
From: Peng Fan Introduce is_iomem to indicate this piece memory is iomem or not. Reviewed-by: Bjorn Andersson Signed-off-by: Peng Fan Reviewed-by: Mathieu Poirier --- include/linux/remoteproc.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/remoteproc.h

[PATCH V8 07/10] remoteproc: imx_rproc: add i.MX specific parse fw hook

2021-01-18 Thread peng . fan
From: Peng Fan The hook is used to parse memory-regions and load resource table from the address the remote processor published. Reviewed-by: Richard Zhu Reviewed-by: Mathieu Poirier Signed-off-by: Peng Fan --- drivers/remoteproc/imx_rproc.c | 93 ++ 1 file

[PATCH V8 08/10] remoteproc: imx_rproc: support i.MX8MQ/M

2021-01-18 Thread peng . fan
From: Peng Fan Add i.MX8MQ dev/sys addr map and configuration data structure i.MX8MM share i.MX8MQ settings. Reviewed-by: Richard Zhu Signed-off-by: Peng Fan Reviewed-by: Mathieu Poirier --- drivers/remoteproc/imx_rproc.c | 39 ++ 1 file changed, 39

[PATCH] octeontx2-af: Remove unneeded semicolon

2021-01-18 Thread Xu Wang
fix semicolon.cocci warnings: ./drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c:272:2-3: Unneeded semicolon Signed-off-by: Xu Wang --- drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH V8 09/10] remoteproc: imx_rproc: ignore mapping vdev regions

2021-01-18 Thread peng . fan
From: Peng Fan vdev regions are vdev0vring0, vdev0vring1, vdevbuffer and similar. They are handled by remoteproc common code, no need to map in imx rproc driver. Signed-off-by: Peng Fan Reviewed-by: Mathieu Poirier --- drivers/remoteproc/imx_rproc.c | 3 +++ 1 file changed, 3 insertions(+)

[PATCH V8 10/10] remoteproc: imx_proc: enable virtio/mailbox

2021-01-18 Thread peng . fan
From: Peng Fan Use virtio/mailbox to build connection between Remote Proccessors and Linux. Add work queue to handle incoming messages. Reviewed-by: Richard Zhu Signed-off-by: Peng Fan --- drivers/remoteproc/imx_rproc.c | 116 - 1 file changed, 113

[PATCH V8 05/10] remoteproc: imx_rproc: correct err message

2021-01-18 Thread peng . fan
From: Peng Fan It is using devm_ioremap, so not devm_ioremap_resource. Correct the error message and print out sa/size. Reviewed-by: Bjorn Andersson Reviewed-by: Mathieu Poirier Signed-off-by: Peng Fan --- drivers/remoteproc/imx_rproc.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH V8 02/10] dt-bindings: remoteproc: imx_rproc: add i.MX8MQ/M support

2021-01-18 Thread peng . fan
From: Peng Fan Add i.MX8MQ/M support, also include mailbox for rpmsg/virtio usage. Signed-off-by: Peng Fan --- .../bindings/remoteproc/fsl,imx-rproc.yaml| 49 +++ 1 file changed, 49 insertions(+) diff --git a/Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml

[PATCH V8 04/10] remoteproc: add is_iomem to da_to_va

2021-01-18 Thread peng . fan
From: Peng Fan Introduce an extra parameter is_iomem to da_to_va, then the caller could take the memory as normal memory or io mapped memory. Reviewed-by: Bjorn Andersson Reviewed-by: Mathieu Poirier Reported-by: kernel test robot Signed-off-by: Peng Fan --- drivers/remoteproc/imx_rproc.c

[PATCH V8 01/10] dt-bindings: remoteproc: convert imx rproc bindings to json-schema

2021-01-18 Thread peng . fan
From: Peng Fan Convert the imx rproc binding to DT schema format using json-schema. Signed-off-by: Peng Fan --- .../bindings/remoteproc/fsl,imx-rproc.yaml| 59 +++ .../bindings/remoteproc/imx-rproc.txt | 33 --- 2 files changed, 59 insertions(+), 33

Re: [PATCH v6 11/16] scripts: kernel-doc: validate kernel-doc markup with the actual names

2021-01-18 Thread Mauro Carvalho Chehab
Em Mon, 18 Jan 2021 13:35:45 -0700 Jonathan Corbet escreveu: > On Thu, 14 Jan 2021 09:04:47 +0100 > Mauro Carvalho Chehab wrote: > > > Kernel-doc currently expects that the kernel-doc markup to come > > just before the function/enum/struct/union/typedef prototype. > > > > Yet, if it find

Re: [PATCH] xen-blkfront: don't make discard-alignment mandatory

2021-01-18 Thread Jürgen Groß
On 18.01.21 16:15, Roger Pau Monne wrote: Don't require the discard-alignment xenstore node to be present in order to correctly setup the feature. This can happen with versions of QEMU that only write the discard-granularity but not the discard-alignment node. Assume discard-alignment is 0 if

Re: [PATCH] venus: core: Fix platform driver shutdown

2021-01-18 Thread Shawn Guo
On Mon, Dec 21, 2020 at 11:58:20AM +0200, Stanimir Varbanov wrote: > With TZ system reboot cannot finish successfully. To fix that > enable core clocks by runtime pm before TZ calls and disable > clocks after that. > > Fixes: 7399139be6b2 ("media: venus: core: add shutdown callback for venus") >

Re: linux-next: boot failure after merge of the iomem-mmap-vs-gup tree

2021-01-18 Thread Daniel Vetter
On Tue, Jan 19, 2021 at 6:26 AM Stephen Rothwell wrote: > > Hi all, > > On Wed, 13 Jan 2021 16:29:48 +1100 Stephen Rothwell > wrote: > > > > After merging the iomem-mmap-vs-gup tree, today's linux-next boot test > > (powerpc pseries_le_defconfig) failed like this: > > > > EEH: pSeries

[PATCH 1/2] powerpc/cacheinfo: Lookup cache by dt node and thread-group id

2021-01-18 Thread Gautham R. Shenoy
From: "Gautham R. Shenoy" Currently the cacheinfo code on powerpc indexes the "cache" objects (modelling the L1/L2/L3 caches) where the key is device-tree node corresponding to that cache. On some of the POWER server platforms thread-groups within the core share different sets of caches (Eg: On

[PATCH] mmc: test: clean up mmc_test_cleanup()

2021-01-18 Thread Yue Hu
From: Yue Hu mmc_test_cleanup() has same body as __mmc_test_prepare() with write except the character to memset(). Signed-off-by: Yue Hu --- drivers/mmc/core/mmc_test.c | 24 +--- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git a/drivers/mmc/core/mmc_test.c

Re: [PATCH 1/2] usb typec: tcpci: mt6360: Add vsafe0v support and external vbus supply control

2021-01-18 Thread Chunfeng Yun
On Mon, 2021-01-18 at 16:28 +0800, ChiYuan Huang wrote: > Guenter Roeck 於 2021年1月18日 週一 上午1:43寫道: > > > > On 1/15/21 6:13 AM, cy_huang wrote: > > > From: ChiYuan Huang > > > > > > MT6360 not support for TCPC command to control source and sink. > > > > does not > > > Ack > > > Uses external 5V

[PATCH 2/2] powerpc/cacheinfo: Remove the redundant get_shared_cpu_map()

2021-01-18 Thread Gautham R. Shenoy
From: "Gautham R. Shenoy" The helper function get_shared_cpu_map() was added in 'commit 500fe5f550ec ("powerpc/cacheinfo: Report the correct shared_cpu_map on big-cores")' and subsequently expanded upon in 'commit 0be47634db0b ("powerpc/cacheinfo: Print correct cache-sibling map/list for L2

[PATCH 0/2] powerpc/cacheinfo: Add "ibm,thread-groups" awareness

2021-01-18 Thread Gautham R. Shenoy
From: "Gautham R. Shenoy" Hi, Currently the cacheinfo code on powerpc indexes the "cache" objects (modelling the L1/L2/L3 caches) where the key is device-tree node corresponding to that cache. On some of the POWER server platforms thread-groups within the core share different sets of caches

Re: [PATCH] usb: gadget: u_serial: Remove old tasklet comments

2021-01-18 Thread Felipe Balbi
Davidlohr Bueso writes: > Update old comments as of 8b4c62aef6f (usb: gadget: u_serial: process RX > in workqueue instead of tasklet). > > Signed-off-by: Davidlohr Bueso Acked-by: Felipe Balbi -- balbi signature.asc Description: PGP signature

Re: [PATCH v2] rtlwifi: rtl8192se: Simplify bool comparison.

2021-01-18 Thread Pkshih
On Tue, 2021-01-19 at 14:32 +0800, Jiapeng Zhong wrote: > Fix the follow coccicheck warnings: > > ./drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c:2305:6-27: > WARNING: Comparison of 0/1 to bool variable. > > ./drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c:1376:5-26: > WARNING:

RE: [PATCH] cfg80211: Fix "suspicious RCU usage in wiphy_apply_custom_regulatory" warning/backtrace

2021-01-18 Thread Peer, Ilan
> -Original Message- > From: Hans de Goede > Sent: Monday, January 18, 2021 23:09 > To: Peer, Ilan ; Johannes Berg > ; David S . Miller ; > Jakub Kicinski ; Rojewski, Cezary > ; Pierre-Louis Bossart louis.boss...@linux.intel.com>; Liam Girdwood > ; Jie Yang ; > Mark Brown > Cc:

[PATCH v2 17/17] MAINTAINERS: Add ROHM BD71815AGW

2021-01-18 Thread Matti Vaittinen
Add maintainer entries for ROHM BD71815AGW drivers. New regulator and GPIO drivers were introduced for these PMICs. Signed-off-by: Matti Vaittinen --- MAINTAINERS | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index cc1e6a5ee6e6..248e8023f31a 100644 ---

Re: [PATCH 1/2] usb typec: tcpci: mt6360: Add vsafe0v support and external vbus supply control

2021-01-18 Thread Chunfeng Yun
On Sun, 2021-01-17 at 09:43 -0800, Guenter Roeck wrote: > On 1/15/21 6:13 AM, cy_huang wrote: > > From: ChiYuan Huang > > > > MT6360 not support for TCPC command to control source and sink. > > does not > > > Uses external 5V vbus regulator as the vbus source control. > > > Use > > > Also

[PATCH v2 09/17] mfd: Support for ROHM BD71815 PMIC core

2021-01-18 Thread Matti Vaittinen
Add core support for ROHM BD71815 Power Management IC. The IC integrates regulators, a battery charger with a coulomb counter, a real-time clock (RTC), clock gate and general-purpose outputs (GPO). Signed-off-by: Matti Vaittinen --- Changes since v1: - Used BIT() for better readability -

Re: [PATCH v6 4/6] mfd: ahc1ec0: Add support for Advantech embedded controller

2021-01-18 Thread AceLan Kao
Campion Kang 於 2021年1月18日 週一 下午8:37寫道: > > AHC1EC0 is the embedded controller driver for Advantech industrial > products. This provides sub-devices such as hwmon and watchdog, and also > expose functions for sub-devices to read/write the value to embedded > controller. > > Changed since V5: >

[PATCH v2 16/17] rtc: bd70528: Support RTC on ROHM BD71815

2021-01-18 Thread Matti Vaittinen
BD71815 contains similar RTC block as BD71828. Only the address offsets seem different. Support also BD71815 RTC using rtc-bd70528. Signed-off-by: Matti Vaittinen --- No changes since v1 drivers/rtc/Kconfig | 6 +++--- drivers/rtc/rtc-bd70528.c | 45

Re: [PATCH v6 5/6] hwmon: ahc1ec0-hwmon: Add sub-device hwmon for Advantech embedded controller

2021-01-18 Thread AceLan Kao
Campion Kang 於 2021年1月18日 週一 下午8:37寫道: > > This is one of sub-device driver for Advantech embedded controller > AHC1EC0. This driver provides sysfs ABI for Advantech related > applications to monitor the system status. > > Changed since V5: > - remove unnecessary header files > -

[PATCH v2 15/17] clk: bd718x7: Add support for clk gate on ROHM BD71815 PMIC

2021-01-18 Thread Matti Vaittinen
ROHM BD71815 also provide clk signal for RTC. Add control for gating this clock. Signed-off-by: Matti Vaittinen --- Changes since v1: removed squash-commit leftover from commit message drivers/clk/clk-bd718x7.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git

Re: [PATCH v6 6/6] watchdog: ahc1ec0-wdt: Add sub-device watchdog for Advantech embedded controller

2021-01-18 Thread AceLan Kao
Campion Kang 於 2021年1月18日 週一 下午8:39寫道: > > This is one of sub-device driver for Advantech embedded controller > AHC1EC0. This driver provide watchdog functionality for Advantech > related applications to restart the system. > > Changed since V5: > - remove unnecessary header files >

[PATCH v2 14/17] regulator: Support ROHM BD71815 regulators

2021-01-18 Thread Matti Vaittinen
Support voltage control for regulators on ROHM BD71815 PMIC. ROHM BD71815 contains 5 bucks, 7 LDOs and a boost (intended for LED). Bucks 1 and 2 support HW state based voltage level and enable states. Other regulators support HW state based enable states. All bucks and LDOs 1-5 allow voltage

[PATCH v2 12/17] regulator: rohm-regulator: linear voltage support

2021-01-18 Thread Matti Vaittinen
The helper for obtaining HW-state based DVS voltage levels currently only works for regulators using linear-ranges. Extend support to regulators with simple linear mappings and add also proper error path if pickable-ranges regulators call this. Signed-off-by: Matti Vaittinen --- Changes since

[PATCH v2 13/17] regulator: rohm-regulator: Support SNVS HW state.

2021-01-18 Thread Matti Vaittinen
The ROHM BD71815 supports setting voltage levels/regulator status for HW-states "RUN", "SUSPEND", "LPSR" and "SNVS". Add DT parsing helper also for SNVS state. Signed-off-by: Matti Vaittinen --- Changes since v1: New patch (split patch). drivers/regulator/rohm-regulator.c | 6 ++

[PATCH v2 11/17] regulator: helpers: Export helper voltage listing

2021-01-18 Thread Matti Vaittinen
Some drivers need to translate voltage values to selectors prior regulator registration. Currently a regulator_desc based list_voltages helper is only exported for regulators using the linear_ranges. Export similar helper also for regulators using simple linear mapping. Signed-off-by: Matti

Re: linux-next: build warnings after merge of the jc_docs tree

2021-01-18 Thread Stephen Rothwell
Hi all, On Tue, 19 Jan 2021 17:13:03 +1100 Stephen Rothwell wrote: > > Hi all, > > After merging the jc_docs tree, today's linux-next build (KCONFIG_NAME) > produced these warnings: > Also, these: tools/testing/selftests/kselftest_harness.h:82: warning: wrong kernel-doc identifier on line:

[PATCH v2 10/17] gpio: support ROHM BD71815 GPOs

2021-01-18 Thread Matti Vaittinen
Support GPO(s) found from ROHM BD71815 power management IC. The IC has two GPO pins but only one is properly documented in data-sheet. The driver exposes by default only the documented GPO. The second GPO is connected to E5 pin and is marked as GND in data-sheet. Control for this undocumented pin

[PATCH v2 08/17] mfd: Add ROHM BD71815 ID

2021-01-18 Thread Matti Vaittinen
Add chip ID for ROHM BD71815 and PMIC so that drivers can identify this IC. Signed-off-by: Matti Vaittinen --- No changes since v1. include/linux/mfd/rohm-generic.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/mfd/rohm-generic.h b/include/linux/mfd/rohm-generic.h index

[PATCH v2 07/17] dt_bindings: mfd: Add ROHM BD71815 PMIC

2021-01-18 Thread Matti Vaittinen
Document DT bindings for ROHM BD71815. BD71815 is a single-chip power management IC mainly for battery-powered portable devices. The IC integrates 5 bucks, 7 LDOs, a boost driver for LED, a battery charger with a Coulomb counter, a real-time clock, a 32kHz clock and two general-purpose outputs

[PATCH v2] mm: page_counter: relayout structure to reduce false sharing

2021-01-18 Thread Feng Tang
When checking a memory cgroup related performance regression [1], from the perf c2c profiling data, we found high false sharing for accessing 'usage' and 'parent'. On 64 bit system, the 'usage' and 'parent' are close to each other, and easy to be in one cacheline (for cacheline size == 64+ B).

Re: [PATCH] USB: gadget: udc: Process disconnect synchronously

2021-01-18 Thread Felipe Balbi
Davidlohr Bueso writes: > As the comment in usb_disconnect() hints, do not defer the > disconnect processing, and instead just do it directly in > the irq handler. This allows the driver to avoid using a > nowadays deprecated tasklet. > > Signed-off-by: Davidlohr Bueso You may have to deal

[PATCH v2 02/17] rtc: bd70528: Do not require parent data

2021-01-18 Thread Matti Vaittinen
The ROHM BD71828 and BD71815 RTC drivers only need the regmap pointer from parent. Regmap can be obtained via dev_get_regmap() so do not require parent to populate driver data for that. BD70528 on the other hand requires parent data to access the watchdog so leave the parent data for BD70528 here

[PATCH v2 03/17] clk: BD718x7: Do not depend on parent driver data

2021-01-18 Thread Matti Vaittinen
The bd718x7 only needs a regmap from parent device. This can be obtained by call to dev_get_regmap. Do not require parent to populate the driver data for this. Signed-off-by: Matti Vaittinen --- Please note that this same change has been sent individually:

[PATCH v2 04/17] mfd: bd718x7: simplify by cleaning unnecessary device data

2021-01-18 Thread Matti Vaittinen
Most ROHM PMIC sub-devices only use the regmap pointer from parent device. They can obtain this by dev_get_regamap so in most cases the MFD device does not need to allocate and populate the driver data. Simplify drivers by removing this. The BD70528 still needs the access to watchdog mutex so

[PATCH v2 06/17] dt_bindings: regulator: Add ROHM BD71815 PMIC regulators

2021-01-18 Thread Matti Vaittinen
Add binding documentation for regulators on ROHM BD71815 PMIC. 5 bucks, 7 LDOs and a boost for LED. Signed-off-by: Matti Vaittinen --- Changes since v1: - Changed patch order to fix ref dependecy - Added missing schema for nodes wled, ldodvref, ldolpsr

[PATCH v2 05/17] dt_bindings: bd71828: Add clock output mode

2021-01-18 Thread Matti Vaittinen
The BD71828 allows configuring the clk32kout pin mode to CMOS or open-drain. Add device-tree property for specifying the preferred mode. Signed-off-by: Matti Vaittinen --- Changes from v1: switched clk-mode property from string type to tristated one as suggested by Rob.

Re: [PATCH] PCI: functions/pci-epf-test: fix missing destroy_workqueue() on error in pci_epf_test_init

2021-01-18 Thread Kishon Vijay Abraham I
Hi Qinglang, On 18/01/21 6:17 pm, Lorenzo Pieralisi wrote: > On Wed, Oct 28, 2020 at 05:15:49PM +0800, Qinglang Miao wrote: >> Add the missing destroy_workqueue() before return from >> pci_epf_test_init() in the error handling case. >> >> Signed-off-by: Qinglang Miao >> --- >>

[PATCH v2 01/17] regulator: bd718x7, bd71828, Fix dvs voltage levels

2021-01-18 Thread Matti Vaittinen
The ROHM BD718x7 and BD71828 drivers support setting HW state specific voltages from device-tree. This is used also by various in-tree DTS files. These drivers do incorrectly try to compose bit-map using enum values. By a chance this works for first two valid levels having values 1 and 2 - but

[PATCH v2 00/17] Support ROHM BD71815 PMIC

2021-01-18 Thread Matti Vaittinen
Patch series introducing support for ROHM BD71815 PMIC Please note that this series depends on previously sent patches. Already merged regulator patches (in regulator tree - not yet in Linus' tree): [PATCH] regulator: ROHM bd7: Do not depend on parent driver data

Re: linux-next: boot failure after merge of the iomem-mmap-vs-gup tree

2021-01-18 Thread Stephen Rothwell
Hi all, On Wed, 13 Jan 2021 16:29:48 +1100 Stephen Rothwell wrote: > > After merging the iomem-mmap-vs-gup tree, today's linux-next boot test > (powerpc pseries_le_defconfig) failed like this: > > EEH: pSeries platform initialized > PCI: Probing PCI hardware > BUG: Kernel NULL

[PATCH v2 0/3] Added ZynqMP pinctrl driver

2021-01-18 Thread Sai Krishna Potthuri
Added support for Xilinx ZynqMP pinctrl driver support and also updated the Xilinx firmware driver to support pinctrl functionality. This driver will query the pin information from the firmware and allow configuring the pins as per the request. changes in v2: - Use pattern for pin names in yaml

[PATCH v2 1/3] firmware: xilinx: Added pinctrl support

2021-01-18 Thread Sai Krishna Potthuri
Add pinctrl support to query platform specific information (pins) from firmware. Signed-off-by: Sai Krishna Potthuri --- drivers/firmware/xilinx/zynqmp.c | 114 +++ include/linux/firmware/xlnx-zynqmp.h | 90 + 2 files changed, 204 insertions(+)

Re: [PATCH v1 1/7] coresight: etm-perf: Add support for PID tracing for kernel at EL2

2021-01-18 Thread Suzuki K Poulose
Hi Mathieu On 1/15/21 10:30 PM, Mathieu Poirier wrote: Hey guys, On Sat, Jan 09, 2021 at 03:44:29PM +0800, Leo Yan wrote: From: Suzuki K Poulose When the kernel is running at EL2, the PID is stored in CONTEXTIDR_EL2. So, tracing CONTEXTIDR_EL1 doesn't give us the pid of the process. Thus we

Re: [PATCH v2] drm/virtio: Track total GPU memory for virtio driver

2021-01-18 Thread Daniel Vetter
On Tue, Jan 19, 2021 at 12:41 AM Yiwei Zhang wrote: > > On the success of virtio_gpu_object_create, add size of newly allocated > bo to the tracled total_mem. In drm_gem_object_funcs.free, after the gem > bo lost its last refcount, subtract the bo size from the tracked > total_mem if the original

linux-next: Tree for Jan 19

2021-01-18 Thread Stephen Rothwell
Hi all, Changes since 20210118: The hid tree gained a conflict against the qcom tree. The drm tree still had its build failure so I used the version from next-20210107. The drm-intel tree still had its build failure from merging the drm tree, so I have used the version from next-20210108. I

[PATCH v2 2/3] dt-bindings: pinctrl: Added binding for ZynqMP pinctrl driver

2021-01-18 Thread Sai Krishna Potthuri
Added documentation and dt-bindings file which contains MIO pin configuration defines for Xilinx ZynqMP pinctrl driver. Signed-off-by: Sai Krishna Potthuri --- .../bindings/pinctrl/xlnx,zynqmp-pinctrl.yaml | 337 ++ include/dt-bindings/pinctrl/pinctrl-zynqmp.h | 23 ++ 2 files

Re: [PATCH bpf-next] xsk: build skb by page

2021-01-18 Thread Magnus Karlsson
On Mon, Jan 18, 2021 at 5:38 PM Alexander Lobakin wrote: > > > From: Magnus Karlsson > > Date: Mon, 18 Jan 2021 16:10:40 +0100 > > > > On Mon, Jan 18, 2021 at 3:47 PM Alexander Lobakin wrote: > > > > > > From: Alexander Lobakin > > > Date: Mon, 18 Jan 2021 13:00:17 + > > > > > > > From:

Re: [PATCH v6 1/6] scsi: ufs: Add "wb_on" sysfs node to control WB on/off

2021-01-18 Thread Adrian Hunter
On 18/01/21 10:10 pm, Bean Huo wrote: > From: Bean Huo > > Currently UFS WriteBooster driver uses clock scaling up/down to set > WB on/off, for the platform which doesn't support UFSHCD_CAP_CLK_SCALING, > WB will be always on. Provide a sysfs attribute to enable/disable WB > during runtime.

Re: [PATCH v5 1/2] lib: stackdepot: Add support to configure STACK_HASH_SIZE

2021-01-18 Thread Randy Dunlap
On 1/18/21 10:52 PM, Vijayanand Jitta wrote: > > > On 1/19/2021 4:23 AM, Randy Dunlap wrote: >> On 1/18/21 1:56 AM, vji...@codeaurora.org wrote: >>> From: Yogesh Lal >>> >>> Use CONFIG_STACK_HASH_ORDER to configure STACK_HASH_SIZE. >>> >>> Aim is to have configurable value for STACK_HASH_SIZE,

Re: [PATCH bpf] samples/bpf: Update README.rst and Makefile for manually compiling LLVM and clang

2021-01-18 Thread Yonghong Song
On 1/18/21 7:53 PM, Tiezhu Yang wrote: In the current samples/bpf/README.rst, the url of llvm and clang git may be out of date, they are unable to access: Let us just rephrase the above more clearly, something like below. The current clang/llvm build procedure in samples/bpf/README.rst is

Re: [PATCH v2 3/4] staging: hikey9xx: phy-hi3670-usb3.c: hi3670_is_abbclk_seleted() returns bool

2021-01-18 Thread Dan Carpenter
On Thu, Jan 14, 2021 at 09:56:41AM -0800, Joe Perches wrote: > On Thu, 2021-01-14 at 18:35 +0100, Mauro Carvalho Chehab wrote: > > Instead of using 1/0 for true/false, change the type to boolean > > and change the returned value. > [] > > diff --git a/drivers/staging/hikey9xx/phy-hi3670-usb3.c >

Re: [RFC PATCH v3 1/5] usb: xhci-mtk: improve bandwidth scheduling with multi-TT

2021-01-18 Thread Chunfeng Yun
On Wed, 2021-01-13 at 17:43 +0800, Ikjoon Jang wrote: > On Tue, Dec 22, 2020 at 5:35 PM Chunfeng Yun > wrote: > > > > From: Zhanyong Wang > > > > After inserted the usb type-c 3.5mm dongle with headset, dmesg showed: > > usb 1-1.1: new full-speed USB device number 5 using xhci-mtk > > usb

Re: [PATCH 2/2] ethernet: igb: e1000_phy: Check for ops.force_speed_duplex existence

2021-01-18 Thread Paul Menzel
Dear Jakub, dear Greg, Am 05.01.21 um 18:25 schrieb Greg KH: On Tue, Jan 05, 2021 at 06:16:59PM +0100, Paul Menzel wrote: Am 03.11.20 um 19:39 schrieb Jakub Kicinski: On Tue, 3 Nov 2020 08:35:09 +0100 Paul Menzel wrote: According to *Developer's Certificate of Origin 1.1* [3], it’s my

[PATCH v2 3/3] pinctrl: Added Xilinx ZynqMP pinctrl driver support

2021-01-18 Thread Sai Krishna Potthuri
Added pinctrl driver for Xilinx ZynqMP platform. This driver queries pin information from firmware and registers pin control accordingly. Signed-off-by: Sai Krishna Potthuri --- drivers/pinctrl/Kconfig | 13 + drivers/pinctrl/Makefile |1 +

YOU HAVE WON

2021-01-18 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

[PATCH] usb: cdns3: Add support for TI's AM64 SoC

2021-01-18 Thread Aswath Govindraju
Add support for USB controller present on the AM64x SoC. Signed-off-by: Aswath Govindraju --- drivers/usb/cdns3/cdns3-ti.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/cdns3/cdns3-ti.c b/drivers/usb/cdns3/cdns3-ti.c index 90e246601537..eccb1c766bba 100644 ---

Re: [PATCH 08/22] perf daemon: Add config file change check

2021-01-18 Thread Namhyung Kim
On Sun, Jan 3, 2021 at 7:05 AM Jiri Olsa wrote: > > Adding support to detect daemon's config file changes > and re-read the configuration when that happens. Hmm.. maybe some of the code in the previous commit can be moved here. Thanks, Namhyung > > Using inotify file descriptor pluged into the

Re: [PATCH v5 1/2] lib: stackdepot: Add support to configure STACK_HASH_SIZE

2021-01-18 Thread Vijayanand Jitta
On 1/19/2021 4:23 AM, Randy Dunlap wrote: > On 1/18/21 1:56 AM, vji...@codeaurora.org wrote: >> From: Yogesh Lal >> >> Use CONFIG_STACK_HASH_ORDER to configure STACK_HASH_SIZE. >> >> Aim is to have configurable value for STACK_HASH_SIZE, >> so depend on use case one can configure it. >> >>

Re: [RFC PATCH v3 1/8] Use refcount_t for ucounts reference counting

2021-01-18 Thread Kaiwan N Billimoria
(Sorry for the gmail client) My 0.2, HTH: a) AFAIK, refcount_inc() (and similar friends) don't return any value b) they're designed to just WARN() if they saturate or if you're attempting to increment the value 0 (as it's possibly a UAF bug) c) refcount_inc_checked() is documented as "Similar to

[PATCH v1 1/1] arm64: dts: stingray: fix usb dma address translation

2021-01-18 Thread Rayagonda Kokatanur
From: Bharat Gooty Add a non-empty dma-ranges so that dma address translation happens. Fixes: 2013a4b684b6 ("arm64: dts: broadcom: clear the warnings caused by empty dma-ranges") Signed-off-by: Bharat Gooty Signed-off-by: Rayagonda Kokatanur ---

Re: [PATCH 11/22] perf daemon: Add stop command

2021-01-18 Thread Namhyung Kim
On Sun, Jan 3, 2021 at 7:05 AM Jiri Olsa wrote: > > Add 'perf daemon stop' command to stop daemon process > and all running sessions. > > Example: > > # cat ~/.perfconfig > [daemon] > base=/opt/perfdata > > [session-cycles] > run = -m 10M -e cycles --overwrite --switch-output -a > >

Re: linux-next: build warnings after merge of the jc_docs tree

2021-01-18 Thread Stephen Rothwell
Hi all, On Tue, 19 Jan 2021 17:13:03 +1100 Stephen Rothwell wrote: > > Hi all, > > After merging the jc_docs tree, today's linux-next build (KCONFIG_NAME) This was a "make htmldocs" -- Cheers, Stephen Rothwell pgpFv0_40bjTG.pgp Description: OpenPGP digital signature

kernel/sched/core.c:2709:20: warning: unused function 'rq_has_pinned_tasks'

2021-01-18 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1e2a199f6ccdc15cf111d68d212e2fd4ce65682e commit: 3015ef4b98f53fe7eba4f5f82f562c0e074d213c sched/core: Make migrate disable and CPU hotplug cooperative date: 2 months ago config:

[PATCH] usemem: Remove the duplicate do_access

2021-01-18 Thread Hui Zhu
From: Hui Zhu Got following error when build usemem: gcc -O -c -Wall -g usemem.c -o usemem.o usemem.c:451:15: error: redefinition of ‘do_access’ unsigned long do_access(unsigned long *p, unsigned long idx, int read) ^ usemem.c:332:15: note: previous definition of

[PATCH] dt-bindings: usb: Add ranges and dma-coherent property

2021-01-18 Thread Aswath Govindraju
Add ranges and dma-coherent property in ti,j721e-usb dt-binding. Signed-off-by: Aswath Govindraju --- Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml

[RFC PATCH 02/37] fs: use bio_init_fields in block_dev

2021-01-18 Thread Chaitanya Kulkarni
Signed-off-by: Chaitanya Kulkarni --- fs/block_dev.c | 17 + 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/fs/block_dev.c b/fs/block_dev.c index 3e5b02f6606c..44b992976ee5 100644 --- a/fs/block_dev.c +++ b/fs/block_dev.c @@ -239,12 +239,9 @@

[PATCH] x86/cpu/zhaoxin: Fix wrong lowercase naming

2021-01-18 Thread Isaac Chen
This is printed during kernel boot, match it with other supported x86 cpus. [0.00] KERNEL supported cpus: [0.00] Intel GenuineIntel [0.00] AMD AuthenticAMD [0.00] Hygon HygonGenuine [0.00] Centaur CentaurHauls [0.00]

Re: [PATCH 12/22] perf daemon: Allow only one daemon over base directory

2021-01-18 Thread Namhyung Kim
On Sun, Jan 3, 2021 at 7:05 AM Jiri Olsa wrote: > > Add 'lock' file under daemon base and flock it, so only one > perf daemon can run on top of it. > > Example: > > # cat ~/.perfconfig > [daemon] > base=/opt/perfdata > > [session-cycles] > run = -m 10M -e cycles --overwrite

[RFC PATCH 05/37] ext4: use bio_init_fields in page_io

2021-01-18 Thread Chaitanya Kulkarni
Signed-off-by: Chaitanya Kulkarni --- fs/ext4/page-io.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/fs/ext4/page-io.c b/fs/ext4/page-io.c index 03a44a0de86a..53a79a7aac15 100644 --- a/fs/ext4/page-io.c +++ b/fs/ext4/page-io.c @@ -400,10 +400,8 @@ static void

Re: [PATCH v2 6/7] platform: x86: Add intel_skl_int3472 driver

2021-01-18 Thread Laurent Pinchart
Hi Daniel, On Tue, Jan 19, 2021 at 12:11:40AM +, Daniel Scally wrote: > On 18/01/2021 21:19, Daniel Scally wrote: > +static const struct clk_ops skl_int3472_clock_ops = { > +.prepare = skl_int3472_clk_prepare, > +.unprepare = skl_int3472_clk_unprepare, > +

Re: [PATCH v3 10/12] opp: Support set_opp() customization without requiring to use regulators

2021-01-18 Thread Viresh Kumar
On 18-01-21, 21:48, Dmitry Osipenko wrote: > 18.01.2021 14:44, Viresh Kumar пишет: > > On 18-01-21, 03:55, Dmitry Osipenko wrote: > >> diff --git a/include/linux/pm_opp.h b/include/linux/pm_opp.h > >> index eefd0b15890c..c98fd2add563 100644 > >> --- a/include/linux/pm_opp.h > >> +++

RE: [PATCH 2/2] fpga: Add support for Xilinx DFX AXI Shutdown manager

2021-01-18 Thread Nava kishore Manne
Hi Moritz, Thanks for the review. Please find my response inline. > -Original Message- > From: Moritz Fischer > Sent: Saturday, January 16, 2021 8:28 AM > To: Nava kishore Manne > Cc: m...@kernel.org; t...@redhat.com; robh...@kernel.org; Michal Simek > ;

[PATCH] opp: Prepare for ->set_opp() helper to work without regulators

2021-01-18 Thread Viresh Kumar
Until now the ->set_opp() helper (i.e. special implementation for setting the OPPs for platforms) was implemented only to take care of multiple regulators case, but going forward we would need that for other use cases as well. This patch prepares for that by allocating the regulator specific part

Re: [PATCH RESEND V11 3/7] fuse: Definitions and ioctl for passthrough

2021-01-18 Thread Amir Goldstein
On Mon, Jan 18, 2021 at 9:28 PM Alessio Balsini wrote: > > Expose the FUSE_PASSTHROUGH interface to user space and declare all the > basic data structures and functions as the skeleton on top of which the > FUSE passthrough functionality will be built. > > As part of this, introduce the new FUSE

[PATCH v2] rtlwifi: rtl8192se: Simplify bool comparison.

2021-01-18 Thread Jiapeng Zhong
Fix the follow coccicheck warnings: ./drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c:2305:6-27: WARNING: Comparison of 0/1 to bool variable. ./drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c:1376:5-26: WARNING: Comparison of 0/1 to bool variable. Reported-by: Abaci Robot

[PATCH] pinctrl: sunxi: fix use-after-free in sunxi_pmx_free()

2021-01-18 Thread Liu Xiang
When CONFIG_REGULATOR is not set, sunxi_pmx_request() always return success. Even a group of pins call sunxi_pmx_request(), the refcount is only 1. This can cause a use-after-free warning in sunxi_pmx_free(). To solve this problem, go to err path if regulator_get() return NULL or error.

Re: [RFC PATCH 01/37] block: introduce bio_init_fields() helper

2021-01-18 Thread Christoph Hellwig
I don't think a helper just to initialize a few fields is very useful. But there is something in this area I've wanted to do for a while: > +static inline void bio_init_fields(struct bio *bio, struct block_device > *bdev, > +sector_t sect, void *priv, > +

arm-linux-gnueabi-ld: warning: orphan section `__timer_of_table' from `drivers/clocksource/timer-ti-dm-systimer.o' being placed in section `__timer_of_table'

2021-01-18 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1e2a199f6ccdc15cf111d68d212e2fd4ce65682e commit: 5a17850e251a55bba6d65aefbfeacfa9888cd2cd arm/build: Warn on orphan section placement date: 5 months ago config: arm-randconfig-r013-20210119 (attached as

Re: [PATCH v2 6/7] platform: x86: Add intel_skl_int3472 driver

2021-01-18 Thread Laurent Pinchart
Hi Daniel, On Mon, Jan 18, 2021 at 08:46:34PM +, Daniel Scally wrote: > Hi Laurent, thanks for the comments - really appreciate the detail. > > Some specific responses below but assume a general "will do" to > everything you mentioned otherwise... > > On 18/01/2021 09:15, Laurent Pinchart

Re: linux-next: Fixes tag needs some work in the csky tree

2021-01-18 Thread Zhenzhong Duan
On Mon, Jan 18, 2021 at 5:49 AM Stephen Rothwell wrote: > > Hi all, > > In commit > > 8bfb676492da ("csky: Fix a size determination in gpr_get()") > > Fixes tag > > Fixes: dcad7854fcce ("sky: switch to ->regset_get()") > > has these problem(s): > > - Subject does not match target commit

答复: [RFC PATCH v3 1/5] usb: xhci-mtk: improve bandwidth scheduling with multi-TT

2021-01-18 Thread 武亚奇
HI Chunfeng 请回复谷歌以下三个问题: Queston: Are there any reasons for doing this? can only one split packet be scheduled in a u-frame for isochronous out? This looks like overkill. Answer: We will calculate the number of uframes based on the isoc out ep maxp. Except for the last

[PATCH v2] clk: aspeed: Fix APLL calculate formula from ast2600-A2

2021-01-18 Thread Ryan Chen
Starting from A2, the A-PLL calculation has changed. Use the existing formula for A0/A1 and the new formula for A2 onwards. Fixes: d3d04f6c330a ("clk: Add support for AST2600 SoC") Signed-off-by: Ryan Chen --- drivers/clk/clk-ast2600.c | 37 +++-- 1 file changed,

RE: [PATCH 2/2] fpga: Add support for Xilinx DFX AXI Shutdown manager

2021-01-18 Thread Nava kishore Manne
Hi Tom, Thanks for the review. Please find my response inline. > -Original Message- > From: Tom Rix > Sent: Friday, January 15, 2021 11:56 PM > To: Nava kishore Manne ; m...@kernel.org; > robh...@kernel.org; Michal Simek ; linux- > f...@vger.kernel.org;

arch/s390/pci/pci_event.c:101 __zpci_event_availability() error: we previously assumed 'zdev->zbus' could be null (see line 83)

2021-01-18 Thread Dan Carpenter
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 65f0d2414b7079556fbbcc070b3d1c9f9587606d commit: 3047766bc6ec9c6bc9ece85b45a41ff401e8d988 s390/pci: fix enabling a reserved PCI function config: s390-randconfig-m031-20210114 (attached as .config) compiler:

linux-next: build warnings after merge of the jc_docs tree

2021-01-18 Thread Stephen Rothwell
Hi all, After merging the jc_docs tree, today's linux-next build (KCONFIG_NAME) produced these warnings: fs/pstore/zone.c:39: warning: expecting prototype for struct psz_head. Prototype was for struct psz_buffer instead include/linux/connector.h:122: warning: expecting prototype for

RE: [PATCH 1/2] dt-bindings: fpga: Add compatible value for Xilinx DFX AXI shutdown manger

2021-01-18 Thread Nava kishore Manne
Hi Tom, Thanks for the review. Please find my response inline. > -Original Message- > From: Tom Rix > Sent: Friday, January 15, 2021 11:37 PM > To: Nava kishore Manne ; m...@kernel.org; > robh...@kernel.org; Michal Simek ; linux- > f...@vger.kernel.org;

RE: [PATCH] Bluetooth: btrtl: Enable WBS for the specific Realtek devices

2021-01-18 Thread Max Chou
Hi! Abhishek, My bad! I should check the code base is the latest and follow it. I'll submit the v2 patch. Thanks for your review. BRs, Max -Original Message- From: Abhishek Pandit-Subedi Sent: Tuesday, January 19, 2021 12:41 PM To: Max Chou Cc: Marcel Holtmann ; Johan Hedberg ; Luiz

  1   2   3   4   5   6   7   8   9   10   >