[PATCH] staging: rtl8192e: Fixes a coding style error

2024-05-17 Thread Mohamed Karaoui
Adds a space before if statement's condition Signed-off-by: Mohamed Karaoui --- drivers/staging/rtl8192e/rtllib_crypt_ccmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192e/rtllib_crypt_ccmp.c b/drivers/staging/rtl8192e/rtllib_crypt_ccmp.c index

RE: [PATCH AUTOSEL 6.1 3/7] x86/hyperv: Use slow_virt_to_phys() in page transition hypervisor callback

2024-03-12 Thread Michael Kelley
rect, > > This seems to be preparation for something we don't plan to do in > -stable. Please drop. > As the author of the patch, I agree. Michael ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH AUTOSEL 6.1 3/7] x86/hyperv: Use slow_virt_to_phys() in page transition hypervisor callback

2024-03-12 Thread Pavel Machek
Hi! > In preparation for temporarily marking pages not present during a > transition between encrypted and decrypted, use slow_virt_to_phys() > in the hypervisor callback. As long as the PFN is correct, This seems to be preparation for something we don't plan to do in -stable. Please drop. Best

[PATCH AUTOSEL 6.1 3/7] x86/hyperv: Use slow_virt_to_phys() in page transition hypervisor callback

2024-03-11 Thread Sasha Levin
From: Michael Kelley [ Upstream commit 9fef276f9f416a1e85eb48d3bd38e6018a220bf5 ] In preparation for temporarily marking pages not present during a transition between encrypted and decrypted, use slow_virt_to_phys() in the hypervisor callback. As long as the PFN is correct, slow_virt_to_phys()

[PATCH AUTOSEL 6.6 04/12] x86/hyperv: Allow 15-bit APIC IDs for VTL platforms

2024-03-11 Thread Sasha Levin
From: Saurabh Sengar [ Upstream commit 0d63e4c0ebc2b5c329babde44fd61d3f08db814d ] The current method for signaling the compatibility of a Hyper-V host with MSIs featuring 15-bit APIC IDs relies on a synthetic cpuid leaf. However, for higher VTLs, this leaf is not reported, due to the absence of

[PATCH AUTOSEL 6.6 03/12] x86/hyperv: Use slow_virt_to_phys() in page transition hypervisor callback

2024-03-11 Thread Sasha Levin
From: Michael Kelley [ Upstream commit 9fef276f9f416a1e85eb48d3bd38e6018a220bf5 ] In preparation for temporarily marking pages not present during a transition between encrypted and decrypted, use slow_virt_to_phys() in the hypervisor callback. As long as the PFN is correct, slow_virt_to_phys()

[PATCH AUTOSEL 6.7 04/14] x86/hyperv: Allow 15-bit APIC IDs for VTL platforms

2024-03-11 Thread Sasha Levin
From: Saurabh Sengar [ Upstream commit 0d63e4c0ebc2b5c329babde44fd61d3f08db814d ] The current method for signaling the compatibility of a Hyper-V host with MSIs featuring 15-bit APIC IDs relies on a synthetic cpuid leaf. However, for higher VTLs, this leaf is not reported, due to the absence of

[PATCH AUTOSEL 6.7 03/14] x86/hyperv: Use slow_virt_to_phys() in page transition hypervisor callback

2024-03-11 Thread Sasha Levin
From: Michael Kelley [ Upstream commit 9fef276f9f416a1e85eb48d3bd38e6018a220bf5 ] In preparation for temporarily marking pages not present during a transition between encrypted and decrypted, use slow_virt_to_phys() in the hypervisor callback. As long as the PFN is correct, slow_virt_to_phys()

Re: [PATCH] Staging: pi433: Updated bitrate range from datasheet

2024-03-03 Thread Greg KH
On Mon, Mar 04, 2024 at 02:28:02AM +0530, Aman Sharma wrote: > From a0528708b209739f0d566401bdd428e215abf366 Mon Sep 17 00:00:00 2001 > From: Aman Sharma > Date: Mon, 4 Mar 2024 00:44:06 +0530 > Subject: [PATCH] Staging: pi433: Updated bitrate range from datasheet Why is t

[PATCH] Staging: pi433: Updated bitrate range from datasheet

2024-03-03 Thread Aman Sharma
From a0528708b209739f0d566401bdd428e215abf366 Mon Sep 17 00:00:00 2001 From: Aman Sharma Date: Mon, 4 Mar 2024 00:44:06 +0530 Subject: [PATCH] Staging: pi433: Updated bitrate range from datasheet Updated bitrate range for FSK and OOK modulation from datasheet. Signed-off-by: Aman Sharma

Re: [PATCH v4] Bluetooth: Fix for ACL disconnect when pairing fails

2023-08-17 Thread Muhammad Usama Anjum
p_chan_del conn is dropped. After that loop > hci_chan_del is called which also drops conn. > > Anyway, as it is desrcibed in hci_core.h, it is known that refcnt > drops below 0 sometimes and it should be fine. If so, let disconnect > link when hci_conn_timeout fires and refcnt is

Re: [PATCH] staging: media: usbvision: Remove comparision to NULL

2023-05-23 Thread Hans Verkuil
| 2 +- > 2 files changed, 5 insertions(+), 5 deletions(-) The usbvision driver has been removed almost 2 years ago, so this patch is for a really old kernel. Rather odd, but in any case, I'm rejecting this patch for obvious reasons... Regards, Hans > > diff --git a/driv

