Re: [RFT][PATCH 2/3] ACPICA: Remove unused memory mappings on interpreter exit

2020-06-13 Thread Rafael J. Wysocki
On Friday, June 12, 2020 2:05:01 PM CEST Rafael J. Wysocki wrote: > On Fri, Jun 12, 2020 at 2:12 AM Kaneda, Erik wrote: > > > > > > > > > -Original Message- > > > From: Rafael J. Wysocki > > > Sent: Wednesday, June 10, 2020 5:22 AM > > > To: Williams, Dan J > > > Cc: Kaneda, Erik ; Wysoc

Re: [RFC,net-next, 2/5] vrf: track associations between VRF devices and tables

2020-06-13 Thread Stephen Hemminger
On Fri, 12 Jun 2020 18:49:34 +0200 Andrea Mayer wrote: > + /* shared_tables: > + * count how many distinct tables does not comply with the > + * strict mode requirement. > + * shared_table value must be 0 in order to switch to strict mode. > + * > + * example of evolu

Re: [RFC PATCH v4 1/2] net: dsa: qca8k: Switch to PHYLINK instead of PHYLIB

2020-06-13 Thread Vladimir Oltean
On Sat, 13 Jun 2020 at 14:31, Jonathan McDowell wrote: > > Update the driver to use the new PHYLINK callbacks, removing the > legacy adjust_link callback. > > Signed-off-by: Jonathan McDowell > --- > drivers/net/dsa/qca8k.c | 308 +++- > 1 file changed, 211 in

[PATCH] drm/amdkfd: Fix reference count leaks.

2020-06-13 Thread wu000273
From: Qiushi Wu kobject_init_and_add() takes reference even when it fails. If this function returns an error, kobject_put() must be called to properly clean up the memory associated with the object. Signed-off-by: Qiushi Wu --- drivers/gpu/drm/amd/amdkfd/kfd_topology.c | 20 +++

Re: [PATCH] parisc: suppress error messages for 'make clean'

2020-06-13 Thread Rolf Eike Beer
Helge Deller wrote: > On 10.05.20 03:19, Masahiro Yamada wrote: > > Hi Helge, > > > > On Sun, May 10, 2020 at 2:39 AM Helge Deller wrote: > > I will drop this patch from my kbuild tree, > > then you will apply what you think is best > > to your tree. > > > > What do you think? > > Sure, I'll t

Re: [RFC][PATCH v4 18/32] objtool: mcount: Move nop_mcount()

2020-06-13 Thread Matt Helsley
On Fri, Jun 12, 2020 at 03:26:56PM +0200, Peter Zijlstra wrote: > On Tue, Jun 02, 2020 at 12:50:11PM -0700, Matt Helsley wrote: > > +static int nop_mcount(struct section * const rels, > > + const char *const txtname) > > +{ > > + struct reloc *reloc; > > + struct section *txts =

Re: [GIT PULL] iomap: bug fix for 5.8-rc1

2020-06-13 Thread pr-tracker-bot
The pull request you sent on Fri, 12 Jun 2020 22:44:31 -0700: > git://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git tags/iomap-5.8-merge-1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/593bd5e5d3e245262c40c7dd2f5edbac705ff578 Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT PULL] xfs: bug fixes for 5.8-rc1

2020-06-13 Thread pr-tracker-bot
The pull request you sent on Fri, 12 Jun 2020 22:41:30 -0700: > git://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git tags/xfs-5.8-merge-9 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/c55572276834f8b17c859db7d20c224fe25b9eda Thank you! -- Deet-doot-dot, I am a bot. ht

Re: [GIT PULL] 9p update for 5.8

2020-06-13 Thread pr-tracker-bot
The pull request you sent on Sat, 13 Jun 2020 00:17:48 +0200: > https://github.com/martinetd/linux tags/9p-for-5.8 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/61f3e825bec7364790cb7d193a9a156c46119cff Thank you! -- Deet-doot-dot, I am a bot. https://korg.wiki.kern

Re: [RFC][PATCH 0/3] objtool: KCOV vs noinstr

2020-06-13 Thread Matt Helsley
On Fri, Jun 12, 2020 at 04:30:34PM +0200, Peter Zijlstra wrote: > Hi All, > > These patches go on top of objtool/core, although possibly we need them > earlier. > > In order to solve the KCOV-vs-noinstr situation, we need objtool to rewrite > calls to __sanitizer_cov_*() into NOPs, similar to wh

Re: [PATCH] staging: android: ashmem.c: Cleanup

2020-06-13 Thread kernel test robot
Hi Dio, Thank you for the patch! Yet something to improve: [auto build test ERROR on staging/staging-testing] [cannot apply to aa5af974127d317071d6225a0f3678c5f520e7ce] url: https://github.com/0day-ci/linux/commits/Dio-Putra/staging-android-ashmem-c-Cleanup/20200614-013821 base: https://gi

Re: [RFC PATCH v4 2/2] net: dsa: qca8k: Improve SGMII interface handling

2020-06-13 Thread Vladimir Oltean
On Sat, 13 Jun 2020 at 14:32, Jonathan McDowell wrote: > > This patch improves the handling of the SGMII interface on the QCA8K > devices. Previously the driver did no configuration of the port, even if > it was selected. We now configure it up in the appropriate > PHY/MAC/Base-X mode depending on

[PATCH v1] ARM: imx6plus: enable internal routing of clk_enet_ref where possible

2020-06-13 Thread Sven Van Asbroeck
Van Asbroeck --- arch/arm/mach-imx/mach-imx6q.c | 18 ++ include/linux/mfd/syscon/imx6q-iomuxc-gpr.h | 1 + 2 files changed, 19 insertions(+) Tree: next-20200613 diff --git a/arch/arm/mach-imx/mach-imx6q.c b/arch/arm/mach-imx/mach-imx6q.c index 85c084a716ab

Re: [RFC v2 3/3] arm64: dts: qcom: sc7180: Add qfprom-efuse

2020-06-13 Thread Doug Anderson
Hi, On Thu, Jun 11, 2020 at 2:49 AM Ravi Kumar Bokka wrote: > > This patch adds device tree node for qfprom-efuse controller. > > Signed-off-by: Ravi Kumar Bokka > --- > arch/arm64/boot/dts/qcom/sc7180-idp.dts | 4 > arch/arm64/boot/dts/qcom/sc7180.dtsi| 10 -- > 2 files chang

Re: [PULL REQUEST] i2c for 5.8

2020-06-13 Thread pr-tracker-bot
The pull request you sent on Sat, 13 Jun 2020 13:33:28 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-5.8 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/91fa58840ae22cbf6d7c505ce6564c4c48f29af3 Thank you! -- Deet-doot-dot, I am a bot. h

Re: [GIT PULL] libnvdimm for v5.8

2020-06-13 Thread pr-tracker-bot
The pull request you sent on Fri, 12 Jun 2020 15:46:50 -0700: > git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm > tags/libnvdimm-for-5.8 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/d74b15dbbbd2741f3580d7c884cd285144ae0cab Thank you! -- Deet-doot-dot,

Re: [GIT PULL for v5.8-rc1] media updates

2020-06-13 Thread pr-tracker-bot
The pull request you sent on Sat, 13 Jun 2020 01:26:15 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media > tags/media/v5.8-2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/ac911b316336ad3d22b09e82698f0463347a5507 Thank you! -- Deet-doot-dot

Re: [GIT PULL] final round of SCSI updates for the 5.6+ merge window

2020-06-13 Thread pr-tracker-bot
The pull request you sent on Sat, 13 Jun 2020 08:15:11 -0700: > git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-misc has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/3df83e164f1f39c614a3f31e39164756945ae2ea Thank you! -- Deet-doot-dot, I am a bot. htt

Re: [PATCH v2 21/24] dyndbg: adapt header macros to pass print-class

2020-06-13 Thread kernel test robot
Hi Jim, I love your patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on next-20200613] [cannot apply to jeyu/modules-next linux/master v5.7] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system

Re: [RFC v2 2/3] drivers: nvmem: Add QTI qfprom-efuse support

2020-06-13 Thread Doug Anderson
Hi, On Thu, Jun 11, 2020 at 2:49 AM Ravi Kumar Bokka wrote: > > This patch adds support for QTI qfprom-efuse controller. This driver can > access the raw qfprom regions for fuse blowing. > > The current existed qfprom driver is only supports for cpufreq, thermal > sensors > drivers by read out c

[GIT PULL] CIFS/SMB3 Fixes

2020-06-13 Thread Steve French
Please pull the following changes since commit 3803d5e4d3ce2600ffddc16a1999798bc719042d: Merge tag '5.8-rc-smb3-fixes-part-1' of git://git.samba.org/sfrench/cifs-2.6 (2020-06-05 16:40:53 -0700) are available in the Git repository at: git://git.samba.org/sfrench/cifs-2.6.git tags/5.8-rc-smb3-

Re: [GIT PULL] more Kbuild updates for v5.8-rc1

2020-06-13 Thread Linus Torvalds
On Sat, Jun 13, 2020 at 10:56 AM Masahiro Yamada wrote: > > This is touching a lot of files to finish the > --help--- conversion. It was generated by a one-liner sed > command, so it is easy to understand what is going on. Well, a simple grep would have shown you there is a script in the Document

Re: [GIT PULL] more Kbuild updates for v5.8-rc1

2020-06-13 Thread pr-tracker-bot
The pull request you sent on Sun, 14 Jun 2020 02:55:21 +0900: > git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git > tags/kbuild-v5.8-2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/6adc19fd13f11883c44df67b551cf8201e6bba1d Thank you! -- Deet-

Re: [GIT PULL] more Kbuild updates for v5.8-rc1

2020-06-13 Thread Linus Torvalds
On Sat, Jun 13, 2020 at 10:56 AM Masahiro Yamada wrote: > > - fix build rules in binderfs sample .. oh, and now that this builds, it also made it obvious that the .gitignore file was missing. Linus

[PATCH] ASoC: tegra: Fix reference count leaks.

2020-06-13 Thread wu000273
From: Qiushi Wu Calling pm_runtime_get_sync increments the counter even in case of failure, causing incorrect ref count if pm_runtime_put is not called in error handling paths. Call pm_runtime_put if pm_runtime_get_sync fails. Signed-off-by: Qiushi Wu --- sound/soc/tegra/tegra30_ahub.c | 4 +++

Re: [RFC 1/3] lib: copy_{from,to}_user using gup & kmap_atomic()

2020-06-13 Thread Arnd Bergmann
On Sat, Jun 13, 2020 at 2:04 PM afzal mohammed wrote: > On Fri, Jun 12, 2020 at 10:07:28PM +0200, Arnd Bergmann wrote: > > > I think a lot > > of usercopy calls are only for a few bytes, though this is of course > > highly workload dependent and you might only care about the large > > ones. > > Ob

Re: [PATCH] staging: android: ashmem.c: Cleanup

2020-06-13 Thread kernel test robot
Hi Dio, Thank you for the patch! Yet something to improve: [auto build test ERROR on staging/staging-testing] [cannot apply to aa5af974127d317071d6225a0f3678c5f520e7ce] url: https://github.com/0day-ci/linux/commits/Dio-Putra/staging-android-ashmem-c-Cleanup/20200614-013821 base: https://gi

Re: [GIT PULL] CIFS/SMB3 Fixes

2020-06-13 Thread pr-tracker-bot
The pull request you sent on Sat, 13 Jun 2020 15:37:46 -0500: > git://git.samba.org/sfrench/cifs-2.6.git tags/5.8-rc-smb3-fixes-part2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/f82e7b57b5fc48199e2f26ffafe2f96f7338ad3d Thank you! -- Deet-doot-dot, I am a bot. htt

[PATCH] ASoC: rockchip: Fix a reference count leak.

2020-06-13 Thread wu000273
From: Qiushi Wu Calling pm_runtime_get_sync increments the counter even in case of failure, causing incorrect ref count if pm_runtime_put is not called in error handling paths. Call pm_runtime_put if pm_runtime_get_sync fails. Fixes: fc05a5b22253 ("ASoC: rockchip: add support for pdm controller"

Re: [PATCH] powerpc/fsl_booke/32: fix build with CONFIG_RANDOMIZE_BASE

2020-06-13 Thread Arseny Solokha
> Le 13/06/2020 à 18:28, Arseny Solokha a écrit : >> Building the current 5.8 kernel for a e500 machine with >> CONFIG_RANDOMIZE_BASE set yields the following failure: >> >>arch/powerpc/mm/nohash/kaslr_booke.c: In function 'kaslr_early_init': >>arch/powerpc/mm/nohash/kaslr_booke.c:387:2: er

Re: [PATCH] cifs: Fix cached_fid refcnt leak in open_shroot

2020-06-13 Thread Steve French
added cc:stable and merged into cifs-2.6.git for-next On Sat, Jun 13, 2020 at 7:36 AM Xiyu Yang wrote: > > open_shroot() invokes kref_get(), which increases the refcount of the > "tcon->crfid" object. When open_shroot() returns not zero, it means the > open operation failed and close_shroot() wil

[PATCH] char: hw_random: Fix a reference count leak.

2020-06-13 Thread wu000273
From: Qiushi Wu Calling pm_runtime_get_sync increments the counter even in case of failure, causing incorrect ref count if pm_runtime_put_sync is not called in error handling paths. Thus replace the jump target "err_pm_get" by "err_clock". Fixes: 6cd225cc5d8a ("hwrng: exynos - add Samsung Exynos

Re: [patch V9 10/39] x86/entry: Provide helpers for execute on irqstack

2020-06-13 Thread Qian Cai
On Sat, Jun 13, 2020 at 04:03:02PM +0200, Thomas Gleixner wrote: > Qian, > > Qian Cai writes: > > On Wed, Jun 10, 2020 at 09:38:56PM +0200, Thomas Gleixner wrote: > > > > Thomas, I get ahold of one of the affected systems now if you want some > > testing there. > > git://git.kernel.org/pub/scm

[PATCH] i2c: xiic: Fix reference count leaks.

2020-06-13 Thread wu000273
From: Qiushi Wu pm_runtime_get_sync() increments the runtime PM usage counter even when it returns an error code. Thus call pm_runtime_put_noidle() if pm_runtime_get_sync() fails. Fixes: 36ecbcab84d0 ("i2c: xiic: Implement power management") Signed-off-by: Qiushi Wu --- drivers/i2c/busses/i2c-

[PATCH net] MAINTAINERS: merge entries for felix and ocelot drivers

2020-06-13 Thread Vladimir Oltean
From: Vladimir Oltean The ocelot switchdev driver also provides a set of library functions for the felix DSA driver, which in practice means that most of the patches will be of interest to both groups of driver maintainers. So, as also suggested in the discussion here, let's merge the 2 entries

[PATCH] i2c: busses: Fix a reference count leak.

2020-06-13 Thread wu000273
From: Qiushi Wu pm_runtime_get_sync() increments the runtime PM usage counter even when it returns an error code. Thus call pm_runtime_put_noidle() if pm_runtime_get_sync() fails. Fixes: 13d6eb20fc79 ("i2c: imx-lpi2c: add runtime pm support") Signed-off-by: Qiushi Wu --- drivers/i2c/busses/i2c

[PATCH] i2c: busses: Fix reference count leaks.

2020-06-13 Thread wu000273
From: Qiushi Wu pm_runtime_get_sync() increments the runtime PM usage counter even when it returns an error code. Thus call pm_runtime_put_noidle() if pm_runtime_get_sync() fails. Signed-off-by: Qiushi Wu --- drivers/i2c/busses/i2c-img-scb.c | 8 ++-- 1 file changed, 6 insertions(+), 2 del

Re: [RFC 1/3] lib: copy_{from,to}_user using gup & kmap_atomic()

2020-06-13 Thread Matthew Wilcox
On Sat, Jun 13, 2020 at 10:45:33PM +0200, Arnd Bergmann wrote: > On Sat, Jun 13, 2020 at 2:04 PM afzal mohammed > wrote: > > Observation is that max. pages reaching copy_{from,to}_user() is 2, > > observed maximum of n (number of bytes) being 1 page size. i think C > > library cuts any size read,

Re: [PATCH v3] net: atm: Remove the error message according to the atomic context

2020-06-13 Thread David Miller
From: Yi Wang Date: Sat, 13 Jun 2020 14:03:26 +0800 > From: Liao Pingfang > > Looking into the context (atomic!) and the error message should be dropped. > > Signed-off-by: Liao Pingfang > --- > Changes in v3: remove {} as there is only one statement left. Applied, thank you.

[PATCH] media: rcar-vin: Fix a reference count leak.

2020-06-13 Thread wu000273
From: Qiushi Wu pm_runtime_get_sync() increments the runtime PM usage counter even when it returns an error code. Thus call pm_runtime_put_noidle() if pm_runtime_get_sync() fails. Fixes: 90dedce9bc54 ("media: rcar-vin: add function to manipulate Gen3 chsel value") Signed-off-by: Qiushi Wu ---

Re: [RFC,net-next, 0/5] Strict mode for VRF

2020-06-13 Thread Andrea Mayer
On Fri, 12 Jun 2020 10:05:49 -0700 Dinesh G Dutt wrote: > Thanks for doing this Andrea. This is a very important patch. I'll let > the others comment on the specificity of the patch, but strict mode=1 > should be the default . > > Dinesh Hi Dinesh, thanks for your comments! I chose to disable

Re: [RFC,net-next, 1/5] l3mdev: add infrastructure for table to VRF mapping

2020-06-13 Thread Andrea Mayer
On Fri, 12 Jun 2020 10:51:48 -0700 Jakub Kicinski wrote: > net/l3mdev/l3mdev.c:12:1: warning: symbol 'l3mdev_lock' was not declared. > Should it be static? > > Please make sure it doesn't add errors with W=1 C=1 :) Hi Jakub, thanks for your feedback. sorry, I did not want to add more warnings

Re: [PATCH] net: ethernet: ti: am65-cpsw-nuss: fix ale parameters init

2020-06-13 Thread David Miller
From: Grygorii Strashko Date: Sat, 13 Jun 2020 17:52:59 +0300 > The ALE parameters structure is created on stack, so it has to be reset > before passing to cpsw_ale_create() to avoid garbage values. > > Fixes: 93a76530316a ("net: ethernet: ti: introduce am65x/j721e gigabit eth > subsystem drive

Re: [PATCH] net: ethernet: ti: ale: fix allmulti for nu type ale

2020-06-13 Thread David Miller
From: Grygorii Strashko Date: Sat, 13 Jun 2020 17:54:14 +0300 > On AM65xx MCU CPSW2G NUSS and 66AK2E/L NUSS allmulti setting does not allow > unregistered mcast packets to pass. > > This happens, because ALE VLAN entries on these SoCs do not contain port > masks for reg/unreg mcast packets, but

[PATCH v4 0/3] Venus dynamic debug

2020-06-13 Thread Stanimir Varbanov
Hello, Time for v4 with following changes: * 1/3 taken comments into account - Greg KH * 2/3 kept the patch version from v2. Cc: jim.cro...@gmail.com Cc: Joe Perches Cc: Jason Baron Cc: Greg Kroah-Hartman I decided to keep 2/3 as it was in v2 of the current patchset where the grouping of KE

[PATCH v4 1/3] venus: Add debugfs interface to set firmware log level

2020-06-13 Thread Stanimir Varbanov
This will be useful when debugging specific issues related to firmware HFI interface. Signed-off-by: Stanimir Varbanov --- drivers/media/platform/qcom/venus/Makefile| 2 +- drivers/media/platform/qcom/venus/core.c | 3 +++ drivers/media/platform/qcom/venus/core.h | 3 +++ driver

[PATCH v4 3/3] venus: Add a debugfs file for SSR trigger

2020-06-13 Thread Stanimir Varbanov
The SSR (SubSystem Restart) is used to simulate an error on FW side of Venus. We support following type of triggers - fatal error, div by zero and watchdog IRQ. Signed-off-by: Stanimir Varbanov --- drivers/media/platform/qcom/venus/dbgfs.c | 30 +++ 1 file changed, 30 inserti

[PATCH v4 2/3] venus: Make debug infrastructure more flexible

2020-06-13 Thread Stanimir Varbanov
Here we introduce few debug macros with levels (low, medium and high) and debug macro for firmware. Enabling the particular level will be done by dynamic debug. For example to enable debug messages with low level: echo 'format "VENUSL" +p' > debugfs/dynamic_debug/control If you want to enable all

Re: [RFC,net-next, 3/5] vrf: add sysctl parameter for strict mode

2020-06-13 Thread Andrea Mayer
On Fri, 12 Jun 2020 10:52:27 -0700 Jakub Kicinski wrote: > drivers/net/vrf.c:1771:49: warning: incorrect type in argument 3 (different > address spaces) > drivers/net/vrf.c:1771:49:expected void * > drivers/net/vrf.c:1771:49:got void [noderef] *buffer > drivers/net/vrf.c:1785:35: warnin

Re: [PATCH] parisc: suppress error messages for 'make clean'

2020-06-13 Thread Helge Deller
On 13.06.20 21:36, Rolf Eike Beer wrote: > Helge Deller wrote: >> On 10.05.20 03:19, Masahiro Yamada wrote: >>> Hi Helge, >>> >>> On Sun, May 10, 2020 at 2:39 AM Helge Deller wrote: > >>> I will drop this patch from my kbuild tree, >>> then you will apply what you think is best >>> to your tree.

[GIT] Networking

2020-06-13 Thread David Miller
1) Fix cfg80211 deadlock, from Johannes Berg. 2) RXRPC fails to send norigications, from David Howells. 3) MPTCP RM_ADDR parsing has an off by one pointer error, fix from Geliang Tang. 4) Fix crash when using MSG_PEEK with sockmap, from Anny Hu. 5) The ucc_geth driver needs __netdev_watchd

Re: [RFC,net-next, 2/5] vrf: track associations between VRF devices and tables

2020-06-13 Thread Andrea Mayer
Hi Stephen, thanks for your questions. On Sat, 13 Jun 2020 12:28:59 -0700 Stephen Hemminger wrote: > > + > > +* Conversely, shared_table is decreased when a vrf is de-associated > > +* from a table with exactly two associated vrfs. > > +*/ > > + int shared_tables; > > Should this

