Re: [PATCH] selftest: drivers: Add support to check duplicate hwirq

2024-11-10 Thread Joseph Jang
On 2024/10/19 3:34 AM, Bjorn Helgaas wrote: On Tue, Sep 03, 2024 at 06:44:26PM -0700, Joseph Jang wrote: Validate there are no duplicate hwirq from the irq debug file system /sys/kernel/debug/irq/irqs/* per chip name. One example log show 2 duplicated hwirq in the irq debug file system

[PATCH v2 1/2] selftest: rtc: Add to check rtc alarm status for alarm related test

2024-10-20 Thread Joseph Jang
ew R. Ochs Signed-off-by: Joseph Jang --- Changes in v2: - Changed to use $(top_srcdir) instead of hardcoding the path. tools/testing/selftests/rtc/Makefile | 2 +- tools/testing/selftests/rtc/rtctest.c | 64 +++ 2 files changed, 65 insertions(+), 1 deletion(-) di

Re: [PATCH] selftest: drivers: Add support to check duplicate hwirq

2024-10-17 Thread Joseph Jang
On 2024/9/4 9:44 AM, Joseph Jang wrote: Validate there are no duplicate hwirq from the irq debug file system /sys/kernel/debug/irq/irqs/* per chip name. One example log show 2 duplicated hwirq in the irq debug file system. $ sudo cat /sys/kernel/debug/irq/irqs/163 handler

Re: [PATCH 1/2] selftest: rtc: Add to check rtc alarm status for alarm related test

2024-10-17 Thread Joseph Jang
On 2024/6/24 9:43 AM, Joseph Jang wrote: On 2024/6/21 3:36 AM, Alexandre Belloni wrote: On 23/05/2024 18:38:06-0700, Joseph Jang wrote: In alarm_wkalm_set and alarm_wkalm_set_minute test, they use different ioctl (RTC_ALM_SET/RTC_WKALM_SET) for alarm feature detection. They will skip

Re: [PATCH 2/2] selftest: rtc: Check if could access /dev/rtc0 before testing

2024-10-17 Thread Joseph Jang
On 2024/9/25 3:57 AM, Shuah Khan wrote: On 9/24/24 13:31, Alexandre Belloni wrote: Hello, On 24/09/2024 10:05:43-0600, Shuah Khan wrote: On 9/23/24 23:37, Joseph Jang wrote: Hi Alexandre, Thank you for looking at the rtc patch. I saw you Acked the [PATCH 2/2], not sure when could we see

Re: [PATCH 2/2] selftest: rtc: Check if could access /dev/rtc0 before testing

2024-09-23 Thread Joseph Jang
Hi Alexandre, Thank you for looking at the rtc patch. I saw you Acked the [PATCH 2/2], not sure when could we see the patch in kernel master or next branch ? Thank you, Joseph. On 2024/6/21 3:37 AM, Alexandre Belloni wrote: On 23/05/2024 18:38:07-0700, Joseph Jang wrote: The rtctest requires

[PATCH] selftest: drivers: Add support to check duplicate hwirq

2024-09-03 Thread Joseph Jang
[1]: https://lore.kernel.org/all/20240115135649.708536-1-vid...@nvidia.com/ Signed-off-by: Joseph Jang Reviewed-by: Matthew R. Ochs --- tools/testing/selftests/drivers/irq/Makefile | 5 +++ tools/testing/selftests/drivers/irq/config| 2 + .../selftests/drivers/irq/irq-check.sh

[REGRESSION][v6.8-rc1] virtio-pci: Introduce admin virtqueue

2024-05-03 Thread Joseph Salisbury
Hi Feng, During testing, a kernel bug was identified with the suspend/resume functionality on instances running in a public cloud [0].  This bug is a regression introduced in v6.8-rc1.  After a kernel bisect, the following commit was identified as the cause of the regression:    fd27ef6b

Re: [PATCH] ocfs2: Annotate struct ocfs2_slot_info with __counted_by

2023-09-17 Thread Joseph Qi
ndexing) and CONFIG_FORTIFY_SOURCE (for strcpy/memcpy-family > functions). > > As found with Coccinelle[1], add __counted_by for struct ocfs2_slot_info. > > [1] > https://github.com/kees/kernel-tools/blob/trunk/coccinelle/examples/counted_by.cocci > > Cc: Mark Fasheh >

Re: [PATCH v2] fs: ocfs2: Replace strlcpy with sysfs_emit

2023-09-12 Thread Joseph Qi
/KSPP/linux/issues/89 > [3] > https://elixir.bootlin.com/linux/v6.5/source/include/linux/moduleparam.h#L52 > > Signed-off-by: Azeem Shaikh Reviewed-by: Joseph Qi > --- > v2: > * Removes patch [1/2] which replaced module_param_call with module_param_cb. > * Use sysfs_emit

[PATCH 2/2] drivers: hv: Create a consistent pattern for checking Hyper-V hypercall status

2021-04-16 Thread Joseph Salisbury
From: Joseph Salisbury There is not a consistent pattern for checking Hyper-V hypercall status. Existing code uses a number of variants. The variants work, but a consistent pattern would improve the readability of the code, and be more conformant to what the Hyper-V TLFS says about hypercall

[PATCH 1/2] x86/hyperv: Move hv_do_rep_hypercall to asm-generic

2021-04-16 Thread Joseph Salisbury
From: Joseph Salisbury This patch makes no functional changes. It simply moves hv_do_rep_hypercall() out of arch/x86/include/asm/mshyperv.h and into asm-generic/mshyperv.h hv_do_rep_hypercall() is architecture independent, so it makes sense that it should be in the architecture independent

Re: [PATCH] ocfs2/dlm: remove unused function

2021-04-14 Thread Joseph Qi
ommit ded2cf71419b ("ocfs2: dlm: fix recovery hung"), dlm_reset_recovery() no longer has any user. Acked-by: Joseph Qi > --- > fs/ocfs2/dlm/dlmrecovery.c | 7 --- > 1 file changed, 7 deletions(-) > > diff --git a/fs/ocfs2/dlm/dlmrecovery.c b/fs/ocfs2/dlm/dlmrecover

[PATCH v3 2/2] Bluetooth: Support the vendor specific debug events

2021-04-13 Thread Joseph Hwang
, i.e., hdev->set_vs_dbg_evt, a valid controller index is required. For generic Linux machines, the vendor specific debug events are disabled by default. Reviewed-by: Chethan T N Reviewed-by: Kiran Krishnappa Reviewed-by: Miao-chen Chou Signed-off-by: Joseph Hwang --- (no changes since

[PATCH v3 1/2] Bluetooth: btusb: support link statistics telemetry events

2021-04-13 Thread Joseph Hwang
From: Chethan T N This patch supports the link statistics telemetry events for Intel controllers To avoid the overhead, this debug feature is disabled by default. Reviewed-by: Miao-chen Chou Signed-off-by: Chethan T N Signed-off-by: Kiran K Signed-off-by: Joseph Hwang --- Changes in v3

[PATCH v2 1/2] Bluetooth: btusb: support link statistics telemetry events

2021-04-13 Thread Joseph Hwang
From: Chethan T N This patch supports the link statistics telemetry events for Intel controllers To avoid the overhead, this debug feature is disabled by default. Reviewed-by: Miao-chen Chou Signed-off-by: Chethan T N Signed-off-by: Kiran K Signed-off-by: Joseph Hwang --- Changes in v2

[PATCH v2 2/2] Bluetooth: Support the vendor specific debug events

2021-04-13 Thread Joseph Hwang
, i.e., hdev->set_vs_dbg_evt, a valid controller index is required. For generic Linux machines, the vendor specific debug events are disabled by default. Reviewed-by: Chethan Tumkur Narayan Reviewed-by: Kiran Krishnappa Reviewed-by: Miao-chen Chou Signed-off-by: Joseph Hwang --- (no chan

[PATCH v1 2/2] Bluetooth: Support the vendor specific debug events

2021-04-12 Thread Joseph Hwang
, i.e., hdev->set_vs_dbg_evt, a valid controller index is required. For generic Linux machines, the vendor specific debug events are disabled by default. Reviewed-by: Chethan Tumkur Narayan Reviewed-by: Kiran Krishnappa Reviewed-by: Miao-chen Chou Signed-off-by: Joseph Hwang --- driv

[PATCH v1 1/2] Bluetooth: btusb: support link statistics telemetry events

2021-04-12 Thread Joseph Hwang
From: Chethan T N This patch supports the link statistics telemetry events for Intel controllers To avoid the overhead, this debug feature is disabled by default. Reviewed-by: Miao-chen Chou Signed-off-by: Chethan T N Signed-off-by: Kiran K Signed-off-by: Joseph Hwang --- drivers

RE: [PATCH v4 5/7] PCI: cadence: Add support to configure virtual functions

2021-04-06 Thread Tom Joseph
aham I > --- > .../pci/controller/cadence/pcie-cadence-ep.c | 207 -- > drivers/pci/controller/cadence/pcie-cadence.h | 7 + > 2 files changed, 197 insertions(+), 17 deletions(-) > Acked-by: Tom Joseph

Re: [PATCH ] ocfs2: Fix a typo

2021-03-24 Thread Joseph Qi
On 3/24/21 3:29 PM, Bhaskar Chowdhury wrote: > > s/cluter/cluster/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Joseph Qi > --- > fs/ocfs2/stackglue.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/ocfs2/stackglue.c b/f

Re: [PATCH] ocfs2: Replace DEFINE_SIMPLE_ATTRIBUTE with DEFINE_DEBUGFS_ATTRIBUTE

2021-02-24 Thread Joseph Qi
On 2/24/21 4:27 PM, Yang Li wrote: > Fix the following coccicheck warning: > ./fs/ocfs2/blockcheck.c:232:0-23: WARNING: blockcheck_fops should be > defined with DEFINE_DEBUGFS_ATTRIBUTE > > Reported-by: Abaci Robot > Signed-off-by: Yang Li Acked-by: Joseph Qi > --- >

Re: [PATCH] ocfs2: Remove unneeded return variable

2021-02-03 Thread Joseph Qi
NAK. This was discussed before, please refer: https://oss.oracle.com/pipermail/ocfs2-devel/2020-April/014969.html Thanks, Joseph On 2/4/21 11:12 AM, Yang Li wrote: > This patch removes unneeded return variables, using only > '0' instead. > It fixes the following warning det

Re: [PATCH v2] ocfs2: Fix a use after free on error

2021-02-02 Thread Joseph Qi
On 2/2/21 7:32 PM, Dan Carpenter wrote: > The error handling in this function frees "reg" but it is still on the > "o2hb_all_regions" list so it will lead to a use after freew. Joseph Qi > points out that we need to clear the bit in the "o2hb_region_bitmap&q

RE: [PATCH v7 0/2] PCI: cadence: Retrain Link to work around Gen2

2021-02-02 Thread Tom Joseph
> -Original Message- > From: Nadeem Athani > Sent: 30 December 2020 12:05 > To: Tom Joseph ; lorenzo.pieral...@arm.com; > r...@kernel.org; bhelg...@google.com; kis...@ti.com; linux- > o...@vger.kernel.org; linux-...@vger.kernel.org; linux-arm- > ker...@lists.infrad

Re: [PATCH] ocfs2: Simplify the calculation of variables

2021-02-01 Thread Joseph Qi
On 2/2/21 11:10 AM, Jiapeng Chong wrote: > Fix the following coccicheck warnings: > > ./fs/ocfs2/refcounttree.c:981:16-18: WARNING !A || A && B is equivalent > to !A || B. > > Reported-by: Abaci Robot > Signed-off-by: Jiapeng Chong Reviewed-by: Joseph Qi >

Re: [PATCH] ocfs2: Fix a use after free on error

2021-02-01 Thread Joseph Qi
eems we have to clear the bitmap as well in error case. So how about add a new error label and handle them both? Thanks, Joseph > Fixes: 1cf257f51191 ("ocfs2: fix memory leak") > Signed-off-by: Dan Carpenter > --- > This is from static analysis and hasn't been tes

Re: [RFC PATCH 25/34] ocfs/cluster: use bio_new in dm-log-writes

2021-01-28 Thread Joseph Qi
I think you send a wrong subject by mistake. Thanks, Joseph On 1/28/21 3:11 PM, Chaitanya Kulkarni wrote: > Signed-off-by: Chaitanya Kulkarni > --- > fs/ocfs2/cluster/heartbeat.c | 6 ++ > 1 file changed, 2 insertions(+), 4 deletions(-) > > diff --git a/fs/ocfs2/cluste

[PATCH v6] power: suspend: Move dpm_watchdog to suspend.c and enhance it

2021-01-28 Thread Joseph Jang
issues. The new timeout handler will dump disk sleep task call trace at first round timeout and trigger kernel panic at second round timeout. The default timer for each round is defined in CONFIG_PM_SUSPEND_WATCHDOG_TIMEOUT. Signed-off-by: Joseph Jang --- Changes since v5: - Remove MAINTAINERS update

Re: [PATCH v4] ovl: fix dentry leak in ovl_get_redirect

2021-01-21 Thread Joseph Qi
Hi Miklos, Any comments on this patch? Thanks, Joseph On 12/22/20 11:26 AM, Al Viro wrote: > On Tue, Dec 22, 2020 at 11:06:26AM +0800, Liangyan wrote: > >> Cc: >> Fixes: a6c606551141 ("ovl: redirect on rename-dir") >> Signed-off-by: Liangyan >> Rev

[PATCH v5] power: suspend: Move dpm_watchdog to suspend.c and enhance it

2021-01-07 Thread Joseph Jang
issues. The new timeout handler will dump disk sleep task call trace at first round timeout and trigger kernel panic at second round timeout. The default timer for each round is defined in CONFIG_PM_SUSPEND_WATCHDOG_TIMEOUT. Signed-off-by: Joseph Jang --- Changes since v4: - Change #define

[PATCH v4] power: suspend: Move dpm_watchdog to suspend.c and enhance it

2021-01-07 Thread Joseph Jang
issues. The new timeout handler will dump disk sleep task call trace at first round timeout and trigger kernel panic at second round timeout. The default timer for each round is defined in CONFIG_PM_SUSPEND_WATCHDOG_TIMEOUT. Signed-off-by: Joseph Jang --- Changes since v3: - Change the naming from

Re: [PATCH] ocfs2: Remove redundant conditional before iput

2020-12-30 Thread Joseph Qi
On 12/31/20 12:05 PM, Yi Li wrote: > iput handles NULL pointers gracefully, so there's no need to > check the pointer before the call. > > Signed-off-by: Yi Li Acked-by: Joseph Qi > --- > fs/ocfs2/super.c | 2 -- > 1 file changed, 2 deletions(-) > > di

Re: [PATCH v3] ovl: fix dentry leak in ovl_get_redirect

2020-12-21 Thread Joseph Qi
.828890] FS:  7ffbedffb700() GS:93b92788() > knlGS: > [   49.830725] CS:  0010 DS: ES: CR0: 80050033 > [   49.832359] CR2: 0088 CR3: 0005e3f74006 CR4: > 003606a0 > [   49.834085] DR0: DR1:

Re: [PATCH v2] ovl: fix dentry leak in ovl_get_redirect

2020-12-21 Thread Joseph Qi
... What's wrong with just doing > spin_unlock(&d->d_lock); > parent = dget_parent(d); > dput(d); > d = parent; > instead of that? > Now race happens on non-RCU path in lookup_fast(), I'm afraid d_seq can not close the race window. Thanks, Joseph

Re: [PATCH] ovl: fix dentry leak in ovl_get_redirect

2020-12-20 Thread Joseph Qi
0fffe R15: > 93b8da3446c0 > [   49.828890] FS:  7ffbedffb700() GS:93b92788() > knlGS: > [   49.830725] CS:  0010 DS: ES: CR0: 80050033 > [   49.832359] CR2: 0088 CR3: 0005e3f74006 CR4: > 003606a

RE: [PATCH v8 11/18] PCI: cadence: Implement ->msi_map_irq() ops

2020-12-14 Thread Tom Joseph
| 53 +++ > 1 file changed, 53 insertions(+) > Reviewed-by: Tom Joseph

RE: [PATCH v8 12/18] PCI: cadence: Configure LM_EP_FUNC_CFG based on epc->function_num_map

2020-12-14 Thread Tom Joseph
changed, 1 insertion(+), 6 deletions(-) > Reviewed-by: Tom Joseph

[PATCH v3] bridge: Fix a deadlock when enabling multicast snooping

2020-12-04 Thread Joseph Huang
lticast address") Signed-off-by: Joseph Huang --- net/bridge/br_device.c| 6 ++ net/bridge/br_multicast.c | 34 +- net/bridge/br_private.h | 10 ++ 3 files changed, 41 insertions(+), 9 deletions(-) diff --git a/net/bridge/br_device.c b

Re: [PATCH v2] bridge: Fix a deadlock when enabling multicast snooping

2020-12-04 Thread Huang, Joseph
probably just as cheap as a bool, so I'll change it according to what you suggested here. Thanks for your comments!! Thanks, Joseph

[PATCH v2] bridge: Fix a deadlock when enabling multicast snooping

2020-12-04 Thread Joseph Huang
lticast address") Signed-off-by: Joseph Huang --- net/bridge/br_device.c| 6 ++ net/bridge/br_multicast.c | 33 - net/bridge/br_private.h | 10 ++ 3 files changed, 40 insertions(+), 9 deletions(-) diff --git a/net/bridge/br_device.c b

Re: [PATCH] bridge: Fix a deadlock when enabling multicast snooping

2020-12-03 Thread Huang, Joseph
> From: Huang, Joseph > Sent: Thursday, December 3, 2020 4:53 PM > To: Nikolay Aleksandrov ; Jakub Kicinski > > Cc: Roopa Prabhu ; David S. Miller > ; bri...@lists.linux-foundation.org; > net...@vger.kernel.org; linux-kernel@vger.kernel.org; Linus Lüssing > > Subject

RE: [PATCH] bridge: Fix a deadlock when enabling multicast snooping

2020-12-03 Thread Huang, Joseph
> From: Nikolay Aleksandrov > Sent: Thursday, December 3, 2020 3:47 PM > To: Jakub Kicinski ; Huang, Joseph > > Cc: Roopa Prabhu ; David S. Miller > ; bri...@lists.linux-foundation.org; > net...@vger.kernel.org; linux-kernel@vger.kernel.org; Linus Lüssing > > Subject

Re: [PATCH v5] mm: Optional full ASLR for mmap(), mremap(), vdso and stack

2020-12-03 Thread Joseph Myers
s very close to a Poisson process (if the number of small allocations being distributed independently in the address space is large), so the probability that any given gap is at least x times the mean gap is about exp(-x). -- Joseph S. Myers jos...@codesourcery.com

[PATCH] bridge: Fix a deadlock when enabling multicast snooping

2020-12-01 Thread Joseph Huang
: join all-snoopers multicast address") Signed-off-by: Joseph Huang --- net/bridge/br_device.c| 3 +++ net/bridge/br_multicast.c | 8 net/bridge/br_private.h | 5 + 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/net/bridge/br_device.c b/net/bridge/br

Re: Ping(3): [PATCH v4] : Add nitems()

2020-11-17 Thread Joseph Myers
waiting for WG14. -- Joseph S. Myers jos...@codesourcery.com

Re: Ping(3): [PATCH v4] : Add nitems()

2020-11-17 Thread Joseph Myers
I've asked the WG14 reflector why N2529 (and N2530, though that one's not relevant to this feature) doesn't seem to have made it onto a meeting agenda yet, when there have been two WG14 meetings since that proposal was made and a third one coming up. -- Joseph S. Myers jos...@codesourcery.com

Re: [PATCH v2 28/39] docs: ABI: fix syntax to be parsed using ReST notation

2020-11-02 Thread Joseph, Jithu
l-wmi-sbl-fw-update| 1 + For intel-wmi-sbl-fw-update part Acked-by: Jithu Joseph > .../testing/sysfs-platform-mellanox-bootctl | 50 ++ > .../ABI/testing/sysfs-platform-wilco-ec | 1 + > 17 files changed, 271 insertions(+), 161 deletions(-) > > diff --git

[PATCH v3] power: suspend: Move dpm_watchdog to suspend.c and enhance it

2020-10-22 Thread Joseph Jang
handler to cover more sleep hang issues. The new timeout handler will dump disk sleep task at first round timeout and trigger kernel panic at second round timeout. The default timer for each round is defined in CONFIG_PM_SLEEP_TIMER_TIMEOUT. Signed-off-by: Joseph Jang --- Changes since v2: - Add

[PATCH v2] power: suspend: Replace dpm_watchdog by sleep timer

2020-10-20 Thread Joseph Jang
dump disk sleep task at first round timeout and trigger kernel panic at second round timeout. The default timer for each round is defined in CONFIG_PM_SLEEP_TIMER_TIMEOUT. Signed-off-by: Joseph Jang --- Changes in v2: - Add commit message to explain why remove dpm_watchdog. - Remove dpm_watchdog

[PATCH] power: suspend: Replace dpm_watchdog by sleep timer

2020-10-20 Thread Joseph Jang
disk sleep task at first round timeout and trigger kernel panic at second round timeout. The default timer for each round is defined in CONFIG_PM_SLEEP_TIMER_TIMEOUT. Signed-off-by: Joseph Jang --- drivers/base/power/main.c| 69 --- include/linux/console.h | 1

[PATCH] power: suspend: Add sleep timer and timeout handler

2020-10-19 Thread Joseph Jang
-off-by: Joseph Jang --- MAINTAINERS | 2 + include/linux/console.h | 1 + include/linux/suspend_timer.h | 90 +++ kernel/power/Kconfig | 15 ++ kernel/power/suspend.c| 19 kernel/printk/printk.c| 5

Re: [PATCH] fs: ocfs2 remove unneeded break

2020-10-19 Thread Joseph Qi
On 2020/10/20 01:52, t...@redhat.com wrote: > From: Tom Rix > > A break is not needed if it is preceded by a goto > > Signed-off-by: Tom Rix Acked-by: Joseph Qi > --- > fs/ocfs2/cluster/tcp.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/fs/

Re: [PATCH] power: suspend: Add suspend timeout handler

2020-10-16 Thread Joseph Jang
Yes, I agree. Rafael J. Wysocki 於 2020年10月16日 週五 下午9:24寫道: > > On Fri, Oct 16, 2020 at 3:22 PM wrote: > > > > Thank you Rafael's promptly response. > > > > > On Fri, Oct 16, 2020 at 5:51 AM Joseph Jang wrote: > > > > > > > > Fr

Re: [PATCH] power: suspend: Add suspend timeout handler

2020-10-16 Thread Joseph Jang
Thanks Petr promptly response. On Fri 2020-10-16 11:51:09, Joseph Jang wrote: > From: josephjang > > Add suspend timeout handler to prevent device stuck during suspend/ > resume process. Suspend timeout handler will dump disk sleep task > at first round timeout and trigger kernel

Re: [PATCH] power: suspend: Add suspend timeout handler

2020-10-16 Thread Joseph Jang
Thank you Greg's promptly reply. let me try to explain detail in following. Sorry I forgot to switch to plain text mode in gmail. On Fri, Oct 16, 2020 at 11:51:09AM +0800, Joseph Jang wrote: > From: josephjang Please use your name as spelled out like you did above in the email header.

[PATCH] power: suspend: Add suspend timeout handler

2020-10-15 Thread Joseph Jang
From: josephjang Add suspend timeout handler to prevent device stuck during suspend/ resume process. Suspend timeout handler will dump disk sleep task at first round timeout and trigger kernel panic at second round timeout. The default timer for each round is 30 seconds. Note: Can use following

Re: [PATCH] ocfs2: ratelimit the 'max lookup times reached' notice

2020-10-03 Thread Joseph Qi
1091 max > lookup times reached, filesystem may have nested directories, src inode: > 18007, dest inode: 17940. > ... > > Signed-off-by: Mauricio Faria de Oliveira Looks good to me. Reviewed-by: Joseph Qi > --- > fs/ocfs2/namei.c | 4 ++-- > 1 file changed, 2 inser

[tip: x86/hyperv] x86/hyperv: Remove aliases with X64 in their name

2020-09-27 Thread tip-bot2 for Joseph Salisbury
The following commit has been merged into the x86/hyperv branch of tip: Commit-ID: dfc53baae3c6a165a35735b789e3e083786271d6 Gitweb: https://git.kernel.org/tip/dfc53baae3c6a165a35735b789e3e083786271d6 Author:Joseph Salisbury AuthorDate:Sat, 26 Sep 2020 07:26:26 -07:00

Re: [PATCH] ocfs2: fix potential soft lockup during fstrim

2020-09-26 Thread Joseph Qi
ll avoid the potential soft lockup problem, > and also gives the upper applications more IO opportunities, these > applications are not blocked for too long at writing files. > > Signed-off-by: Gang He It makes sense. Reviewed-by: Joseph Qi > --- > fs/ocfs2/alloc.c | 4 +++- > 1

[PATCH] x86/hyperv: Remove aliases with X64 in their name

2020-09-26 Thread Joseph Salisbury
From: Joseph Salisbury In the architecture independent version of hyperv-tlfs.h, commit c55a844f46f958b removed the "X64" in the symbol names so they would make sense for both x86 and ARM64. That commit added aliases with the "X64" in the x86 version of hyperv-tlfs.h so th

Re: [PATCH 09/14] ocfs2: cleanup o2hb_region_dev_store

2020-09-17 Thread Joseph Qi
On 2020/9/18 00:57, Christoph Hellwig wrote: > Use blkdev_get_by_dev instead of igrab (aka open coded bdgrab) + > blkdev_get. > > Signed-off-by: Christoph Hellwig Reviewed-by: Joseph Qi > --- > fs/ocfs2/cluster/heartbeat.c | 28 ++-- > 1 file c

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

2020-09-14 Thread Joseph Hwang
On Thu, Sep 10, 2020 at 4:18 PM Pali Rohár wrote: > > On Thursday 10 September 2020 14:04:01 Joseph Hwang wrote: > > It is desirable to define the HCI packet payload sizes of > > USB alternate settings so that they can be exposed to user > > space. > > > > Revi

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

2020-09-09 Thread Joseph Hwang
Signed-off-by: Joseph Hwang --- Changes in v3: - Fixed the commit message. Changes in v2: - Used BT_SNDMTU/BT_RCVMTU instead of creating a new opt name. - Used the existing conn->mtu instead of creating a new member in struct sco_pinfo. - Noted that the old SCO_OPTIONS

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

2020-09-09 Thread Joseph Hwang
O_OPTIONS in sco_sock_getsockopt_old() would just work as it uses sco_pi(sk)->conn->mtu. Joseph Hwang (2): Bluetooth: btusb: define HCI packet sizes of USB Alts Bluetooth: sco: new getsockopt options BT_SNDMTU/BT_RCVMTU drivers/bluetooth/btusb.c | 45 +---

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

2020-09-09 Thread Joseph Hwang
It is desirable to define the HCI packet payload sizes of USB alternate settings so that they can be exposed to user space. Reviewed-by: Alain Michaud Reviewed-by: Abhishek Pandit-Subedi Signed-off-by: Joseph Hwang --- Changes in v3: - Set hdev->sco_mtu to rp->sco_mtu if the latter is s

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

2020-09-09 Thread Joseph Hwang
->conn->mtu. Joseph Hwang (2): Bluetooth: btusb: define HCI packet sizes of USB Alts Bluetooth: sco: expose WBS packet length in socket option drivers/bluetooth/btusb.c | 43 +-- net/bluetooth/hci_event.c | 7 ++- net/bluetooth/sco.c | 6 +++

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

2020-09-09 Thread Joseph Hwang
It is desirable to define the HCI packet payload sizes of USB alternate settings so that they can be exposed to user space. Reviewed-by: Alain Michaud Reviewed-by: Abhishek Pandit-Subedi Signed-off-by: Joseph Hwang --- Changes in v2: - 1/2: Used sco_mtu instead of a new sco_pkt_len member in

[PATCH v2 2/2] Bluetooth: sco: expose WBS packet length in socket option

2020-09-09 Thread Joseph Hwang
It is desirable to expose the wideband speech packet length via a socket option to the user space so that the user space can set the value correctly in configuring the sco connection. Reviewed-by: Alain Michaud Reviewed-by: Abhishek Pandit-Subedi Signed-off-by: Joseph Hwang --- (no changes

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

2020-08-13 Thread Joseph Hwang
It is desirable to define the HCI packet payload sizes of USB alternate settings so that they can be exposed to user space. Reviewed-by: Alain Michaud Reviewed-by: Abhishek Pandit-Subedi Signed-off-by: Joseph Hwang --- drivers/bluetooth/btusb.c| 43

[PATCH v1 2/2] Bluetooth: sco: expose WBS packet length in socket option

2020-08-13 Thread Joseph Hwang
It is desirable to expose the wideband speech packet length via a socket option to the user space so that the user space can set the value correctly in configuring the sco connection. Reviewed-by: Alain Michaud Reviewed-by: Abhishek Pandit-Subedi Signed-off-by: Joseph Hwang --- include/net

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

2020-08-13 Thread Joseph Hwang
controller with USB alt setting 6 Our user space audio server, cras, can get the correct packet length from the socket option. Joseph Hwang (2): Bluetooth: btusb: define HCI packet sizes of USB Alts Bluetooth: sco: expose WBS packet length in socket option drivers/bluetooth/btusb.c | 43

Re: [Ocfs2-devel] [PATCH] fs: ocfs2: delete repeated words in comments

2020-08-10 Thread Joseph Qi
On 2020/8/11 10:18, Randy Dunlap wrote: > Drop duplicated words {the, and} in comments. > > Signed-off-by: Randy Dunlap > Cc: Mark Fasheh > Cc: Joel Becker > Cc: Joseph Qi > Cc: Andrew Morton > Cc: ocfs2-de...@oss.oracle.com Acked-by: Joseph Qi > --- >

Re: kswapd warning at kernel/rcu/tree.c:1358 rcu_advance_cbs_nowake causing processes to enter d state

2020-07-30 Thread Joseph Feather
Resending as plaintext. From: Joseph Feather Sent: Thursday, July 30, 2020 9:59 AM To: Paul E. McKenney ; Josh Triplett Cc: linux-kernel@vger.kernel.org ; Timothy Heilman ; Wilfredo Crespo ; Michael Barr Subject: kswapd warning at kernel/rcu/tree.c:1358 rcu_advance_cbs_nowake causing

Re: [PATCH] ocfs2: fix unbalanced locking

2020-07-27 Thread Joseph Qi
3f9ff6 ("ocfs2: avoid inode removal while nfsd is accessing it") Reviewed-by: Joseph Qi > > diff --git a/fs/ocfs2/dlmglue.c b/fs/ocfs2/dlmglue.c > index 751bc4dc7466..8e3a369086db 100644 > --- a/fs/ocfs2/dlmglue.c > +++ b/fs/ocfs2/dlmglue.c > @@ -2871,9 +2871,15 @@ int

Re: [Ocfs2-devel] [PATCH] ocfs2: suballoc.h: delete a duplicated word

2020-07-19 Thread Joseph Qi
On 2020/7/20 08:14, Randy Dunlap wrote: > Drop the repeated word "is" in a comment. > > Signed-off-by: Randy Dunlap > Cc: Mark Fasheh > Cc: Joel Becker > Cc: Joseph Qi > Cc: ocfs2-de...@oss.oracle.com Acked-by: Joseph Qi > --- > fs/ocfs2/suba

Re: [PATCH] ocfs2: fix remounting needed after setfacl command

2020-07-19 Thread Joseph Qi
van > getfacl: Removing leading '/' from absolute path names > file: ocfs2/ivan > owner: root > group: root > user::rw- > group::r-- > mask::r-- > other::r-- > > The latest acl record("u:ivan:rw") cannot be returned via getfacl > command until remount

Re: [PATCH] ocfs2: Replace HTTP links with HTTPS ones

2020-07-13 Thread Joseph Qi
Replace HTTP with HTTPS. > > Signed-off-by: Alexander A. Klimov Acked-by: Joseph Qi > --- > Continuing my work started at 93431e0607e5. > See also: git log --oneline '--author=Alexander A. Klimov > ' v5.7..master > (Actually letting a shell for loop submi

[PATCH v2] Bluetooth: btusb: add Realtek 8822CE to usb_device_id table

2020-07-13 Thread Joseph Hwang
This patch adds the Realtek 8822CE controller to the usb_device_id table to support the wideband speech capability. Reviewed-by: ala...@chromium.org Signed-off-by: Joseph Hwang --- Changes in v2: - Fixed the commit subject and message body. drivers/bluetooth/btusb.c | 4 1 file changed

[PATCH] Bluetooth: btusb: add Realtek 8822CE to blacklist_table

2020-07-02 Thread Joseph Hwang
This patch adds the Realtek 8822CE controller to the blacklist_table to support the wideband speech capability. Signed-off-by: Joseph Hwang --- drivers/bluetooth/btusb.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index

[PATCH][v2] Drivers: hv: Change flag to write log level in panic msg to false

2020-06-26 Thread Joseph Salisbury
uffer() to not include the log level, enabling more information that *is* useful to fit in the page. Requesting in stable kernels, since many kernels running in production are stable releases. Cc: sta...@vger.kernel.org Signed-off-by: Joseph Salisbury --- drivers/hv/vmbus_drv.c | 2 +- 1 file ch

RE: [PATCH] Drivers: hv: Change flag to write log level in panic msg to false

2020-06-26 Thread Joseph Salisbury
-Original Message- From: Michael Kelley Sent: Friday, June 26, 2020 6:24 PM To: Joseph Salisbury ; KY Srinivasan ; Haiyang Zhang ; Stephen Hemminger ; sas...@kernel.org; wei@kernel.org Cc: linux-hyp...@vger.kernel.org; linux-kernel@vger.kernel.org; sta...@vger.kernel.org Subject

RE: [PATCH] Drivers: hv: Change flag to write log level in panic msg to false

2020-06-26 Thread Joseph Salisbury
Thanks for the feedback, Michael. I'll send a v2. Thanks, Joe -Original Message- From: Michael Kelley Sent: Friday, June 26, 2020 4:53 PM To: Joseph Salisbury ; KY Srinivasan ; Haiyang Zhang ; Stephen Hemminger ; sas...@kernel.org; wei@kernel.org Cc: linu

[PATCH] Drivers: hv: Change flag to write log level in panic msg to false

2020-06-26 Thread Joseph Salisbury
ing in production are stable releases. Cc: sta...@vger.kernel.org Signed-off-by: Joseph Salisbury --- drivers/hv/vmbus_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c index 9147ee9d5f7d..d69f4efa3719 100644 --- a/driv

Re: [PATCH glibc 1/3] glibc: Perform rseq registration at C startup and thread creation (v20)

2020-06-11 Thread Joseph Myers
hat a suitable URL ? Can we simply point to it from glibc's manual ? Yes, that seems something reasonable to link to. -- Joseph S. Myers jos...@codesourcery.com

PROBLEM: IPv4 route exception patch breaks BIRD2

2020-06-11 Thread Joseph Marsden
here - even if I patch BIRD to reject these routes, the problem still occurs and BIRD keeps trying to re-insert routes into the kernel routing table twice. - Joseph Extra information: Kernel version: Linux version 5.4.43 (nixbld@localhost) (gcc version 9.2.0 (GCC)) #1-NixOS SMP Wed May 27 15:46:5

Re: [PATCH v3] fs: ocfs2: fix spelling mistake and grammar

2020-06-07 Thread Joseph Qi
On 2020/6/8 09:48, Keyur Patel wrote: > ./ocfs2/mmap.c:65: bebongs ==> belonging > > Signed-off-by: Keyur Patel Reviewed-by: Joseph Qi > --- > fs/ocfs2/mmap.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/ocfs2/mmap.c b/fs/ocfs2/

Re: [PATCH v2] fs: ocfs2: fix spelling mistake and grammar

2020-06-07 Thread Joseph Qi
On 2020/6/8 06:07, Keyur Patel wrote: > ./ocfs2/mmap.c:65: bebongs ==> belongs > This should be updated with your new change. Thanks, Joseph > Signed-off-by: Keyur Patel > --- > fs/ocfs2/mmap.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff -

Re: [PATCH] Fix build failure of OCFS2 when TCP/IP is disabled

2020-06-07 Thread Joseph Qi
ined in net/ipv4/tcp.c, which depend on > TCP/IP being enabled. > > To fix this, make OCFS2_FS depend on INET=y which already requires NET=y. > > Signed-off-by: Tom Seewald Reviewed-by: Joseph Qi > --- > fs/ocfs2/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 delet

Re: [PATCH glibc 1/3] glibc: Perform rseq registration at C startup and thread creation (v20)

2020-06-04 Thread Joseph Myers
here it goes, as long as it's somewhere stable we can link to. -- Joseph S. Myers jos...@codesourcery.com

Re: [PATCH glibc 1/3] glibc: Perform rseq registration at C startup and thread creation (v20)

2020-06-03 Thread Joseph Myers
;Restartable Sequence critical section", and how to "perform rseq registration to the kernel". -- Joseph S. Myers jos...@codesourcery.com

RE: [PATCH v2 0/4] PCI: cadence: Deprecate inbound/outbound specific bindings

2020-05-06 Thread Tom Joseph
> -Original Message- > From: Kishon Vijay Abraham I > Sent: 17 April 2020 12:43 > To: Tom Joseph ; Bjorn Helgaas > ; Rob Herring ; Lorenzo > Pieralisi ; Andrew Murray > > Cc: linux-...@vger.kernel.org; devicet...@vger.kernel.org; linux- > ker...@vger.kernel.o

RE: [PATCH v2] PCI: cadence: Refactor driver to use as a core library

2019-10-22 Thread Tom Joseph
Hi Kishon, > -Original Message- > From: Kishon Vijay Abraham I > Sent: 21 October 2019 13:13 > To: Tom Joseph ; linux-...@vger.kernel.org > Cc: Lorenzo Pieralisi ; Bjorn Helgaas > ; linux-kernel@vger.kernel.org > Subject: Re: [PATCH v2] PCI: cadence: Refactor dr

[PATCH v2] PCI: cadence: Refactor driver to use as a core library

2019-10-16 Thread Tom Joseph
All the platform related APIs/Structures in the driver is extracted out to a separate file (pcie-cadence-plat.c). This enables the driver to be used as a core library, which could now be used by other platform drivers. Testing done using simulation environment. Signed-off-by: Tom Joseph

RE: [PATCH] PCI:cadence:Driver refactored to use as a core library.

2019-10-16 Thread Tom Joseph
Hi Kishon, > -Original Message- > From: Kishon Vijay Abraham I > Sent: 15 October 2019 12:23 > To: Tom Joseph ; linux-...@vger.kernel.org > Cc: Lorenzo Pieralisi ; Bjorn Helgaas > ; linux-kernel@vger.kernel.org > Subject: Re: [PATCH] PCI:cadence:Driver refactored to

Re: [PATCH v2] ocfs2: fix panic due to ocfs2_wq is null

2019-10-15 Thread Joseph Qi
0x81/0x460 > ocfs2_shutdown_local_alloc+0x47/0x440 [ocfs2] > ocfs2_dismount_volume+0x84/0x400 [ocfs2] > ocfs2_fill_super+0xa4/0x1270 [ocfs2] > ? ocfs2_initialize_super.isa.211+0xf20/0xf20 [ocfs2] > mount_bdev+0x17f/0x1c0 > mount_fs+0x3a/0x160 > > Signed-off-by: Yi L

Re: [PATCH] ocfs2: fix panic due to ocfs2_wq is null

2019-10-15 Thread Joseph Qi
Cc ocfs2-devel On 19/10/15 19:03, Joseph Qi wrote: > > > On 19/10/15 17:05, Yi Li wrote: >> mount.ocfs2 failed when read ocfs2 filesystem super error. >> the func ocfs2_initialize_super will return before allocate ocfs2_wq. >> ocfs2_dismount_volume will flush the o

Re: [PATCH] ocfs2: fix panic due to ocfs2_wq is null

2019-10-15 Thread Joseph Qi
-377,7 +377,9 @@ void ocfs2_shutdown_local_alloc(struct ocfs2_super *osb) > struct ocfs2_dinode *alloc = NULL; > > cancel_delayed_work(&osb->la_enable_wq); > - flush_workqueue(osb->ocfs2_wq); > + if (osb->ocfs2_wq) { > + flush_workq

Re: (RESEND) [PATCH] ocfs2: Fix error handling in ocfs2_setattr()

2019-10-10 Thread Joseph Qi
On 19/10/10 16:23, Chengguang Xu wrote: > Should set transfer_to[USRQUOTA/GRPQUOTA] to NULL > on error case before jump to do dqput(). > > Signed-off-by: Chengguang Xu Looks good. Reviewed-by: Joseph Qi > --- > fs/ocfs2/file.c | 2 ++ > 1 file changed, 2 insertions(+)

Re: [PATCH] ocfs2:fix potential Null Ptr Dereference

2019-10-09 Thread Joseph Qi
loading module, so region should be valid here. Thanks, Joseph > > Signed-off-by: Yizhuo > --- > fs/ocfs2/cluster/heartbeat.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/ocfs2/cluster/heartbeat.c b/fs/ocfs2/cluster/heartbeat.c > index a

  1   2   3   4   5   6   7   8   9   10   >