Re: [PATCH v4] Add new uio device for PCI with dynamic memory allocation

2023-05-17 Thread Hongren Zheng
On Wed, Apr 29, 2020 at 01:53:02PM +, Stahl, Manuel wrote: > On Mi, 2020-04-29 at 11:41 +0200, gre...@linuxfoundation.org wrote: > > On Wed, Apr 29, 2020 at 07:51:01AM +, Stahl, Manuel wrote: > > > On Di, 2020-04-28 at 15:54 +0200, gregkh @ linuxfoundation . org wrote: > > > > On Thu, Apr

[PATCH] staging: media: usbvision: Remove comparision to NULL

2023-05-01 Thread Anup Sharma
Remove comparison to null in file usbvision-core.c and usbvision-i2c.c. Signed-off-by: Anup Sharma --- drivers/staging/media/usbvision/usbvision-core.c | 8 drivers/staging/media/usbvision/usbvision-i2c.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git

Re: [PATCH] staging: ks7010: remove unnecesary parentheses

2023-03-30 Thread Greg KH
ruct link_ap_info *ap_info) > > > size = (ap_info->rsn.size <= RSN_IE_BODY_MAX) ? > > > ap_info->rsn.size : RSN_IE_BODY_MAX; > > > if ((ap_info->rsn_mode & RSN_MODE_WPA2) && > > > - (priv->wpa.version == IW_AUTH_WPA_VERSION_WPA2))

Re: [PATCH] staging: ks7010: remove unnecesary parentheses