[PATCH] media: rcar-vin: Fix a reference count leak.

2020-06-13 Thread wu000273
From: Qiushi Wu pm_runtime_get_sync() increments the runtime PM usage counter even when it returns an error code. Thus call pm_runtime_put_noidle() if pm_runtime_get_sync() fails. Fixes: 2a18fbec1dab ("media: rcar-vin: Move pm_runtime_{get,put} out of helpers") Signed-off-by: Qiushi Wu --- dr

[PATCH] media: mtk-jpeg: Fix a reference count leak.

2020-06-13 Thread wu000273
From: Qiushi Wu pm_runtime_get_sync() increments the runtime PM usage counter even when it returns an error code. Thus call pm_runtime_put_noidle() if pm_runtime_get_sync() fails. Fixes: b2f0d2724ba4 ("[media] vcodec: mediatek: Add Mediatek JPEG Decoder Driver") Signed-off-by: Qiushi Wu --- d

[PATCH] media: rockchip/rga: Fix a reference count leak.

2020-06-13 Thread wu000273
From: Qiushi Wu pm_runtime_get_sync() increments the runtime PM usage counter even when it returns an error code. Thus call pm_runtime_put_noidle() if pm_runtime_get_sync() fails. Fixes: f7e7b48e6d79 ("[media] rockchip/rga: v4l2 m2m support") Signed-off-by: Qiushi Wu --- drivers/media/platform

