Grsecurity GPL Violations: Linus/FSF/SFConservancy won't defend. Claw back your copyrights. BSD-in-Practice was not the deal.

2021-01-01 Thread nipponmail
Silence is consent. Are there FOSS developers making decent money via Patreon, GoFundMe, whatever? Yes, Grsecurity is making good money. They simply added a no-redistribution agreement to their patch of the Linux Kernel. ( https://perens.com/2017/06/28/warning-grsecurity-potential-contribut

re

2021-01-01 Thread info6 .
Greetings Compliment of the day and hope you are in good health in this time of pandemic crisis! You have been chosen to partake in a charity project in which you will get a cash donation of $16.5 million dollars to help victims Of Covid 19. And Less Privileges in your region. I look forward

[PATCH] media: media/pci: Fix memleak in empress_init

2021-01-01 Thread Dinghao Liu
When vb2_queue_init() fails, dev->empress_dev should be released just like other error handling paths. Fixes: 2ada815fc48bb ("[media] saa7134: convert to vb2") Signed-off-by: Dinghao Liu --- drivers/media/pci/saa7134/saa7134-empress.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) di

Dearest in Mind,

2021-01-01 Thread Grace Obia
-- Dearest in Mind, My name is Mrs. Katherine Rafael, a business woman an Ivorian Citizen and born in 1961. I have a mission for you worth $3 500, 000,00 (Three Million Five Hundred Thousand United State Dollars) which I intend using for CHARITY. I am a breast cancer woman and have told by doct

Re: [PATCH] Input: ar1021 - use IRQ_NOAUTOEN flags to replace disable_irq

2021-01-01 Thread Dmitry Torokhov
Hi Barry, On Sat, Jan 02, 2021 at 05:29:02PM +1300, Barry Song wrote: > disable_irq() after request_irq is unsafe as it gives a time gap which > irq can come before disable_irq(). IRQ_NOAUTOEN is the common way to > avoid enabling IRQ due to requesting IRQ. Actually it is OK for the ISR to fire b

[PATCH] Bluetooth: hci_qca: Fix memleak in qca_controller_memdump

2021-01-01 Thread Dinghao Liu
When __le32_to_cpu() fails, qca_memdump should be freed just like when vmalloc() fails. Fixes: d841502c79e3f ("Bluetooth: hci_qca: Collect controller memory dump during SSR") Signed-off-by: Dinghao Liu --- drivers/bluetooth/hci_qca.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers

[PATCH] Input: ar1021 - use IRQ_NOAUTOEN flags to replace disable_irq

2021-01-01 Thread Barry Song
disable_irq() after request_irq is unsafe as it gives a time gap which irq can come before disable_irq(). IRQ_NOAUTOEN is the common way to avoid enabling IRQ due to requesting IRQ. Signed-off-by: Barry Song --- drivers/input/touchscreen/ar1021_i2c.c | 8 +--- 1 file changed, 5 insertions(+)

[PATCH] checkpatch: Improve blank line after declaration test

2021-01-01 Thread Joe Perches
Avoid multiple false positives by ignoring attributes. Various attributes like volatile and cacheline_aligned_in_smp cause checkpatch to emit invalid "Missing a blank line after declarations" messages. Use copies of $sline and $prevline, remove $Attribute and $Sparse, and use the existing tes

[PATCH v5 1/2] fpga: dfl: add the userspace I/O device support for DFL devices

2021-01-01 Thread Xu Yilun
This patch supports the DFL drivers be written in userspace. This is realized by exposing the userspace I/O device interfaces. The driver leverages the uio_pdrv_genirq, it adds the uio_pdrv_genirq platform device with the DFL device's resources, and let the generic UIO platform device driver provi

[PATCH v5 2/2] Documentation: fpga: dfl: Add description for DFL UIO support

2021-01-01 Thread Xu Yilun
This patch adds description for UIO support for dfl devices on DFL bus. Signed-off-by: Xu Yilun --- v2: no doc in v1, add it for v2. v3: some documentation fixes. v4: documentation change since the driver matching is changed. v5: no change. --- Documentation/fpga/dfl.rst | 24 +++

[PATCH v5 0/2] UIO support for dfl devices

2021-01-01 Thread Xu Yilun
This patchset supports some dfl device drivers written in userspace. In the patchset v1, the "driver_override" interface should be used to bind the DFL UIO driver to DFL devices. But there is concern that the "driver_override" interface is not OK itself. In v2, we use a new matching algorithem. T

[PATCH v2] spi: fix the divide by 0 error when calculating xfer waiting time

2021-01-01 Thread Xu Yilun
The xfer waiting time is the result of xfer->len / xfer->speed_hz. This patch makes the assumption of 1khz xfer speed if the xfer->speed_hz is not assigned and stays 0. This avoids the divide by 0 issue and ensures a reasonable tolerant waiting time. Signed-off-by: Xu Yilun --- v2: use the normal

Re: [PATCH] platform/x86: ideapad-laptop: Add has_touchpad_switch