2023-03-30 Thread Joel C. Chang
sn.size : RSN_IE_BODY_MAX; > > if ((ap_info->rsn_mode & RSN_MODE_WPA2) && > > - (priv->wpa.version == IW_AUTH_WPA_VERSION_WPA2)) { > > + priv->wpa.version == IW_AUTH_WPA_VERSION_WPA2) { > > If you look in the archives, you will see that I reject this t

Re: [PATCH] staging: ks7010: remove unnecessary parentheses

2023-03-30 Thread Greg KH
On Thu, Mar 30, 2023 at 08:48:28PM +0800, Joel Camilo Chang Gonzalez wrote: > Remove redundant parentheses > > Signed-off-by: Joel Camilo Chang Gonzalez > --- > drivers/staging/ks7010/ks_wlan_net.c | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git

Re: [PATCH] staging: ks7010: remove unnecesary parentheses

2023-03-30 Thread Greg KH
PA2)) { > + priv->wpa.version == IW_AUTH_WPA_VERSION_WPA2) { If you look in the archives, you will see that I reject this type of patch all the time. Also, please use scripts/get_maintainer.pl to determine who to send this to, you used a very old mailing list address that is long dead.

[PATCH] staging: ks7010: remove unnecessary parentheses

2023-03-30 Thread Joel Camilo Chang Gonzalez
Remove redundant parentheses Signed-off-by: Joel Camilo Chang Gonzalez --- drivers/staging/ks7010/ks_wlan_net.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/ks7010/ks_wlan_net.c b/drivers/staging/ks7010/ks_wlan_net.c index

[PATCH] staging: ks7010: remove unnecesary parentheses

2023-03-30 Thread Joel Camilo Chang Gonzalez
Remove parentheses not needed in if statement Signed-off-by: Joel Camilo Chang Gonzalez --- drivers/staging/ks7010/ks_hostif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c index

Re: [PATCH v6] staging: sm750: Rename sm750_hw_cursor_* functions to snake_case

2023-03-29 Thread Fabio M. De Francesco
gt; https://lore.kernel.org/oe-kbuild-all/202303110849.x24wnhnm-...@intel.com/ Delete the last two lines. As Greg made you notice, it was not the Kernel Test Robot that had reported you an issue for which you decided to make a patch to fix it. The reason you made this patch is because you kn

Re: [PATCH v6] staging: sm750: Rename sm750_hw_cursor_* functions to snake_case

2023-03-29 Thread Kloudifold
On Wed, 29 Mar 2023 at 19:42, Greg Kroah-Hartman wrote: > > On Wed, Mar 29, 2023 at 07:27:04PM +0800, Kloudifold wrote: > > sm750 driver has sm750_hw_cursor_* functions, which are named in > > camelcase. Rename them to snake case to follow the function naming > > convention. > > > > -

Re: [PATCH v6] staging: sm750: Rename sm750_hw_cursor_* functions to snake_case

2023-03-29 Thread Greg Kroah-Hartman
On Wed, Mar 29, 2023 at 07:27:04PM +0800, Kloudifold wrote: > sm750 driver has sm750_hw_cursor_* functions, which are named in > camelcase. Rename them to snake case to follow the function naming > convention. > > - sm750_hw_cursor_setSize => sm750_hw_cursor_set_size > - sm750_hw_cursor_setPos

[PATCH v6] staging: sm750: Rename sm750_hw_cursor_* functions to snake_case

2023-03-29 Thread Kloudifold
Include missed recipients in v5, no functional change to the code Changes in v5: - Include missed recipients in v4, no functional change to the code Changes in v4: - Update the commit msg (Deepak) - Use tabs replace 8 spaces This v4 patch was prompted by 2 errors, 2 warnings and 1

Re: [PATCH] staging: android: ashmem.c: Declared file operation with const keyword

2023-03-09 Thread Greg Kroah-Hartman
On Mon, Mar 06, 2023 at 12:30:57AM +0530, Santosh Mahto wrote: > Warning found by checkpatch.pl script. > > Signed-off-by: Santosh Mahto > --- > drivers/staging/android/ashmem.c | 2 +- What kernel did you make this against? This is not in my tree anymore. thanks, greg k-h

[PATCH] staging: android: ashmem.c: Declared file operation with const keyword

2023-03-05 Thread Santosh Mahto
Warning found by checkpatch.pl script. Signed-off-by: Santosh Mahto --- drivers/staging/android/ashmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/android/ashmem.c b/drivers/staging/android/ashmem.c index c05a214191da..f9cfa15b785f 100644 ---

Re: [PATCH v3 1/1] binder: return pending info for frozen async txns

2022-11-23 Thread Carlos Llamas
On Wed, Nov 23, 2022 at 12:16:54PM -0800, Li Li wrote: > From: Li Li > > An async transaction to a frozen process will still be successfully > put in the queue. But this pending async transaction won't be processed > until the target process is unfrozen at an unspecified time in the > future.

Re: [PATCH v2 1/1] binder: return pending info for frozen async txns

2022-11-23 Thread Li Li
On Wed, Nov 23, 2022 at 10:58 AM Carlos Llamas wrote: > > This looks good. Could you rename the new op to signify the frozen > scenario though? We might have some other instances of pending > transactions in the future so might as well be specific here. Done [1]. v3: rename

[PATCH v3 1/1] binder: return pending info for frozen async txns

2022-11-23 Thread Li Li
From: Li Li An async transaction to a frozen process will still be successfully put in the queue. But this pending async transaction won't be processed until the target process is unfrozen at an unspecified time in the future. Pass this important information back to the user space caller by

[PATCH v3 0/1] binder: return pending info for frozen async txns

2022-11-23 Thread Li Li
process is frozen. But for async binder calls, the user space application doesn't have a way to know if the target process is frozen. This patch adds a new return value, BR_TRANSACTION_PENDING_FROZEN, to fix this issue. Similar to BR_TRANSACTION_COMPLETE, it means the async binder transaction has been

Re: [PATCH v2 1/1] binder: return pending info for frozen async txns

2022-11-23 Thread Carlos Llamas
On Thu, Nov 10, 2022 at 12:34:05PM -0800, Li Li wrote: > From: Li Li > > An async transaction to a frozen process will still be successfully > put in the queue. But this pending async transaction won't be processed > until the target process is unfrozen at an unspecified time in the > future.

[PATCH] staging: rts5208: Added value check

2022-11-18 Thread Denis Arefev
Added value check. Return value of a function 'ms_set_rw_reg_addr' called at ms.c:1770 is not checked, but it is usually checked for this function Found by Linux Verification Center (linuxtesting.org) with SVACE. Signed-off-by: Denis Arefev --- drivers/staging/rts5208/ms.c | 2 ++ 1 file

[PATCH v2 1/1] binder: return pending info for frozen async txns

2022-11-10 Thread Li Li
From: Li Li An async transaction to a frozen process will still be successfully put in the queue. But this pending async transaction won't be processed until the target process is unfrozen at an unspecified time in the future. Pass this important information back to the user space caller by

[PATCH v2 0/1] binder: return pending info for frozen async txns

2022-11-10 Thread Li Li
process is frozen. But for async binder calls, the user space application doesn't have a way to know if the target process is frozen. This patch adds a new return value, BR_TRANSACTION_PENDING, to fix this issue. Similar to BR_TRANSACTION_COMPLETE, it means the async binder transaction has been put

Re: [PATCH v1 1/1] binder: return pending info for frozen async txns

2022-11-10 Thread Li Li
On Wed, Nov 9, 2022 at 2:43 PM Carlos Llamas wrote: > > On Thu, Nov 03, 2022 at 12:05:49PM -0700, Li Li wrote: > > From: Li Li > > > > An async transaction to a frozen process will still be successsfully > > nit: sucessfully typo Nice catch! Will remove the extra 's' in v2. > > > put in the

Re: [PATCH v1 1/1] binder: return pending info for frozen async txns

2022-11-09 Thread Carlos Llamas
On Thu, Nov 03, 2022 at 12:05:49PM -0700, Li Li wrote: > From: Li Li > > An async transaction to a frozen process will still be successsfully nit: sucessfully typo > put in the queue. But this pending async transaction won't be processed > until the target process is unfrozen at an unspecified

[PATCH v1 1/1] binder: return pending info for frozen async txns

2022-11-03 Thread Li Li
From: Li Li An async transaction to a frozen process will still be successsfully put in the queue. But this pending async transaction won't be processed until the target process is unfrozen at an unspecified time in the future. Pass this important information back to the user space caller by

[PATCH v1 0/1] binder: return pending info for frozen async txns

2022-11-03 Thread Li Li
process is frozen. But for async binder calls, the user space application doesn't have a way to know if the target process is frozen. This patch add a new return value, BR_TRANSACTION_PENDING, to fix this issue. Similar to BR_TRANSACTION_COMPLETE, it means the async binder transaction has been put

[PATCH v8 1/4] drm/loongson: Add DRM Driver for Loongson 7A1000 bridge chip

2022-10-31 Thread lichenyang
From: Chenyang Li This patch adds an initial DRM driver for the Loongson LS7A1000 bridge chip(LS7A). The Loongson 7A1000 bridge chip is Loongson’s first dedicated chipset product, providing north-south bridge functionality for Loongson processors. The bridge chip is connected to the Loongson

[PATCH v8 3/4] drm/loongson: Add interrupt driver for LS7A.

2022-10-31 Thread lichenyang
Add LS7A DC vsync interrupt enable and close function, and register irq_handler function interface. Add vbrank event processing flow. v4: - Replace drm_irq_install with devm_request_irq. - Delete the irq_ hooks in drm_driver. v3: - Improve code readability. - Use the to_pci_dev function to get

[PATCH v8 4/4] drm/loongson: Use acpi to get video bios.

2022-10-31 Thread lichenyang
Add get video bios from the ACPI table. Define new acpi table "VIAT" for loongson video bios. Signed-off-by: Chenyang Li --- drivers/gpu/drm/loongson/Makefile | 3 +- drivers/gpu/drm/loongson/loongson_drv.c | 21 +++- drivers/gpu/drm/loongson/loongson_drv.h | 1 +

[PATCH v8 2/4] drm/loongson: Add GPIO and I2C driver for loongson drm.

2022-10-31 Thread lichenyang
Implement use GPIO and I2C driver to detect connector and fetch EDID via DDC. v5: - Use braidge->ddc to get EDID and detect connector. v4: - Delete the gpio_chip subsystem call. - Delete some redundant prints. v3: - Change some driver log to the drm_ version. v2: - Optimize the error handling

Re: Missing patch for Partial crash when loading driver rtl8192e

2022-10-11 Thread Greg KH
On Tue, Oct 11, 2022 at 09:43:46PM +0200, Philipp Hortmann wrote: > Hi, > > yesterday I did a git pull. > > when I tried to load the driver rtl8192e I had the below partial crash. > > I was able to fix it with this patch: > > https://lore.kernel.org/netdev/

Missing patch for Partial crash when loading driver rtl8192e

2022-10-11 Thread Philipp Hortmann
Hi, yesterday I did a git pull. when I tried to load the driver rtl8192e I had the below partial crash. I was able to fix it with this patch: https://lore.kernel.org/netdev/20220926233458.5316-1-yin31...@gmail.com/ Thanks for your support. Bye Philipp This has worked before. But now I get

Re: [PATCH] Staging: Android: ashmem.c: Fixed missing const modifier

2022-09-15 Thread Greg KH
On Thu, Sep 15, 2022 at 08:58:27PM +1200, Jonathan Bergh wrote: > Fixed missing const modifier line 370 > > Signed-off-by: Jonathan Bergh > --- > drivers/staging/android/ashmem.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/android/ashmem.c >

[PATCH] Staging: Android: ashmem.c: Fixed missing const modifier

2022-09-15 Thread Jonathan Bergh
Fixed missing const modifier line 370 Signed-off-by: Jonathan Bergh --- drivers/staging/android/ashmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/android/ashmem.c b/drivers/staging/android/ashmem.c index c05a214191da..a04488efd5f2 100644 ---

[PATCH v7 3/4] drm/loongson: Add interrupt driver for LS7A.

2022-09-06 Thread 李晨阳
Add LS7A DC vsync interrupt enable and close function, and register irq_handler function interface. Add vbrank event processing flow. v4: - Replace drm_irq_install with devm_request_irq. - Delete the irq_ hooks in drm_driver. v3: - Improve code readability. - Use the to_pci_dev function to get

[PATCH v7 1/4] drm/loongson: Add DRM Driver for Loongson 7A1000 bridge chip

2022-09-06 Thread 李晨阳
This patch adds an initial DRM driver for the Loongson LS7A1000 bridge chip(LS7A). The Loongson 7A1000 bridge chip is Loongson’s first dedicated chipset product, providing north-south bridge functionality for Loongson processors. The bridge chip is connected to the Loongson Series 3 processor via

[PATCH v7 4/4] drm/loongson: Use acpi to get video bios.

2022-09-06 Thread 李晨阳
Add get video bios from the ACPI table. Define new acpi table "VIAT" for loongson video bios. Signed-off-by: Chenyang Li --- drivers/gpu/drm/loongson/Makefile | 3 +- drivers/gpu/drm/loongson/loongson_drv.c | 21 +++- drivers/gpu/drm/loongson/loongson_drv.h | 1 +

[PATCH v7 2/4] drm/loongson: Add GPIO and I2C driver for loongson drm.

2022-09-06 Thread 李晨阳
Implement use GPIO and I2C driver to detect connector and fetch EDID via DDC. v5: - Use braidge->ddc to get EDID and detect connector. v4: - Delete the gpio_chip subsystem call. - Delete some redundant prints. v3: - Change some driver log to the drm_ version. v2: - Optimize the error handling

Re: [PATCH] usb: Improves USB2.0 write performance

2022-08-30 Thread Alan Stern
; > Signed-off-by: Hu Xiaoying This email address "@gmail.com" is different from the address you used when you submitted the patch "@kylinos.cn". The two addresses must be the same. > --- You should put here (just after the "---" line) a descripti

[PATCH] usb: Improves USB2.0 write performance

2022-08-30 Thread Hu Xiaoying
USB external storage device(0x0b05:1932), use gnome-disk-utility tools to test usb write < 30MB/s. if does not to load module of uas for this device , can increase the write speed from 20MB/s to more than 40MB/s. Signed-off-by: Hu Xiaoying --- drivers/usb/storage/unusual_uas.h | 7 +++ 1

Re: [PATCH v7 3/4] drm/loongson: Add interrupt driver for LS7A.

2022-07-11 Thread kernel test robot
Hi Chenyang, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on linus/master v5.19-rc6 next-20220708] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest

Re: [PATCH 2/3] wfx: add antenna configuration files

2022-07-08 Thread Jérôme Pouiller
On Thursday 7 July 2022 19:40:27 CEST Josh Boyer wrote: > On Thu, Jul 7, 2022 at 1:04 PM Ben Brown wrote: > > On 21/02/2022 16:37, Jerome Pouiller wrote: > > > From: Jérôme Pouiller > > > > > diff --git a/WHENCE b/WHENCE > > > index 0a6cb15..96f67f7 100644 > > > --- a/WHENCE > > > +++ b/WHENCE

Re: [PATCH 2/3] wfx: add antenna configuration files

2022-07-07 Thread Josh Boyer
On Thu, Jul 7, 2022 at 1:04 PM Ben Brown wrote: > > On 21/02/2022 16:37, Jerome Pouiller wrote: > > From: Jérôme Pouiller > > > diff --git a/WHENCE b/WHENCE > > index 0a6cb15..96f67f7 100644 > > --- a/WHENCE > > +++ b/WHENCE > > @@ -5845,8 +5845,18 @@ Driver: wfx - Silicon Labs Wi-Fi

Re: [PATCH 2/3] wfx: add antenna configuration files

2022-07-07 Thread Ben Brown
On 21/02/2022 16:37, Jerome Pouiller wrote: > From: Jérôme Pouiller > diff --git a/WHENCE b/WHENCE > index 0a6cb15..96f67f7 100644 > --- a/WHENCE > +++ b/WHENCE > @@ -5845,8 +5845,18 @@ Driver: wfx - Silicon Labs Wi-Fi Transceiver > File: wfx/wfm_wf200_C0.sec > Version: 3.12.1 > > +File:

Re: [PATCH v7 2/4] drm/loongson: Add GPIO and I2C driver for loongson drm.

2022-06-25 Thread kernel test robot
Hi Chenyang, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on linus/master v5.19-rc3 next-20220624] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest

Re: [PATCH v7 1/4] drm/loongson: Add DRM Driver for Loongson 7A1000 bridge chip

2022-06-25 Thread kernel test robot
Hi Chenyang, Thank you for the patch! Yet something to improve: [auto build test ERROR on drm-misc/drm-misc-next] [also build test ERROR on linus/master v5.19-rc3 next-20220624] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use

[PATCH v7 3/4] drm/loongson: Add interrupt driver for LS7A.

2022-06-25 Thread Chenyang Li
Add LS7A DC vsync interrupt enable and close function, and register irq_handler function interface. Add vbrank event processing flow. v4: - Replace drm_irq_install with devm_request_irq. - Delete the irq_ hooks in drm_driver. v3: - Improve code readability. - Use the to_pci_dev function to get

[PATCH v7 4/4] drm/loongson: Use acpi to get video bios.

2022-06-25 Thread Chenyang Li
Add get video bios from the ACPI table. Define new acpi table "VIAT" for loongson video bios. Signed-off-by: Chenyang Li --- drivers/gpu/drm/loongson/Makefile | 3 +- drivers/gpu/drm/loongson/loongson_drv.c | 21 +++- drivers/gpu/drm/loongson/loongson_drv.h | 1 +

[PATCH v7 1/4] drm/loongson: Add DRM Driver for Loongson 7A1000 bridge chip

2022-06-25 Thread Chenyang Li
This patch adds an initial DRM driver for the Loongson LS7A1000 bridge chip(LS7A). The Loongson 7A1000 bridge chip is Loongson’s first dedicated chipset product, providing north-south bridge functionality for Loongson processors. The bridge chip is connected to the Loongson Series 3 processor via

[PATCH v7 2/4] drm/loongson: Add GPIO and I2C driver for loongson drm.

2022-06-25 Thread Chenyang Li
Implement use GPIO and I2C driver to detect connector and fetch EDID via DDC. v5: - Use braidge->ddc to get EDID and detect connector. v4: - Delete the gpio_chip subsystem call. - Delete some redundant prints. v3: - Change some driver log to the drm_ version. v2: - Optimize the error handling

Re: [RESEND PATCH v3 0/1] Binder: add TF_UPDATE_TXN to replace outdated txn

2022-06-15 Thread Greg KH
On Wed, Jun 15, 2022 at 11:05:23AM -0700, Li Li wrote: > On Thu, May 26, 2022 at 10:50 PM Greg KH wrote: > > > > On Thu, May 26, 2022 at 03:00:17PM -0700, Li Li wrote: > > > From: Li Li > > > > > > Resend [Patch v3] with cover letter in case my previou

Re: [RESEND PATCH v3 0/1] Binder: add TF_UPDATE_TXN to replace outdated txn