Re: [PATCH v2] page_alloc: consider highatomic reserve in wmartermark fast

2020-06-13 Thread Baoquan He
On 06/13/20 at 10:08pm, Jaewon Kim wrote: ... > > > This is an example of ALLOC_HARDER allocation failure. > > > > > > <4>[ 6207.637280] [3: Binder:9343_3:22875] Binder:9343_3: page > > > allocation failure: order:0, mode:0x480020(GFP_ATOMIC), nodemask=(null) > > > <4>[ 6207.637311] [3: Binder

[PATCH] media: platform: fcp: Fix a reference count leak.

2020-06-13 Thread wu000273
From: Qiushi Wu pm_runtime_get_sync() increments the runtime PM usage counter even when it returns an error code, causing incorrect ref count if pm_runtime_put_noidle() is not called in error handling paths. Thus call pm_runtime_put_noidle() if pm_runtime_get_sync() fails. Fixes: 6eaafbdb668b ("

[PATCH] media: vsp1: Fix a reference count leak.

2020-06-13 Thread wu000273
From: Qiushi Wu pm_runtime_get_sync() increments the runtime PM usage counter even when it returns an error code, causing incorrect ref count if pm_runtime_put_noidle() is not called in error handling paths. Thus call pm_runtime_put_noidle() if pm_runtime_get_sync() fails. Fixes: 1e6af546ee66 ("

[PATCH] media: camss: Fix a reference count leak.

2020-06-13 Thread wu000273
From: Qiushi Wu pm_runtime_get_sync() increments the runtime PM usage counter even when it returns an error code, causing incorrect ref count if PM runtime put is not called in error handling paths. Thus call pm_runtime_put_sync() if pm_runtime_get_sync() fails. Fixes: 02afa816dbbf ("media: cams

[PATCH] media: camss: Fix a reference count leak.

2020-06-13 Thread wu000273
From: Qiushi Wu Calling pm_runtime_get_sync increments the counter even in case of failure, causing incorrect ref count if pm_runtime_put_sync is not called in error handling paths. Thus replace the jump target "error_pm_runtime_get" by "err_clocks". Fixes: 02afa816dbbf ("media: camss: Add basic

Re: [GIT] Networking

2020-06-13 Thread pr-tracker-bot
The pull request you sent on Sat, 13 Jun 2020 15:54:03 -0700 (PDT): > git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net refs/heads/master has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/96144c58abe7ff767e754b5b80995f7b8846d49b Thank you! -- Deet-doot-dot, I am

Re: BUG: kernel NULL pointer dereference from check_preempt_wakeup()

2020-06-13 Thread Paul E. McKenney
On Sat, Jun 13, 2020 at 07:57:19AM -0700, Paul E. McKenney wrote: > On Sat, Jun 13, 2020 at 09:26:40AM +0200, Thomas Gleixner wrote: > > "Paul E. McKenney" writes: > > > And an update based on your patch (https://paste.debian.net/1151802/) > > > against 44ebe016df3a ("Merge branch 'proc-linus' of

[PATCH v1] mtd: spi-nor: Add support for Winbond w25q64jv spi flash

2020-06-13 Thread Sven Van Asbroeck
Cc: linux-...@lists.infradead.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Sven Van Asbroeck --- Tree: next-20200613 drivers/mtd/spi-nor/winbond.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi-nor/winbond.c b/drivers/mtd/spi-nor/winbond.c index 5062af10f138..18bdff02f57f 10

Re: [PATCH] scsi: target/sbp: remove firewire SBP target driver

2020-06-13 Thread Finn Thain
On Sat, 13 Jun 2020, Chris Boot wrote: > I no longer have the time to maintain this subsystem nor the hardware to > test patches with. Then why not patch MAINTAINERS, and orphan it, as per usual practice? $ git log --oneline MAINTAINERS | grep -i orphan > It also doesn't appear to have any act

Re: [RFC,net-next, 0/5] Strict mode for VRF

2020-06-13 Thread David Ahern
On 6/13/20 4:39 PM, Dinesh Dutt wrote: > Understand Andrea. I guess I didn't say it well. What I meant to say was > that the strict mode is the default expected behavior in a classical router. > it has to be off by default for backwards compatibility.

Re: [RFC,net-next, 2/5] vrf: track associations between VRF devices and tables

2020-06-13 Thread David Ahern
On 6/13/20 4:53 PM, Andrea Mayer wrote: > Hi Stephen, > thanks for your questions. > > On Sat, 13 Jun 2020 12:28:59 -0700 > Stephen Hemminger wrote: > >>> + >>> +* Conversely, shared_table is decreased when a vrf is de-associated >>> +* from a table with exactly two associated vrfs. >>>

Re: [RFC,net-next, 1/5] l3mdev: add infrastructure for table to VRF mapping

2020-06-13 Thread David Ahern
On 6/12/20 10:49 AM, Andrea Mayer wrote: > @@ -37,6 +45,15 @@ struct l3mdev_ops { > > #ifdef CONFIG_NET_L3_MASTER_DEV > > +int l3mdev_table_lookup_register(enum l3mdev_type l3type, > + int (*fn)(struct net *net, u32 table_id)); > + > +void l3mdev_table_lookup_unreg

[PATCH 2/3] sched: Cleanup SCHED_THERMAL_PRESSURE setup

2020-06-13 Thread Valentin Schneider
As Russell pointed out [1], this option is severely lacking in the documentation department, and figuring out if one has the required dependencies to benefit from turning it on is not straightforward. Make it non user-visible, and add a bit of help to it. While at it, make it depend on CPU_FREQ_TH

[PATCH 0/3] sched, arch_topology: Thermal pressure configuration cleanup

2020-06-13 Thread Valentin Schneider
Hi folks, This stems from this thread [1] on the list. TL;DR: the thermal pressure config has no helpful documentation, and figuring out if the right dependencies are in place is not easy for a regular user. The current landscape also paints an odd picture: arch_set_thermal_pressure() is hardcod

[PATCH 3/3] arm, arm64: Select CONFIG_SCHED_THERMAL_PRESSURE

2020-06-13 Thread Valentin Schneider
This option now correctly depends on CPU_FREQ_THERMAL, so select it on the architectures that implement the required functions, arch_set_thermal_pressure() and arch_get_thermal_pressure(). Signed-off-by: Valentin Schneider --- arch/arm/Kconfig | 1 + arch/arm64/Kconfig | 1 + 2 files changed,

[PATCH 1/3] thermal/cpu-cooling, sched/core: Cleanup thermal pressure definition

2020-06-13 Thread Valentin Schneider
The following commit: 14533a16c46d ("thermal/cpu-cooling, sched/core: Move the arch_set_thermal_pressure() API to generic scheduler code") moved the definition of arch_set_thermal_pressure() to sched/core.c, but kept its declaration in linux/arch_topology.h. When building e.g. an x86 kernel wi

[PATCH] Fix null pointer dereference in vector_user_bpf

2020-06-13 Thread Gaurav Singh
The bpf_prog is being checked for !NULL after uml_kmalloc but later its used directly for example: bpf_prog->filter = bpf and is also later returned upon success. Fix this, do a NULL check and return right away. Signed-off-by: Gaurav Singh --- arch/um/drivers/vector_user.c | 8 +--- 1 file

[PATCH] drm/nouveau: Fix reference count leak in nouveau_connector_detect

2020-06-13 Thread Aditya Pakki
nouveau_connector_detect() calls pm_runtime_get_sync and in turn increments the reference count. In case of failure, decrement the ref count before returning the error. Signed-off-by: Aditya Pakki --- drivers/gpu/drm/nouveau/nouveau_connector.c | 4 +++- 1 file changed, 3 insertions(+), 1 deleti

[PATCH] drm/noveau: fix reference count leak in nv50_disp_atomic_commit

2020-06-13 Thread Aditya Pakki
nv50_disp_atomic_commit() calls calls pm_runtime_get_sync and in turn increments the reference count. In case of failure, decrement the ref count before returning the error. Signed-off-by: Aditya Pakki --- drivers/gpu/drm/nouveau/dispnv50/disp.c | 4 +++- 1 file changed, 3 insertions(+), 1 delet

[PATCH] drm/noveau: fix reference count leak in nouveau_fbcon_open

2020-06-13 Thread Aditya Pakki
nouveau_fbcon_open() calls calls pm_runtime_get_sync() that increments the reference count. In case of failure, decrement the ref count before returning the error. Signed-off-by: Aditya Pakki --- drivers/gpu/drm/nouveau/nouveau_fbcon.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) di

[PATCH] drm/nouveau: fix multiple instances of reference count leaks

2020-06-13 Thread Aditya Pakki
On calling pm_runtime_get_sync() the reference count of the device is incremented. In case of failure, decrement the ref count before returning the error. Signed-off-by: Aditya Pakki --- drivers/gpu/drm/nouveau/nouveau_drm.c | 8 ++-- drivers/gpu/drm/nouveau/nouveau_gem.c | 4 +++- 2 files c

[PATCH] drm/noveau: fix reference count leak in nouveau_debugfs_strap_peek

2020-06-13 Thread Aditya Pakki
nouveau_debugfs_strap_peek() calls pm_runtime_get_sync() that increments the reference count. In case of failure, decrement the ref count before returning the error. Signed-off-by: Aditya Pakki --- drivers/gpu/drm/nouveau/nouveau_debugfs.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)

Re: [GIT PULL] more Kbuild updates for v5.8-rc1

2020-06-13 Thread Masahiro Yamada
Hi Linus, On Sun, Jun 14, 2020 at 5:43 AM Linus Torvalds wrote: > > On Sat, Jun 13, 2020 at 10:56 AM Masahiro Yamada wrote: > > > > - fix build rules in binderfs sample > > .. oh, and now that this builds, it also made it obvious that the > .gitignore file was missing. > > Linus Tha

[PATCH] drm/radeon: fix multiple reference count leak

2020-06-13 Thread Aditya Pakki
On calling pm_runtime_get_sync() the reference count of the device is incremented. In case of failure, decrement the reference count before returning the error. Signed-off-by: Aditya Pakki --- drivers/gpu/drm/radeon/radeon_connectors.c | 20 +++- 1 file changed, 15 insertions(+),

Re: [PATCH] Fix code style in css_task_iter_next_css_set()

2020-06-13 Thread zzuedu2000
Please ignore this patch, I will send a updated one later. Regards, Wei Fenghai

[PATCH] drm/radeon: Fix reference count leaks caused by pm_runtime_get_sync

2020-06-13 Thread Aditya Pakki
On calling pm_runtime_get_sync() the reference count of the device is incremented. In case of failure, decrement the reference count before returning the error. Signed-off-by: Aditya Pakki --- drivers/gpu/drm/radeon/radeon_display.c | 4 +++- drivers/gpu/drm/radeon/radeon_drv.c | 4 +++- dri

Re: [PATCH v2] Makefile: Improve compressed debug info support detection

2020-06-13 Thread Masahiro Yamada
On Fri, Jun 12, 2020 at 8:39 AM Nick Desaulniers wrote: > > On Thu, Jun 11, 2020 at 3:03 PM Arvind Sankar wrote: > > > > Commit > > 10e68b02c861 ("Makefile: support compressed debug info") > > added support for compressed debug sections. > > > > Support is detected by checking > > - does the co

[PATCH] cgroup: Refactor two assignments in css_task_iter_next_css_set()

2020-06-13 Thread zzuedu2000
From: Wei Fenghai Combine two assignments for the variable ‘l’ into one statement. Signed-off-by: Wei Fenghai --- kernel/cgroup/cgroup.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kernel/cgroup/cgroup.c b/kernel/cgroup/cgroup.c index 1ea181a58465..c3e6db6e44d8 100644

[PATCH] media: s5p-mfc: Fix a reference count leak

2020-06-13 Thread wu000273
From: Qiushi Wu pm_runtime_get_sync() increments the runtime PM usage counter even when it returns an error code, causing incorrect ref count if pm_runtime_put_noidle() is not called in error handling paths. Thus call pm_runtime_put_noidle() if pm_runtime_get_sync() fails. Fixes: c5086f130a77 ("

[PATCH] media: stm32-dcmi: Fix a reference count leak

2020-06-13 Thread wu000273
From: Qiushi Wu Calling pm_runtime_get_sync increments the counter even in case of failure, causing incorrect ref count if pm_runtime_put is not called in error handling paths. Thus replace the jump target "err_release_buffers" by "err_pm_putw". Fixes: 152e0bf60219 ("media: stm32-dcmi: add power

[PATCH] drm/bridge: fix reference count leaks due to pm_runtime_get_sync()

2020-06-13 Thread Aditya Pakki
On calling pm_runtime_get_sync() the reference count of the device is incremented. In case of failure, decrement the reference count before returning the error. Signed-off-by: Aditya Pakki --- drivers/gpu/drm/bridge/cdns-dsi.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff -

[PATCH] drm/v3d: fix reference count leaks due to pm_runtime_get_sync

2020-06-13 Thread Aditya Pakki
On calling pm_runtime_get_sync() the reference count of the device is incremented. In case of failure, decrement the reference count before returning the error. Signed-off-by: Aditya Pakki --- drivers/gpu/drm/v3d/v3d_debugfs.c | 8 ++-- drivers/gpu/drm/v3d/v3d_drv.c | 4 +++- drivers/gpu

[PATCH] media: ti-vpe: Fix a missing check and reference count leak

2020-06-13 Thread wu000273
From: Qiushi Wu pm_runtime_get_sync() increments the runtime PM usage counter even when it returns an error code, causing incorrect ref count if pm_runtime_put_noidle() is not called in error handling paths. And also, when the call of function vpe_runtime_get() failed, we won't call vpe_runtime_p

[PATCH] media: exynos4-is: Fix a reference count leak

2020-06-13 Thread wu000273
From: Qiushi Wu pm_runtime_get_sync() increments the runtime PM usage counter even when it returns an error code, causing incorrect ref count if pm_runtime_put_noidle() is not called in error handling paths. Thus call pm_runtime_put_noidle() if pm_runtime_get_sync() fails. Signed-off-by: Qiushi

[PATCH] omapfb: fix multiple reference count leaks due to pm_runtime_get_sync

2020-06-13 Thread Aditya Pakki
On calling pm_runtime_get_sync() the reference count of the device is incremented. In case of failure, decrement the reference count before returning the error. Signed-off-by: Aditya Pakki --- drivers/video/fbdev/omap2/omapfb/dss/dispc.c | 7 +-- drivers/video/fbdev/omap2/omapfb/dss/dsi.c

Re: [PATCH 13/17] watch_queue: Implement mount topology and attribute change notifications [ver #5]

2020-06-13 Thread Ian Kent
On Thu, 2020-04-02 at 17:19 +0200, Miklos Szeredi wrote: > > > Firstly, a watch queue needs to be created: > > > > pipe2(fds, O_NOTIFICATION_PIPE); > > ioctl(fds[1], IOC_WATCH_QUEUE_SET_SIZE, 256); > > > > then a notification can be set up to report notifications via that > > que

[PATCH] media: exynos4-is: Fix a reference count leak due to pm_runtime_get_sync

2020-06-13 Thread wu000273
From: Qiushi Wu On calling pm_runtime_get_sync() the reference count of the device is incremented. In case of failure, decrement the reference count before returning the error. Signed-off-by: Qiushi Wu --- drivers/media/platform/exynos4-is/media-dev.c | 4 +++- 1 file changed, 3 insertions(+),

[PATCH] usb: dwc3: pci: Fix reference count leak in dwc3_pci_resume_work

2020-06-13 Thread Aditya Pakki
dwc3_pci_resume_work() calls pm_runtime_get_sync() that increments the reference counter. In case of failure, decrement the reference count and return the error. Signed-off-by: Aditya Pakki --- drivers/usb/dwc3/dwc3-pci.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dri

[PATCH] media: exynos4-is: Fix several reference count leaks due to pm_runtime_get_sync

2020-06-13 Thread wu000273
From: Qiushi Wu On calling pm_runtime_get_sync() the reference count of the device is incremented. In case of failure, decrement the reference count before returning the error. Signed-off-by: Qiushi Wu --- drivers/media/platform/exynos4-is/fimc-isp.c | 4 +++- drivers/media/platform/exynos4-i

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

2020-06-13 Thread Chun-Kuang Hu
Hi, Neal: Neal Liu 於 2020年6月9日 週二 下午6:25寫道: > > MT6873 bus frabric provides TrustZone security support and data > protection to prevent slaves from being accessed by unexpected > masters. > The security violations are logged and sent to the processor for > further analysis or countermeasures. > >

[PATCH] usb: musb: fix reference count leak in musb_irq_work

2020-06-13 Thread Aditya Pakki
musb_irq_work() calls pm_runtime_get_sync() that increments the reference counter. In case of failure, decrement the reference count and return the error. Signed-off-by: Aditya Pakki --- drivers/usb/musb/musb_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/musb/musb_core.c

[PATCH] media: sti: Fix reference count leaks

2020-06-13 Thread wu000273
From: Qiushi Wu pm_runtime_get_sync() increments the runtime PM usage counter even when it returns an error code, causing incorrect ref count if pm_runtime_put_noidle() is not called in error handling paths. Thus call pm_runtime_put_noidle() if pm_runtime_get_sync() fails. Signed-off-by: Qiushi

[PATCH] ASoC: img-parallel-out: Fix a reference count leak

2020-06-13 Thread wu000273
From: Qiushi Wu pm_runtime_get_sync() increments the runtime PM usage counter even when it returns an error code, causing incorrect ref count if pm_runtime_put_noidle() is not called in error handling paths. Thus call pm_runtime_put_noidle() if pm_runtime_get_sync() fails. Signed-off-by: Qiushi

[PATCH] usb: core: fix reference count leak in usb_port_resume

2020-06-13 Thread Aditya Pakki
usb_port_resume() calls pm_runtime_get_sync() that increments the reference counter. In case of failure, decrement the reference count and return the error. Signed-off-by: Aditya Pakki --- drivers/usb/core/hub.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/core/hub.c b/drivers

Re: [PATCH v4 3/9] reset: add BCM6345 reset controller driver

2020-06-13 Thread kernel test robot
x27;--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/lvaro-Fern-ndez-Rojas/bmips-add-bcm6345-reset-controller-support/20200613-164237 base: https://git.pengutronix.de/git/pza/linux re

<    1   2   3   4   >