2021-01-01 Thread Jiaxun Yang
在 2021/1/2 上午1:09, Barnabás Pőcze 写道: Hi 2021. január 1., péntek 17:08 keltezéssel, Jiaxun Yang írta: [...] @@ -1006,6 +1018,10 @@ static int ideapad_acpi_add(struct platform_device *pdev) if (!priv->has_hw_rfkill_switch) write_ec_cmd(priv->adev->handle, VPCCMD_W_RF,

[PATCH 0/7] selftests: gpio: rework and port to GPIO uAPI v2

2021-01-01 Thread Kent Gibson
Initially I just wanted to port the selftests to the latest GPIO uAPI, but on finding that, due to dependency issues, the selftests are not built for the buildroot environments that I do most of my GPIO testing in, I decided to take a closer look. The first patch is essentially a rewrite of the ex

[PATCH 7/7] selftests: gpio: add CONFIG_GPIO_CDEV to config

2021-01-01 Thread Kent Gibson
GPIO CDEV is now optional and required for the selftests so add it to the config. Signed-off-by: Kent Gibson --- tools/testing/selftests/gpio/config | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/gpio/config b/tools/testing/selftests/gpio/config index abaa6902b7b6..

[PATCH 2/7] selftests: gpio: remove obsolete gpio-mockup-chardev.c

2021-01-01 Thread Kent Gibson
GPIO selftests have changed to new gpio-mockup-cdev helper, so remove old gpio-mockup-chardev helper. Signed-off-by: Kent Gibson --- .../selftests/gpio/gpio-mockup-chardev.c | 323 -- 1 file changed, 323 deletions(-) delete mode 100644 tools/testing/selftests/gpio/gpio-mock

[PATCH 6/7] selftests: gpio: port to GPIO uAPI v2

2021-01-01 Thread Kent Gibson
Add a port to the GPIO uAPI v2 interface and make it the default. Signed-off-by: Kent Gibson --- .../testing/selftests/gpio/gpio-mockup-cdev.c | 75 +-- tools/testing/selftests/gpio/gpio-mockup.sh | 11 ++- 2 files changed, 76 insertions(+), 10 deletions(-) diff --git a/tools/

[PATCH 4/7] selftests: remove obsolete gpio references from kselftest_deps.sh

2021-01-01 Thread Kent Gibson
GPIO Makefile has been greatly simplified so remove references to lines which no longer exist. Signed-off-by: Kent Gibson --- tools/testing/selftests/kselftest_deps.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/testing/selftests/kselftest_deps.sh b/tools/testin

[PATCH 3/7] selftests: remove obsolete build restriction for gpio

2021-01-01 Thread Kent Gibson
Build restrictions related to the gpio-mockup-chardev helper are no longer relevant so remove them. Signed-off-by: Kent Gibson --- tools/testing/selftests/Makefile | 9 - 1 file changed, 9 deletions(-) diff --git a/tools/testing/selftests/Makefile b/tools/testing/selftests/Makefile inde

[PATCH 5/7] tools: gpio: remove uAPI v1 code no longer used by selftests

2021-01-01 Thread Kent Gibson
gpio-mockup-chardev helper has been obsoleted and removed, so also remove the tools/gpio code that it, and nothing else, was using. Signed-off-by: Kent Gibson --- tools/gpio/gpio-utils.c | 89 - tools/gpio/gpio-utils.h | 6 --- 2 files changed, 95 deletio

[PATCH 1/7] selftests: gpio: rework and simplify test implementation

2021-01-01 Thread Kent Gibson
The GPIO mockup selftests are overly complicated with separate implementations of the tests for sysfs and cdev uAPI, and with the cdev implementation being dependent on tools/gpio and libmount. Rework the test implementation to provide a common test suite with a simplified pluggable uAPI interface

Grsecurity GPL Violations: Bring a CASE act claim every time GrSecurity releases a new infringing work?

2021-01-01 Thread nipponmail
Should each Linux copyright owner of whom's copyright is being violated (By GrSecurity) bring a "small claims copyright" case every time GrSecurity sends a new infringing patch to a customer? (GRSecurity blatantly violates the clause in the Linux kernel and GCC copyright licenses regar

Re: [PATCH 1/4] net: sfp: add workaround for Realtek RTL8672 and RTL9601C chips

2021-01-01 Thread Pali Rohár
On Thursday 31 December 2020 18:13:38 Andrew Lunn wrote: > > > Looking at sfp_module_info(), adding a check for i2c_block_size < 2 > > > when determining what length to return. ethtool should do the right > > > thing, know that the second page has not been returned to user space. > > > > But if we

drivers/accessibility/speakup/speakup_acntpc.c:262:28: sparse: sparse: cast removes address space '__iomem' of expression

2021-01-01 Thread kernel test robot
Hi Samuel, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: eda809aef53426d044b519405d25d9da55319b76 commit: 2067fd92d75b6d9085a43caf050bca5d88c491b8 staging/speakup: Move out of staging date: 5 months ago config

Re: [PATCH] HSI: Fix PM usage counter unbalance in ssi_hw_init

2021-01-01 Thread Sebastian Reichel
Hi, On Mon, Nov 23, 2020 at 06:18:27PM +0800, Zhang Qilong wrote: > pm_runtime_get_sync will increment pm usage counter > even it failed. Forgetting to putting operation will > result in reference leak here. We fix it by replacing > it with pm_runtime_resume_and_get to keep usage counter > balance

drivers/dma/qcom/gpi.c:1254:15: warning: iteration 2 invokes undefined behavior

2021-01-01 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: eda809aef53426d044b519405d25d9da55319b76 commit: 5d0c3533a19f48e5e7e73806a3e4b29cd4364130 dmaengine: qcom: Add GPI dma driver date: 5 weeks ago config: arm64-randconfig-p002-20210102 (attached as .config)

Re: Generate the config file for kernel compilation non-interactively in script.

2021-01-01 Thread Hongyi Zhao
On Fri, Jan 1, 2021 at 2:32 PM Randy Dunlap wrote: > > On 12/31/20 8:51 PM, Hongyi Zhao wrote: > > Hi, > > > > I want to build the realtime Linux for ROS 2 according to the > > guidelines here: > > . > > > > F

Re: [PATCH v2 7/8] venus: venc: Handle reset encoder state

2021-01-01 Thread Fritz Koenig
How should we resolve this patch in relation to the "venus: venc: Init the session only once in queue_setup" [1] patch? "venus: venc: Init the session only once in queue_setup" comes after and reworks |venc_start_streaming| substantially. This patch implements |venc_stop_streaming|, but maybe tha

Re: Generate the config file for kernel compilation non-interactively in script.

2021-01-01 Thread Hongyi Zhao
On Sat, Jan 2, 2021 at 12:28 AM Randy Dunlap wrote: > > Hi, > > On 1/1/21 1:55 AM, Hongyi Zhao wrote: > > On Fri, Jan 1, 2021 at 2:32 PM Randy Dunlap wrote: > >> > >> On 12/31/20 8:51 PM, Hongyi Zhao wrote: > >>> Hi, > >>> > >>> I want to build the realtime Linux for ROS 2 according to the > >>>

[PATCH] entry: Use different define for selector variable in SUD

2021-01-01 Thread Gabriel Krisman Bertazi
Michael Kerrisk suggested that, from an API perspective, it is a bad idea to share the PR_SYS_DISPATCH_ defines between the prctl operation and the selector variable. Therefore, define two new constants to be used by SUD's selector variable, and the corresponding documentation. While this changes

Re: [GIT PULL] Power management updates for v5.11-rc2

2021-01-01 Thread Rafael J. Wysocki
On Fri, Jan 1, 2021 at 10:12 PM Linus Torvalds wrote: > > On Fri, Jan 1, 2021 at 8:51 AM Rafael J. Wysocki wrote: > > > > - Add new power capping facility called DTPM (Dynamic Thermal Power > >Management), based on the existing power capping framework, to > >allow aggregate power constra

Re: Linux 5.11-rc1

2021-01-01 Thread Sedat Dilek
On Fri, Jan 1, 2021 at 7:55 PM Sedat Dilek wrote: > > On Fri, Jan 1, 2021 at 5:14 PM Pavel Machek wrote: > > > > Hi! > > > > > > > > > $ dpkg -L kmod | grep bin | grep depmod > > > > > /sbin/depmod > > > > > > > > > > $ which depmod > > > > > [ empty ] > > > > > > > > > > $ echo $PATH > > > > > /

[PATCH] docs: ALSA: Fix reference to mixart.rst

2021-01-01 Thread Jonathan Neuschäfer
MIXART.txt has been converted to ReST and renamed. Fix the reference in alsa-configuration.rst. Fixes: 3d8e81862ce4 ("ALSA: doc: ReSTize MIXART.txt") Signed-off-by: Jonathan Neuschäfer --- Documentation/sound/alsa-configuration.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --gi

Re: [xfs] db962cd266: Assertion_failed

2021-01-01 Thread Dave Chinner
On Fri, Jan 01, 2021 at 05:10:49PM +0800, Yafang Shao wrote: > On Thu, Dec 31, 2020 at 10:46 AM kernel test robot > wrote: . > > [ 552.905799] XFS: Assertion failed: !current->journal_info, file: > > fs/xfs/xfs_trans.h, line: 280 > > [ 553.104459] xfs_trans_reserve+0x225/0x320 [xfs] > > [

[PATCH] docs: Include ext4 documentation via filesystems/

2021-01-01 Thread Jonathan Neuschäfer
The documentation for other filesystems is already included via filesystems/index.rst. Include ext4 in the same way and remove it from the top-level table of contents. Signed-off-by: Jonathan Neuschäfer --- Documentation/filesystems/index.rst | 1 + Documentation/index.rst | 11

Re: [GIT PULL] SCSI fixes for 5.11-rc1

2021-01-01 Thread James Bottomley
On Fri, 2021-01-01 at 13:21 -0800, Linus Torvalds wrote: > On Fri, Jan 1, 2021 at 12:19 PM James Bottomley > wrote: > > Originally this change was slated for the merge window but a late > > arriving build problem with CONFIG_PM=n derailed that. > > So I've pulled this, Thanks! > but we need to

[PATCH] dt-bindings: mips: lantiq: Document Lantiq Xway EBU bindings

2021-01-01 Thread Aleksander Jan Bajkowski
Document the Lantiq Xway SoC series External Bus Unit (EBU) bindings. Signed-off-by: Aleksander Jan Bajkowski --- .../bindings/mips/lantiq/lantiq,ebu.yaml | 32 +++ 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/mips/lantiq/lantiq,ebu

Re: [PATCH 1/2] dt-bindings: memory: Renesas RPC-IF: Add support for RZ/G2 Series

2021-01-01 Thread Adam Ford
On Fri, Jan 1, 2021 at 12:58 PM Biju Das wrote: > > Hi Adam, > > Thanks for the patch. > > > -Original Message- > > From: Adam Ford > > Sent: 01 January 2021 11:39 > > To: linux-renesas-...@vger.kernel.org > > Cc: af...@beaconembedded.com; Adam Ford ; Krzysztof > > Kozlowski ; Rob Herring

[PATCH] scripts/jobserver-exec: Fix a typo ("envirnoment")

2021-01-01 Thread Jonathan Neuschäfer
Signed-off-by: Jonathan Neuschäfer --- scripts/jobserver-exec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/jobserver-exec b/scripts/jobserver-exec index 0fdb31a790a81..1c779cd1ccb48 100755 --- a/scripts/jobserver-exec +++ b/scripts/jobserver-exec @@ -10,7 +10,7 @@ f

Re: [GIT PULL] SCSI fixes for 5.11-rc1

2021-01-01 Thread pr-tracker-bot
The pull request you sent on Fri, 01 Jan 2021 12:19:11 -0800: > git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/eda809aef53426d044b519405d25d9da55319b76 Thank you! -- Deet-doot-dot, I am a bot. ht

Re: [GIT PULL] SCSI fixes for 5.11-rc1

2021-01-01 Thread Linus Torvalds
On Fri, Jan 1, 2021 at 12:19 PM James Bottomley wrote: > > Originally this change was slated for the merge window but a late > arriving build problem with CONFIG_PM=n derailed that. So I've pulled this, but we need to have a policy for reverting this quickly if it turns out to cause problems. I'

[PATCH] drm/mipi-dbi: Switch to new kerneldoc syntax for named variable macro argument

2021-01-01 Thread Jonathan Neuschäfer
The syntax without dots is available since commit 43756e347f21 ("scripts/kernel-doc: Add support for named variable macro arguments"). The same HTML output is produced with and without this patch. Signed-off-by: Jonathan Neuschäfer --- include/drm/drm_mipi_dbi.h | 2 +- 1 file changed, 1 insert

[PATCH] docs: binfmt-misc: Fix .rst formatting

2021-01-01 Thread Jonathan Neuschäfer
"name below" is not part of the /proc path and should not be formatted in monospace. "doesn``t" is rendered in HTML with a double backtick. Revert it back to "doesn't". Signed-off-by: Jonathan Neuschäfer --- Documentation/admin-guide/binfmt-misc.rst | 4 ++-- 1 file changed, 2 insertions(+), 2

Re: [GIT PULL] Power management updates for v5.11-rc2

2021-01-01 Thread Linus Torvalds
On Fri, Jan 1, 2021 at 8:51 AM Rafael J. Wysocki wrote: > > - Add new power capping facility called DTPM (Dynamic Thermal Power >Management), based on the existing power capping framework, to >allow aggregate power constraints to be applied to sets of devices >in a distributed manner,

ld.lld: error: undefined symbol: sdw_intel_acpi_scan

2021-01-01 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f6e1ea19649216156576aeafa784e3b4cee45549 commit: a115ab9b8b93e7f0ff28a4fc869a3222ae921edd ASoC: SOF: Intel: add build support for SoundWire date: 4 months ago config: x86_64-randconfig-a014-20210102 (attac

[PATCH] docs: gpio: intro: Improve HTML formatting

2021-01-01 Thread Jonathan Neuschäfer
Currently the HTML output for Documentation/driver-api/gpio/intro.rst doesn't look right. The lines that start with LOW or HIGH are formatted in bold, while the next line after each is not bold. With this patch, the HTML looks better. Signed-off-by: Jonathan Neuschäfer --- Documentation/driver-

Re: [PATCH] sh: check return code of request_irq

2021-01-01 Thread Miguel Ojeda
On Fri, Jan 1, 2021 at 2:50 PM John Paul Adrian Glaubitz wrote: > > Verified on my SH-7785LCR board. Boots fine. > > Tested-by: John Paul Adrian Glaubitz Thanks for testing, John! I think Masahiro was concerned about the error case (I assume you tested the happy path). In any case, if no maint

[GIT PULL] SCSI fixes for 5.11-rc1

2021-01-01 Thread James Bottomley
This is a load of driver fixes (12 ufs, 1 mpt3sas, 1 cxgbi). The big core two fixes are for power management ("block: Do not accept any requests while suspended" and "block: Fix a race in the runtime power management code") which finally sorts out the resume problems we've occasionally been having

[PATCH] ovl: use a dedicated semaphore for dir upperfile caching

2021-01-01 Thread Icenowy Zheng
The function ovl_dir_real_file() currently uses the semaphore of the inode to synchronize write to the upperfile cache field. However, this function will get called by ovl_ioctl_set_flags(), which utilizes the inode semaphore too. In this case ovl_dir_real_file() will try to claim a lock that is o

[PATCH] docs: gpio: Fix formatting in description of gpiod_*_array_* functions

2021-01-01 Thread Jonathan Neuschäfer
The gpiod_*_array_* functions take four arguments, not three. Additionally, the formatting of the "value_bitmap" line results in misformatted HTML, so fix that. Signed-off-by: Jonathan Neuschäfer --- Documentation/driver-api/gpio/consumer.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletio

ERROR: ".is_vmalloc_addr" undefined!

2021-01-01 Thread kernel test robot
Hi Ingo, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f6e1ea19649216156576aeafa784e3b4cee45549 commit: 186525bd6b83efc592672e2d6185e4d7c810d2b4 mm, x86/mm: Untangle address space layout definitions from basic p

[PATCH] drm/vkms: Decouple config data for configfs

2021-01-01 Thread Sumera Priyadarsini
Currently, data for the device instance is held by vkms_device. Add a separate type, vkms_config to contain configuration details for the device and various modes to be later used by configfs. This config data stays constant once the device is created. Accordingly, add vkms_create and vkms_destroy

RE: [PATCH 1/2] dt-bindings: memory: Renesas RPC-IF: Add support for RZ/G2 Series

2021-01-01 Thread Biju Das
Hi Adam, Thanks for the patch. > -Original Message- > From: Adam Ford > Sent: 01 January 2021 11:39 > To: linux-renesas-...@vger.kernel.org > Cc: af...@beaconembedded.com; Adam Ford ; Krzysztof > Kozlowski ; Rob Herring ; Geert > Uytterhoeven ; Magnus Damm > ; Sergei Shtylyov ; > linux-k

Re: Linux 5.11-rc1

2021-01-01 Thread Sedat Dilek
On Fri, Jan 1, 2021 at 5:14 PM Pavel Machek wrote: > > Hi! > > > > > > > $ dpkg -L kmod | grep bin | grep depmod > > > > /sbin/depmod > > > > > > > > $ which depmod > > > > [ empty ] > > > > > > > > $ echo $PATH > > > > /opt/proxychains-ng/bin:/home/dileks/bin:/usr/local/bin:/usr/bin:/bin:/usr/loc

RE: [RFC please help] membarrier: Rewrite sync_core_before_usermode()

2021-01-01 Thread David Laight
From: Andy Lutomirski > Sent: 29 December 2020 00:36 ... > I mean that the mapping from the name "sync_core" to its semantics is > x86 only. The string "sync_core" appears in the kernel only in > arch/x86, membarrier code, membarrier docs, and a single SGI driver > that is x86-only. Sure, the ide

[PATCH] dt-bindings: mips: lantiq: Document Lantiq Xway CGU bindings

2021-01-01 Thread Aleksander Jan Bajkowski
Document the Lantiq Xway SoC series Clock Generation Unit (CGU) bindings. Signed-off-by: Aleksander Jan Bajkowski --- .../bindings/mips/lantiq/lantiq,cgu.yaml | 32 +++ 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/mips/lantiq/lantiq

Re: [PATCH v2 01/10] vfs: move cap_convert_nscap() call into vfs_setxattr()

2021-01-01 Thread Eric W. Biederman
Miklos Szeredi writes: > cap_convert_nscap() does permission checking as well as conversion of the > xattr value conditionally based on fs's user-ns. > > This is needed by overlayfs and probably other layered fs (ecryptfs) and is > what vfs_foo() is supposed to do anyway. Well crap. I just noti

Re: [PATCH] platform/x86: ideapad-laptop: Add has_touchpad_switch

2021-01-01 Thread Barnabás Pőcze
Hi 2021. január 1., péntek 17:08 keltezéssel, Jiaxun Yang írta: > [...] > > > @@ -1006,6 +1018,10 @@ static int ideapad_acpi_add(struct platform_device > > > *pdev) > > > if (!priv->has_hw_rfkill_switch) > > > write_ec_cmd(priv->adev->handle, VPCCMD_W_RF, 1); > > > > > > + /* The sa

RE: [PATCH] gpio: Kconfig: Update help description for GPIO_RCAR

2021-01-01 Thread Biju Das
Hi Prabhakar, > -Original Message- > From: Lad Prabhakar > Sent: 31 December 2020 15:39 > To: Linus Walleij ; Bartosz Golaszewski > ; Geert Uytterhoeven > Cc: linux-g...@vger.kernel.org; linux-kernel@vger.kernel.org; linux- > renesas-...@vger.kernel.org; Prabhakar ; > Prabhakar Mahadev L

RE: [PATCH] can: rcar: Update help description for CAN_RCAR config

2021-01-01 Thread Biju Das
Hi Prabhakar, Thanks for the patch. > -Original Message- > From: Lad Prabhakar > Sent: 31 December 2020 16:00 > To: Geert Uytterhoeven ; Wolfgang Grandegger > ; Marc Kleine-Budde ; David S. > Miller ; Jakub Kicinski ; Masahiro > Yamada > Cc: linux-...@vger.kernel.org; net...@vger.kernel

[PATCH 19/31] drm/panfrost: convert to use devm_pm_opp_* API

2021-01-01 Thread Yangtao Li
Use devm_pm_opp_* API to simplify code, and remove opp_table from panfrost_devfreq. Signed-off-by: Yangtao Li --- drivers/gpu/drm/panfrost/panfrost_devfreq.c | 34 ++--- drivers/gpu/drm/panfrost/panfrost_devfreq.h | 1 - 2 files changed, 10 insertions(+), 25 deletions(-) diff -

[PATCH 24/31] memory: tegra20: convert to use devm_pm_opp_* API

2021-01-01 Thread Yangtao Li
Use devm_pm_opp_* API to simplify code. Signed-off-by: Yangtao Li --- drivers/memory/tegra/tegra20-emc.c | 29 + 1 file changed, 9 insertions(+), 20 deletions(-) diff --git a/drivers/memory/tegra/tegra20-emc.c b/drivers/memory/tegra/tegra20-emc.c index 686aaf477d8a.

[PATCH 23/31] memory: samsung: exynos5422-dmc: convert to use devm_pm_opp_* API

2021-01-01 Thread Yangtao Li
Use devm_pm_opp_* API to simplify code. Signed-off-by: Yangtao Li --- drivers/memory/samsung/exynos5422-dmc.c | 21 + 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/drivers/memory/samsung/exynos5422-dmc.c b/drivers/memory/samsung/exynos5422-dmc.c index 62a836

[PATCH 21/31] media: venus: convert to use devm_pm_opp_* API

2021-01-01 Thread Yangtao Li
Use devm_pm_opp_* API to simplify code. Signed-off-by: Yangtao Li --- .../media/platform/qcom/venus/pm_helpers.c| 21 --- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/drivers/media/platform/qcom/venus/pm_helpers.c b/drivers/media/platform/qcom/venus/pm_help

[PATCH 22/31] memory: samsung: exynos5422-dmc: fix return error in exynos5_init_freq_table

2021-01-01 Thread Yangtao Li
We can't always return -EINVAL, let's fix it. Signed-off-by: Yangtao Li --- drivers/memory/samsung/exynos5422-dmc.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/memory/samsung/exynos5422-dmc.c b/drivers/memory/samsung/exynos5422-dmc.c index c5ee4121a4d2

[PATCH 20/31] media: venus: fix error check in core_get_v4()

2021-01-01 Thread Yangtao Li
Don't call dev_pm_opp_put_clkname() when got invalid OPP table in device tree, since we do this in core_put_v4(). Signed-off-by: Yangtao Li --- drivers/media/platform/qcom/venus/pm_helpers.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/media/platform/qcom/venus/p

drivers/net/ethernet/google/gve/gve_tx.c:507:25: warning: variable 'buf' set but not used

2021-01-01 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f6e1ea19649216156576aeafa784e3b4cee45549 commit: 6f007c6486d69967ac1d9e67df9ae9c77d49f1cc gve: Add support for raw addressing in the tx path date: 3 weeks ago config: i386-randconfig-r034-20210101

[PATCH 18/31] drm/lima: remove unneeded devm_devfreq_remove_device()

2021-01-01 Thread Yangtao Li
There is no need to manually release devm related resources. Signed-off-by: Yangtao Li --- drivers/gpu/drm/lima/lima_devfreq.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/gpu/drm/lima/lima_devfreq.c b/drivers/gpu/drm/lima/lima_devfreq.c index d5937cf86504..7690c5c69f9f 10064

[PATCH 17/31] drm/lima: convert to use devm_pm_opp_* API

2021-01-01 Thread Yangtao Li
Use devm_pm_opp_* API to simplify code, and remove opp_table from lima_devfreq. Signed-off-by: Yangtao Li --- drivers/gpu/drm/lima/lima_devfreq.c | 40 - drivers/gpu/drm/lima/lima_devfreq.h | 2 -- 2 files changed, 10 insertions(+), 32 deletions(-) diff --git a/driv

[PATCH 12/31] mmc: sdhci-msm: convert to use devm_pm_opp_* API

2021-01-01 Thread Yangtao Li
Use devm_pm_opp_* API to simplify code, and remove opp_table from sdhci_msm_host. Signed-off-by: Yangtao Li --- drivers/mmc/host/sdhci-msm.c | 19 +++ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c index

[PATCH 14/31] spi: spi-qcom-qspi: convert to use devm_pm_opp_* API

2021-01-01 Thread Yangtao Li
Use devm_pm_opp_* API to simplify code, and remove opp_table from qcom_qspi. Signed-off-by: Yangtao Li --- drivers/spi/spi-qcom-qspi.c | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/drivers/spi/spi-qcom-qspi.c b/drivers/spi/spi-qcom-qspi.c index 915ae115d8c

[PATCH 16/31] drm/msm: convert to use devm_pm_opp_* API and remove dp_ctrl_put

2021-01-01 Thread Yangtao Li
1. Use devm_pm_opp_* to simplif code and avoid mem leak. 2. Remove opp_table from dpu_kms, dp_ctrl_private and msm_dsi_host, since it does not need a global scope. 3. Remove dp_ctrl_put. Signed-off-by: Yangtao Li --- drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 2 +- drivers/gpu/drm/msm/adreno/a6x

[PATCH 15/31] drm/msm: fix potential mem leak

2021-01-01 Thread Yangtao Li
We should use dev_pm_opp_put_clkname() to free opp table each time dev_pm_opp_of_add_table() got error. Signed-off-by: Yangtao Li --- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 10 ++ drivers/gpu/drm/msm/dsi/dsi_host.c | 8 +--- 2 files changed, 11 insertions(+), 7 deletions(-)

[PATCH 13/31] spi: spi-qcom-qspi: fix potential mem leak in qcom_qspi_probe()

2021-01-01 Thread Yangtao Li
We should use dev_pm_opp_put_clkname() to free opp table each time dev_pm_opp_of_add_table() got error. Signed-off-by: Yangtao Li --- drivers/spi/spi-qcom-qspi.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/spi/spi-qcom-qspi.c b/drivers/spi/spi-qcom-qsp

[PATCH 10/31] qcom-geni-se: remove opp_table

2021-01-01 Thread Yangtao Li
opp_table isn't used anymore, remove it. Signed-off-by: Yangtao Li --- include/linux/qcom-geni-se.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/qcom-geni-se.h b/include/linux/qcom-geni-se.h index ec2ad4b0fe14..cddef864a760 100644 --- a/include/linux/qcom-geni-se.h +++ b/in

[PATCH 11/31] mmc: sdhci-msm: fix potential mem leak in sdhci_msm_probe()

2021-01-01 Thread Yangtao Li
We should use dev_pm_opp_put_clkname() to free opp table each time dev_pm_opp_of_add_table() got error. Signed-off-by: Yangtao Li --- drivers/mmc/host/sdhci-msm.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-

[PATCH 09/31] spi: spi-qcom-qspi: fix potential mem leak in spi_geni_probe()

2021-01-01 Thread Yangtao Li
Use devm_pm_opp_* API to simplify code, and we don't need to make opp_table glabal. Let's remove opp_table from geni_se later. Signed-off-by: Yangtao Li --- drivers/spi/spi-geni-qcom.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/drivers/spi/spi-geni-qcom.

[PATCH 08/31] spi: spi-qcom-qspi: fix potential mem leak in spi_geni_probe()

2021-01-01 Thread Yangtao Li
We should use dev_pm_opp_put_clkname() to free opp table each time dev_pm_opp_of_add_table() got error. Signed-off-by: Yangtao Li --- drivers/spi/spi-geni-qcom.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/spi/spi-geni-qcom.c b/drivers/spi/spi-geni-qcom

[PATCH 07/31] serial: qcom_geni_serial: convert to use devm_pm_opp_* API

2021-01-01 Thread Yangtao Li
Use devm_pm_opp_* API to simplify code, and we don't need to make opp_table glabal. Let's remove opp_table from geni_se later. Signed-off-by: Yangtao Li --- drivers/tty/serial/qcom_geni_serial.c | 23 +-- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/drivers

[PATCH 06/31] serial: qcom_geni_serial: fix potential mem leak in qcom_geni_serial_probe()

2021-01-01 Thread Yangtao Li
We should use dev_pm_opp_put_clkname() to free opp table each time dev_pm_opp_of_add_table() got error. Signed-off-by: Yangtao Li --- drivers/tty/serial/qcom_geni_serial.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/tty/serial/qcom_geni_serial.c b/driv

[PATCH 05/31] opp: Add devres wrapper for dev_pm_opp_register_notifier

2021-01-01 Thread Yangtao Li
Add devres wrapper for dev_pm_opp_register_notifier() to simplify driver code. Signed-off-by: Yangtao Li --- drivers/opp/core.c | 38 ++ include/linux/pm_opp.h | 6 ++ 2 files changed, 44 insertions(+) diff --git a/drivers/opp/core.c b/drivers/opp/co

[PATCH 04/31] opp: Add devres wrapper for dev_pm_opp_of_add_table

2021-01-01 Thread Yangtao Li
Add devres wrapper for dev_pm_opp_of_add_table() to simplify driver code. Signed-off-by: Yangtao Li --- drivers/opp/of.c | 36 include/linux/pm_opp.h | 6 ++ 2 files changed, 42 insertions(+) diff --git a/drivers/opp/of.c b/drivers/opp/of.c index

[PATCH 03/31] opp: Add devres wrapper for dev_pm_opp_set_supported_hw

2021-01-01 Thread Yangtao Li
Add devres wrapper for dev_pm_opp_set_supported_hw() to simplify driver code. Signed-off-by: Yangtao Li --- drivers/opp/core.c | 38 ++ include/linux/pm_opp.h | 8 2 files changed, 46 insertions(+) diff --git a/drivers/opp/core.c b/drivers/opp/c

[PATCH 02/31] opp: Add devres wrapper for dev_pm_opp_set_regulators and dev_pm_opp_put_regulators

2021-01-01 Thread Yangtao Li
Add devres wrapper for dev_pm_opp_set_regulators() dev_pm_opp_put_regulators () to simplify driver code. Signed-off-by: Yangtao Li --- drivers/opp/core.c | 50 ++ include/linux/pm_opp.h | 9 2 files changed, 59 insertions(+) diff --git a/dri

[PATCH 01/31] opp: Add devres wrapper for dev_pm_opp_set_clkname and dev_pm_opp_put_clkname

2021-01-01 Thread Yangtao Li
Add devres wrapper for dev_pm_opp_set_clkname() and dev_pm_opp_put_clkname() to simplify driver code. Signed-off-by: Yangtao Li --- drivers/opp/core.c | 47 ++ include/linux/pm_opp.h | 9 2 files changed, 56 insertions(+) diff --git a/driver

[PATCH 00/31] Introduce devm_pm_opp_* API

2021-01-01 Thread Yangtao Li
Hi, This patchset add devm_pm_opp_set_clkname, devm_pm_opp_put_clkname, devm_pm_opp_set_regulators, devm_pm_opp_put_regulators, devm_pm_opp_set_supported_hw, devm_pm_opp_of_add_table and devm_pm_opp_register_notifier. Yangtao Li (31): opp: Add devres wrapper for dev_pm_opp_set_clkname and d

[GIT PULL] Power management updates for v5.11-rc2

2021-01-01 Thread Rafael J. Wysocki
Hi Linus, Please pull from the tag git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pm-5.11-rc2 with top-most commit 0856ef671f314e27d42998470d07c6b428d23e64 Merge branches 'pm-cpufreq', 'pm-cpuidle' and 'powercap' on top of commit 5c8fe583cce542aa0b84adc939ce85293de36e5e

Re: Generate the config file for kernel compilation non-interactively in script.

2021-01-01 Thread Randy Dunlap
Hi, On 1/1/21 1:55 AM, Hongyi Zhao wrote: > On Fri, Jan 1, 2021 at 2:32 PM Randy Dunlap wrote: >> >> On 12/31/20 8:51 PM, Hongyi Zhao wrote: >>> Hi, >>> >>> I want to build the realtime Linux for ROS 2 according to the >>> guidelines here: >>>

Re: Linux 5.11-rc1

2021-01-01 Thread Pavel Machek
Hi! > > > > > $ dpkg -L kmod | grep bin | grep depmod > > > /sbin/depmod > > > > > > $ which depmod > > > [ empty ] > > > > > > $ echo $PATH > > > /opt/proxychains-ng/bin:/home/dileks/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games > > Ok, I think this is a broken setup that has a sep

RE: [PATCH v2 1/2] dt-bindings: timer: Add bindings for Intel Keem Bay SoC timer

2021-01-01 Thread Ayyathurai, Vijayakannan
Hi Rob, > From: Rob Herring > > From: Vijayakannan Ayyathurai > > > > Add Device Tree bindings for the Timer IP, which used as clocksource and > > clockevent device in the Intel Keem Bay SoC. > > > > Acked-by: Mark Gross > > Acked-by: Andy Shevchenko > > Signed-off-by: Vijayakannan Ayyathurai

Re: [PATCH] platform/x86: ideapad-laptop: Add has_touchpad_switch

2021-01-01 Thread Jiaxun Yang
On Fri, Jan 1, 2021, at 10:20 PM, Barnabás Pőcze wrote: > Hi > > > 2021. január 1., péntek 7:11 keltezéssel, Jiaxun Yang írta: > > > Newer ideapads (e.g.: Yoga 14s, 720S 14) comes with I2C HID > > Touchpad and do not use EC to switch touchpad. Reading VPCCMD_R_TOUCHPAD > > will return zero th

Re: [PATCH 0/4] sched/idle: Fix missing need_resched() checks after rcu_idle_enter()

2021-01-01 Thread Paul E. McKenney
On Tue, Dec 22, 2020 at 05:19:51PM +0100, Rafael J. Wysocki wrote: > On 12/22/2020 2:37 AM, Frederic Weisbecker wrote: > > With Paul, we've been thinking that the idle loop wasn't twisted enough > > yet to deserve 2020. > > > > rcutorture, after some recent parameter changes, has been complaining

Re: [PATCH v2 1/2] scsi: ufs: Fix a possible NULL pointer issue

2021-01-01 Thread Bart Van Assche
On 12/31/20 9:44 PM, Can Guo wrote: > During system resume/suspend, hba could be NULL. In this case, do not touch > eh_sem. > > Fixes: 88a92d6ae4fe ("scsi: ufs: Serialize eh_work with system PM events and > async scan") > > Signed-off-by: Can Guo > --- > drivers/scsi/ufs/ufshcd.c | 9 +

[PATCH RESEND] media: dvbdev: Switch to new kerneldoc syntax for named variable macro argument

2021-01-01 Thread Jonathan Neuschäfer
The syntax without dots is available since commit 43756e347f21 ("scripts/kernel-doc: Add support for named variable macro arguments"). The same HTML output is produced with and without this patch. Signed-off-by: Jonathan Neuschäfer --- include/media/dvbdev.h | 2 +- 1 file changed, 1 insertion(

Sie haben eine Spende von € 5.800.000,00.

2021-01-01 Thread Mrs. Mavis
Sie haben eine Spende von € 5.800.000,00. von Mavis Wanczyk antworten Sie mit diesem Code [MW530342019], um die Spende zu erhalten Vous avez un don de 5 800 000,00 €. de Mavis Wanczyk répondez avec ce code [MW530342019] pour recevoir le don

Re: [PATCH] riscv: add BUILTIN_DTB support for MMU-enabled targets

2021-01-01 Thread Anup Patel
On Thu, Dec 31, 2020 at 3:23 PM Vitaly Wool wrote: > > On Tue, Dec 29, 2020 at 6:05 AM Anup Patel wrote: > > > > On Mon, Dec 28, 2020 at 10:08 PM Vitaly Wool > > wrote: > > > > > > On Mon, Dec 28, 2020 at 3:10 PM Anup Patel wrote: > > > > > > > > On Mon, Dec 28, 2020 at 7:05 PM Vitaly Wool >

Re: [sh] smp-shx3.c: error: ignoring return value of 'request_irq', declared with attribute warn_unused_result

2021-01-01 Thread John Paul Adrian Glaubitz
Hello Naresh! On 12/9/20 6:26 PM, Naresh Kamboju wrote: > Linux next 20201209 tag the arch 'sh' defconfig build failed to build with > gcc-8, gcc-9 and gcc-10. > > arch/sh/kernel/cpu/sh4a/smp-shx3.c: In function 'shx3_prepare_cpus': > arch/sh/kernel/cpu/sh4a/smp-shx3.c:76:3: error: ignoring retur

Re: 5.11-rc1 TTM list corruption

2021-01-01 Thread Christian König
Hi Borislav, my best guess is that this is an use after free. Going to double check the code, but can you reproduce this issue reliable? Thanks, Christian. Am 31.12.20 um 11:40 schrieb Borislav Petkov: Hi folks, got this when trying to suspend my workstation to disk, it was still responsive

Re: [PATCH RFC 10/39] KVM: x86/xen: support upcall vector

2021-01-01 Thread David Woodhouse
On Wed, 2020-12-02 at 18:34 +, Joao Martins wrote: > > But if the kernel is going to short-circuit the IPIs and VIRQs, then > > it's already going to have to handle the evtchn_pending/evtchn_mask > > bitmaps, and actually injecting interrupts. > > > > Right. I was trying to point that out in

Re: [patch 02/19] sh: Get rid of nmi_count()

2021-01-01 Thread John Paul Adrian Glaubitz
Hello Thomas! On 11/13/20 3:02 PM, Thomas Gleixner wrote: > nmi_count() is a historical leftover and SH is the only user. Replace it > with regular per cpu accessors. > > Signed-off-by: Thomas Gleixner > Cc: Yoshinori Sato > Cc: Rich Felker > Cc: linux...@vger.kernel.org > --- > arch/sh/kerne

  1   2   >