2022-06-15 Thread Li Li
On Thu, May 26, 2022 at 10:50 PM Greg KH wrote: > > On Thu, May 26, 2022 at 03:00:17PM -0700, Li Li wrote: > > From: Li Li > > > > Resend [Patch v3] with cover letter in case my previous email failed > > to reach the maillist (no comments for 2 weeks). > >

Re: [PATCH] Staging: comedi: comedi_fops: fixed a spacing coding style issue

2022-06-09 Thread Ian Abbott
On 09/06/2022 05:53, Agam Kohli wrote: Fixed a coding style issue. Signed-off-by: Agam Kohli --- drivers/staging/comedi/comedi_fops.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/staging/comedi/comedi_fops.c b/drivers/staging/comedi/comedi_fops.c index

[PATCH] Staging: comedi: comedi_fops: fixed a spacing coding style issue

2022-06-08 Thread Agam Kohli
Fixed a coding style issue. Signed-off-by: Agam Kohli --- drivers/staging/comedi/comedi_fops.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/staging/comedi/comedi_fops.c b/drivers/staging/comedi/comedi_fops.c index e85a99b68f31..3f70e5dfac39 100644 ---

[RESEND PATCH v3 1/1] Binder: add TF_UPDATE_TXN to replace outdated txn

2022-05-26 Thread Li Li
to skip those outdated transactions and deliver the latest one only. This patch introduces a new transaction flag TF_UPDATE_TXN. To use it, use apps can set this new flag along with TF_ONE_WAY. When such an oneway transaction is to be queued into the async_todo list of a frozen process, binder driver

[RESEND PATCH v3 0/1] Binder: add TF_UPDATE_TXN to replace outdated txn

2022-05-26 Thread Li Li
From: Li Li Resend [Patch v3] with cover letter in case my previous email failed to reach the maillist (no comments for 2 weeks). The previous comments of the old patch can be found at the following link: https://lore.kernel.org/lkml/canbpypjknwso94nug1tkr1dgk2w2kbxijtriyvb7s3czhtz

[PATCH v3] Binder: add TF_UPDATE_TXN to replace outdated txn

2022-05-19 Thread Li Li
to skip those outdated transactions and deliver the latest one only. This patch introduces a new transaction flag TF_UPDATE_TXN. To use it, use apps can set this new flag along with TF_ONE_WAY. When such an oneway transaction is to be queued into the async_todo list of a frozen process, binder driver

Re: [PATCH v2] Binder: add TF_UPDATE_TXN to replace outdated txn

2022-05-19 Thread Greg KH
ransactions are still accumulated there until the > frozen process is thawed later. For this kind of situations, there's > no existing method to skip those outdated transactions and deliver the > latest one only. > > This patch introduces a new transaction flag TF_UPDATE_TXN. To use it,

[PATCH v2] Binder: add TF_UPDATE_TXN to replace outdated txn

2022-05-19 Thread Li Li
to skip those outdated transactions and deliver the latest one only. This patch introduces a new transaction flag TF_UPDATE_TXN. To use it, use apps can set this new flag along with TF_ONE_WAY. When such an oneway transaction is to be queued into the async_todo list of a frozen process, binder driver

Re: [PATCH v1] Binder: add TF_UPDATE_TXN

2022-05-19 Thread Li Li
care about the lastet information, > > all outdated oneway transactions are still accumulated there until the > > frozen process is thawed later. For this kind of situations, there's > > no existing method to skip those outdated transactions and deliver the > > latest

Re: [PATCH v1] Binder: add TF_UPDATE_TXN

2022-05-19 Thread Greg KH
re's > no existing method to skip those outdated transactions and deliver the > latest one only. > > This patch introduces a new transaction flag TF_UPDATE_TXN. To use it, > use apps can set this new flag along with TF_ONE_WAY. When such an > oneway transaction is to be queued into t

[PATCH v1] Binder: add TF_UPDATE_TXN

2022-05-18 Thread Li Li
to skip those outdated transactions and deliver the latest one only. This patch introduces a new transaction flag TF_UPDATE_TXN. To use it, use apps can set this new flag along with TF_ONE_WAY. When such an oneway transaction is to be queued into the async_todo list of a frozen process, binder driver

Re: [PATCH RFT/RFC v2 01/47] staging: media: Revert "media: zoran: remove deprecated driver"

2022-05-07 Thread Laurent Pinchart
On Sat, May 07, 2022 at 10:58:39AM -0500, Sergey Meirovich wrote: > Sergey Meirovich has sent you an email via Gmail confidential mode: > > Gmail logoRe: [PATCH RFT/RFC v2 01/47] staging: media: Revert "media: zoran: > remove deprecated driver" > > This message was se

Re: [PATCH v7 1/4] drm/loongson: Add DRM Driver for Loongson 7A1000 bridge chip

2022-04-22 Thread kernel test robot
Hi Chenyang, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on drm/drm-next] [also build test WARNING on v5.18-rc3 next-20220422] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base

Re: [PATCH v7 2/4] drm/loongson: Add GPIO and I2C driver for loongson drm.

2022-04-22 Thread kernel test robot
Hi Chenyang, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on drm/drm-next] [also build test WARNING on v5.18-rc3 next-20220422] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base

[PATCH v7 4/4] drm/loongson: Use acpi to get video bios.

2022-04-22 Thread Chenyang Li
Add get video bios from the ACPI table. Define new acpi table "VIAT" for loongson video bios. Signed-off-by: Chenyang Li --- drivers/gpu/drm/loongson/Makefile | 3 +- drivers/gpu/drm/loongson/loongson_drv.c | 21 +++- drivers/gpu/drm/loongson/loongson_drv.h | 1 +

[PATCH v7 3/4] drm/loongson: Add interrupt driver for LS7A.

2022-04-22 Thread Chenyang Li
Add LS7A DC vsync interrupt enable and close function, and register irq_handler function interface. Add vbrank event processing flow. v4: - Replace drm_irq_install with devm_request_irq. - Delete the irq_ hooks in drm_driver. v3: - Improve code readability. - Use the to_pci_dev function to get

[PATCH v7 2/4] drm/loongson: Add GPIO and I2C driver for loongson drm.

2022-04-22 Thread Chenyang Li
Implement use GPIO and I2C driver to detect connector and fetch EDID via DDC. v5: - Use braidge->ddc to get EDID and detect connector. v4: - Delete the gpio_chip subsystem call. - Delete some redundant prints. v3: - Change some driver log to the drm_ version. v2: - Optimize the error handling

[PATCH v7 1/4] drm/loongson: Add DRM Driver for Loongson 7A1000 bridge chip

2022-04-22 Thread Chenyang Li
This patch adds an initial DRM driver for the Loongson LS7A1000 bridge chip(LS7A). The Loongson 7A1000 bridge chip is Loongson’s first dedicated chipset product, providing north-south bridge functionality for Loongson processors. The bridge chip is connected to the Loongson Series 3 processor via

Re: [PATCH v10 0/1] wfx: get out from the staging area

2022-04-12 Thread Kalle Valo
+ stephen Greg Kroah-Hartman writes: > On Wed, Apr 06, 2022 at 10:06:33AM +0300, Kalle Valo wrote: >> Jakub Kicinski writes: >> >> > On Tue, 05 Apr 2022 10:16:58 +0300 Kalle Valo wrote: >> >> Sure, that would technically work. But I just think it's cleaner to use >> >> -rc1 (or later) as the

Re: [PATCH v10 0/1] wfx: get out from the staging area

2022-04-07 Thread Greg Kroah-Hartman
On Wed, Apr 06, 2022 at 10:06:33AM +0300, Kalle Valo wrote: > Jakub Kicinski writes: > > > On Tue, 05 Apr 2022 10:16:58 +0300 Kalle Valo wrote: > >> Sure, that would technically work. But I just think it's cleaner to use > >> -rc1 (or later) as the baseline for an immutable branch. If the

Re: [PATCH v10 0/1] wfx: get out from the staging area

2022-04-06 Thread Kalle Valo
Jakub Kicinski writes: > On Tue, 05 Apr 2022 10:16:58 +0300 Kalle Valo wrote: >> Sure, that would technically work. But I just think it's cleaner to use >> -rc1 (or later) as the baseline for an immutable branch. If the baseline >> is an arbitrary commit somewhere within merge windows commits,

Re: [PATCH v10 0/1] wfx: get out from the staging area

2022-04-05 Thread Jakub Kicinski
On Tue, 05 Apr 2022 10:16:58 +0300 Kalle Valo wrote: > Sure, that would technically work. But I just think it's cleaner to use > -rc1 (or later) as the baseline for an immutable branch. If the baseline > is an arbitrary commit somewhere within merge windows commits, it's more > work for everyone

Re: [PATCH v10 0/1] wfx: get out from the staging area

2022-04-05 Thread Kalle Valo
Jakub Kicinski writes: > On Mon, 4 Apr 2022 23:22:47 -0700 Jakub Kicinski wrote: >> On Mon, 04 Apr 2022 13:49:18 +0300 Kalle Valo wrote: >> > Dave, once you guys open net-next will it be based on -rc1? >> >> Not normally. We usually let net feed net-next so it'd get -rc1 this >> Thursday. But

Re: [PATCH v10 0/1] wfx: get out from the staging area

2022-04-05 Thread Jakub Kicinski
On Mon, 4 Apr 2022 23:22:47 -0700 Jakub Kicinski wrote: > On Mon, 04 Apr 2022 13:49:18 +0300 Kalle Valo wrote: > > Dave, once you guys open net-next will it be based on -rc1? > > Not normally. We usually let net feed net-next so it'd get -rc1 this > Thursday. But we should be able to

Re: [PATCH v10 0/1] wfx: get out from the staging area

2022-04-05 Thread Jakub Kicinski
On Mon, 04 Apr 2022 13:49:18 +0300 Kalle Valo wrote: > Dave, once you guys open net-next will it be based on -rc1? Not normally. We usually let net feed net-next so it'd get -rc1 this Thursday. But we should be able to fast-forward, let me confirm with Dave. > That would make it easier for me to

Re: [PATCH v10 0/1] wfx: get out from the staging area

2022-04-04 Thread Kalle Valo
Jérôme Pouiller writes: > On Saturday 26 February 2022 14:15:33 CEST Kalle Valo wrote: >> Greg Kroah-Hartman writes: >> >> > That sounds great to me, let's plan on that happening after 5.18-rc1 is >> > out. >> >> Very good, we have a plan then. I

Re: [PATCH v10 0/1] wfx: get out from the staging area

2022-04-04 Thread Jérôme Pouiller
g tree, that way we would minimise the chance of conflicts > >> between trees. > >> > >> Greg, what do you think? Would this work for you? IIRC we did the same > >> with wilc1000 back in 2020 and I recall it went without hiccups. > > > > That sounds gr

Re: Re: [PATCH v1] pinctrl: ralink: rt2880: Check for return value of devm_kcalloc()

2022-04-01 Thread Andy Shevchenko
On Fri, Apr 1, 2022 at 6:06 AM unSimple wrote: > > The main consideration of the 'continue' in the patch is that those > statements are inner a loop. > > The next allocation may be successful so I think it is better to use > 'continue' here. Please, do not top-post!

[PATCH AUTOSEL 5.10 36/37] media: atomisp: fix bad usage at error handling logic

2022-03-30 Thread Sasha Levin
From: Mauro Carvalho Chehab [ Upstream commit fc0b582c858ed73f94c8f3375c203ea46f1f7402 ] As warned by sparse: atomisp: drivers/staging/media/atomisp/pci/atomisp_acc.c:508 atomisp_acc_load_extensions() warn: iterator used outside loop: 'acc_fw' The acc_fw interactor is used outside the

[PATCH AUTOSEL 5.10 14/37] media: atomisp: fix dummy_ptr check to avoid duplicate active_bo

2022-03-30 Thread Sasha Levin
From: Tsuchiya Yuto [ Upstream commit 127efdbc51fe6064336c0452ce9c910b3e107cf0 ] The dummy_ptr check in hmm_init() [1] results in the following "hmm_init Failed to create sysfs" error exactly once every two times on atomisp reload by rmmod/insmod (although atomisp module loads and works fine

[PATCH AUTOSEL 5.10 13/37] media: atomisp_gmin_platform: Add DMI quirk to not turn AXP ELDO2 regulator off on some boards

2022-03-30 Thread Sasha Levin
From: Hans de Goede [ Upstream commit 2c39a01154ea57d596470afa1d278e3be3b37f6a ] The TrekStor SurfTab duo W1 10.1 has a hw bug where turning eldo2 back on after having turned it off causes the CPLM3218 ambient-light-sensor on the front camera sensor's I2C bus to crash, hanging the bus. Add a

[PATCH AUTOSEL 5.10 03/37] media: staging: media: zoran: fix various V4L2 compliance errors

2022-03-30 Thread Sasha Levin
From: Hans Verkuil [ Upstream commit 914941827aad5ecddf9bf3a6dee67fbec1af1fff ] This fixes several issues found with 'v4l2-compliance -s': 1) read()/write() is supported, but not reported in the capabilities 2) S_STD(G_STD()) failed: setting the same standard should just return 0. 3) G_PARM

[PATCH AUTOSEL 5.10 02/37] media: staging: media: zoran: calculate the right buffer number for zoran_reap_stat_com

2022-03-30 Thread Sasha Levin
From: Corentin Labbe [ Upstream commit e3b86f4e558cea9eed71d894df2f19b10d60a207 ] On the case tmp_dcim=1, the index of buffer is miscalculated. This generate a NULL pointer dereference later. So let's fix the calcul and add a check to prevent this to reappear. Signed-off-by: Corentin Labbe

[PATCH AUTOSEL 5.10 01/37] media: staging: media: zoran: move videodev alloc

2022-03-30 Thread Sasha Levin
From: Corentin Labbe [ Upstream commit 82e3a496eb56da0b9f29fdc5b63cedb3289e91de ] Move some code out of zr36057_init() and create new functions for handling zr->video_dev. This permit to ease code reading and fix a zr->video_dev memory leak. Signed-off-by: Corentin Labbe Signed-off-by: Hans

[PATCH AUTOSEL 5.15 49/50] media: atomisp: fix bad usage at error handling logic

2022-03-30 Thread Sasha Levin
From: Mauro Carvalho Chehab [ Upstream commit fc0b582c858ed73f94c8f3375c203ea46f1f7402 ] As warned by sparse: atomisp: drivers/staging/media/atomisp/pci/atomisp_acc.c:508 atomisp_acc_load_extensions() warn: iterator used outside loop: 'acc_fw' The acc_fw interactor is used outside the

[PATCH AUTOSEL 5.15 21/50] media: atomisp: fix dummy_ptr check to avoid duplicate active_bo

2022-03-30 Thread Sasha Levin
From: Tsuchiya Yuto [ Upstream commit 127efdbc51fe6064336c0452ce9c910b3e107cf0 ] The dummy_ptr check in hmm_init() [1] results in the following "hmm_init Failed to create sysfs" error exactly once every two times on atomisp reload by rmmod/insmod (although atomisp module loads and works fine

[PATCH AUTOSEL 5.15 20/50] media: atomisp_gmin_platform: Add DMI quirk to not turn AXP ELDO2 regulator off on some boards

2022-03-30 Thread Sasha Levin
From: Hans de Goede [ Upstream commit 2c39a01154ea57d596470afa1d278e3be3b37f6a ] The TrekStor SurfTab duo W1 10.1 has a hw bug where turning eldo2 back on after having turned it off causes the CPLM3218 ambient-light-sensor on the front camera sensor's I2C bus to crash, hanging the bus. Add a

  1   2   3   4   5   6   7   8   9   10   >