-loading.
Signed-off-by: Marcel Holtmann
---
Documentation/admin-guide/devices.txt | 3 ++-
fs/cachefiles/main.c | 4 +++-
include/linux/miscdevice.h| 1 +
3 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/Documentation/admin-guide/devices.txt
b/Documentation
his is the first attempt at some
>> obvious fixes that can be done without any harm to the code and its
>> readability.
>> Marcel Holtmann (12):
>> libvhost-user: Provide _GNU_SOURCE when compiling outside of QEMU
>> libvhost-user: Replace typeof with __typeof__
>>
’ and ‘uint32_t’ {aka ‘unsigned int’} [-Werror=sign-compare]
223 | for (i = 0; i < dev->nregions; i++) {
| ^
Signed-off-by: Marcel Holtmann
---
subprojects/libvhost-user/libvhost-user.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff
by the build system.
Signed-off-by: Marcel Holtmann
---
subprojects/libvduse/libvduse.c | 4
1 file changed, 4 insertions(+)
diff --git a/subprojects/libvduse/libvduse.c b/subprojects/libvduse/libvduse.c
index e089d4d546cf..c871bd331a6b 100644
--- a/subprojects/libvduse/libvduse.c
+++ b/subprojects
[-Werror=declaration-after-statement]
683 | struct uffdio_register reg_struct;
| ^~
In this case, it is also simple enough and doesn't cause any extra
ifdef additions.
Signed-off-by: Marcel Holtmann
Reviewed-by: Philippe Mathieu-Daudé
---
subprojects/libvhost-user
that can be done without any harm to the code and its
readability.
Marcel Holtmann (12):
libvhost-user: Provide _GNU_SOURCE when compiling outside of QEMU
libvhost-user: Replace typeof with __typeof__
libvhost-user: Cast rc variable to avoid compiler warning
libvhost-user: Use unsigned int i
ler warning switched on.
Signed-off-by: Marcel Holtmann
---
subprojects/libvhost-user/libvhost-user.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/subprojects/libvhost-user/libvhost-user.c
b/subprojects/libvhost-user/libvhost-user.c
index 67d75ece53b7..bcdf32a24f60 100
’
[-Werror=implicit-function-declaration]
86 | typeof(x) _min1 = (x); \
| ^~
Changing these two users of typeof makes the compiler happy and no extra
flags or pragmas need to be provided.
Signed-off-by: Marcel Holtmann
Reviewed-by: Philippe Mathieu-Daudé
*)>vring.used->ring[vq->vring.num]) = htole16(val);
| ~^
Signed-off-by: Marcel Holtmann
Suggested-by: Xie Yongji
Suggested-by: Paolo Bonzini
---
subprojects/libvduse/libvduse.c | 3 ++-
1 file changed, 2 insertions(+), 1
=sign-compare]
789 | if (vq->inuse >= vq->vring.num) {
| ^~
Instead of casting the comparison to unsigned int, just make the inuse
field unsigned int in the fist place.
Signed-off-by: Marcel Holtmann
Reviewed-by: Xie Yongji
---
subprojects/libvduse/libvduse.c
In case libvhost-user is used externally, that projects compiler
warnings might be more strict. Enforce an extra set of compiler warnings
to catch issues early on.
Signed-off-by: Marcel Holtmann
Suggested-by: Paolo Bonzini
---
subprojects/libvduse/meson.build | 8 +++-
1 file changed, 7
Hi Paolo,
>> static inline void vring_set_avail_event(VduseVirtq *vq, uint16_t val)
>> {
>> -*((uint16_t *)>vring.used->ring[vq->vring.num]) = htole16(val);
>> +uint16_t *avail;
>> +
>> +avail = (uint16_t *)>vring.used->ring[vq->vring.num];
>> +*avail = htole16(val);
>
> That
In case libvhost-user is used externally, that projects compiler
warnings might be more strict. Enforce an extra set of compiler warnings
to catch issues early on.
Signed-off-by: Marcel Holtmann
Suggested-by: Paolo Bonzini
---
subprojects/libvhost-user/meson.build | 8 +++-
1 file changed
Since it was proposed to change the code in libvduse.c to use memcpy
instead of an assignment, the code in libvhost-user.c should also be
changed to use memcpy.
Signed-off-by: Marcel Holtmann
Suggested-by: Paolo Bonzini
---
subprojects/libvhost-user/libvhost-user.c | 5 ++---
1 file changed, 2
3: error: implicit declaration of function ‘typeof’
>> [-Werror=implicit-function-declaration]
>>86 | typeof(x) _min1 = (x); \
>> | ^~
>> Changing these two users of typeof makes the compiler happy and no extra
>> fl
RCE if it is not already set by the build system.
Signed-off-by: Marcel Holtmann
---
subprojects/libvhost-user/libvhost-user.c | 4
1 file changed, 4 insertions(+)
diff --git a/subprojects/libvhost-user/libvhost-user.c
b/subprojects/libvhost-user/libvhost-user.c
index d6ee6e7d9168..b55b9e244d9a 100
ter-statement]
1625 | struct uffdio_api api_struct;
| ^~
Understandable, it might be desired to avoid else clauses, but in this
case it seems clear enough and frankly the dev->postcopy_ufd is only
assigned once.
Signed-off-by: Marcel Holtmann
Reviewed-by: Philippe Mathieu
by the build system.
Signed-off-by: Marcel Holtmann
---
subprojects/libvduse/libvduse.c | 4
1 file changed, 4 insertions(+)
diff --git a/subprojects/libvduse/libvduse.c b/subprojects/libvduse/libvduse.c
index e089d4d546cf..c871bd331a6b 100644
--- a/subprojects/libvduse/libvduse.c
+++ b/subprojects
re]
2808 | if (num > vq->inuse) {
| ^
Instead of casting the comparison to unsigned int, just make the inuse
field unsigned int in the fist place.
Signed-off-by: Marcel Holtmann
Reviewed-by: Philippe Mathieu-Daudé
---
subprojects/libvhost-user/libvhost-user.h | 2 +-
1
-aliasin]
603 | *((uint16_t *)>vring.used->ring[vq->vring.num]) = htole16(val);
| ~^
Signed-off-by: Marcel Holtmann
Suggested-by: Xie Yongji
---
subprojects/libvduse/libvduse.c | 5 -
1 file changed, 4 insertions(+), 1
’ and ‘uint32_t’ {aka ‘unsigned int’} [-Werror=sign-compare]
223 | for (i = 0; i < dev->nregions; i++) {
| ^
Signed-off-by: Marcel Holtmann
---
subprojects/libvhost-user/libvhost-user.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff
RCE if it is not already set by the build system.
Signed-off-by: Marcel Holtmann
---
subprojects/libvhost-user/libvhost-user.c | 4
1 file changed, 4 insertions(+)
diff --git a/subprojects/libvhost-user/libvhost-user.c
b/subprojects/libvhost-user/libvhost-user.c
index d6ee6e7d9168..b55b9e244d9a 100
that can be done without any harm to the code and its
readability.
Marcel Holtmann (10):
libvhost-user: Provide _GNU_SOURCE when compiling outside of QEMU
libvhost-user: Replace typeof with __typeof__
libvhost-user: Cast rc variable to avoid compiler warning
libvhost-user: Use unsigned int i
’
[-Werror=implicit-function-declaration]
86 | typeof(x) _min1 = (x); \
| ^~
Changing these two users of typeof makes the compiler happy and no extra
flags or pragmas need to be provided.
Signed-off-by: Marcel Holtmann
Reviewed-by: Philippe Mathieu-Daudé
[-Werror=declaration-after-statement]
683 | struct uffdio_register reg_struct;
| ^~
In this case, it is also simple enough and doesn't cause any extra
ifdef additions.
Signed-off-by: Marcel Holtmann
Reviewed-by: Philippe Mathieu-Daudé
---
subprojects/libvhost-user
ter-statement]
1625 | struct uffdio_api api_struct;
| ^~
Understandable, it might be desired to avoid else clauses, but in this
case it seems clear enough and frankly the dev->postcopy_ufd is only
assigned once.
Signed-off-by: Marcel Holtmann
Reviewed-by: Philippe Mathieu
ng[vq->vring.num]) =
>> htole16(val);
>> | ~^~~~~
>>
>> Signed-off-by: Marcel Holtmann
>> ---
>> subprojects/libvduse/libvduse.c | 5 -
>> 1 file changed, 4 insertions(+), 1 deletion(-)
>>
ler warning switched on.
Signed-off-by: Marcel Holtmann
---
subprojects/libvhost-user/libvhost-user.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/subprojects/libvhost-user/libvhost-user.c
b/subprojects/libvhost-user/libvhost-user.c
index 67d75ece53b7..bcdf32a24f60 100
=sign-compare]
789 | if (vq->inuse >= vq->vring.num) {
| ^~
Instead of casting the comparison to unsigned int, just make the inuse
field unsigned int in the fist place.
Signed-off-by: Marcel Holtmann
Reviewed-by: Xie Yongji
---
subprojects/libvduse/libvduse.c
ter-statement]
1625 | struct uffdio_api api_struct;
| ^~
Understandable, it might be desired to avoid else clauses, but in this
case it seems clear enough and frankly the dev->postcopy_ufd is only
assigned once.
Signed-off-by: Marcel Holtmann
---
subprojects/libvhost-user/li
[-Werror=declaration-after-statement]
683 | struct uffdio_register reg_struct;
| ^~
In this case, it is also simple enough and doesn't cause any extra
ifdef additions.
Signed-off-by: Marcel Holtmann
---
subprojects/libvhost-user/libvhost-user.c | 4 +++-
1 file changed
ler warning switched on.
Signed-off-by: Marcel Holtmann
---
subprojects/libvhost-user/libvhost-user.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/subprojects/libvhost-user/libvhost-user.c
b/subprojects/libvhost-user/libvhost-user.c
index 67d75ece53b7..bcdf32a24f60 100
or it better be commented accordingly
to tell the compiler that it got this part wrong.
Marcel Holtmann (10):
libvhost-user: Provide _GNU_SOURCE when compiling outside of QEMU
libvhost-user: Replace typeof with __typeof__
libvhost-user: Cast rc variable to avoid compiler warning
libvhost
by the build system.
Signed-off-by: Marcel Holtmann
---
subprojects/libvduse/libvduse.c | 4
1 file changed, 4 insertions(+)
diff --git a/subprojects/libvduse/libvduse.c b/subprojects/libvduse/libvduse.c
index e089d4d546cf..c871bd331a6b 100644
--- a/subprojects/libvduse/libvduse.c
+++ b/subprojects
=sign-compare]
789 | if (vq->inuse >= vq->vring.num) {
| ^~
Instead of casting the comparison to unsigned int, just make the inuse
field unsigned int in the fist place.
Signed-off-by: Marcel Holtmann
---
subprojects/libvduse/libvduse.c | 2 +-
1 file c
re]
2808 | if (num > vq->inuse) {
| ^
Instead of casting the comparison to unsigned int, just make the inuse
field unsigned int in the fist place.
Signed-off-by: Marcel Holtmann
Reviewed-by: Philippe Mathieu-Daudé
---
subprojects/libvhost-user/libvhost-user.h | 2 +-
1
’ and ‘uint32_t’ {aka ‘unsigned int’} [-Werror=sign-compare]
223 | for (i = 0; i < dev->nregions; i++) {
| ^
Signed-off-by: Marcel Holtmann
---
subprojects/libvhost-user/libvhost-user.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff
RCE if it is not already set by the build system.
Signed-off-by: Marcel Holtmann
---
subprojects/libvhost-user/libvhost-user.c | 4
1 file changed, 4 insertions(+)
diff --git a/subprojects/libvhost-user/libvhost-user.c
b/subprojects/libvhost-user/libvhost-user.c
index d6ee6e7d9168..b55b9e244d9a 100
’
[-Werror=implicit-function-declaration]
86 | typeof(x) _min1 = (x); \
| ^~
Changing these two users of typeof makes the compiler happy and no extra
flags or pragmas need to be provided.
Signed-off-by: Marcel Holtmann
---
subprojects/libvhost-user
ole16(val);
| ~^
Signed-off-by: Marcel Holtmann
---
subprojects/libvduse/libvduse.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/subprojects/libvduse/libvduse.c b/subprojects/libvduse/libvduse.c
index 338ad5e352e7..51a4ba1b6878 100644
--- a/su
omparison of integer expressions of
>> different signedness: ‘unsigned int’ and ‘int’ [-Werror=sign-compare]
>> 2808 | if (num > vq->inuse) {
>> | ^
>>
>> Instead of casting the comparision to unsigned int, just make the inuse
>&
Hi,
what is the correct way for a VIRTIO_F_VERSION_1 modern device to specify the
virtio_foo_config structure. Should I make it __attribute__((packed))? What
field
types should be used. Everything __virtio{16,32} or better __le{16,32}? Can we
have __u8 and do they have to 16-bit or 32-bit
son of integer expressions of
>> different signedness: ‘unsigned int’ and ‘int’ [-Werror=sign-compare]
>> 2808 | if (num > vq->inuse) {
>> | ^
>> Instead of casting the comparision to unsigned int, just make the inuse
>> field unsigned int i
the structures point of view the assignment
that is done makes no sense to me. I might have to dig into
specification to figure it out or it better be commented accordingly to
tell the compiler that it got this part wrong.
Marcel Holtmann (3):
libvduse: Provide _GNU_SOURCE when compiling outside
ole16(val);
| ~^
Signed-off-by: Marcel Holtmann
---
subprojects/libvduse/libvduse.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/subprojects/libvduse/libvduse.c b/subprojects/libvduse/libvduse.c
index 338ad5e352e7..51a4ba1b6878 100644
--- a/su
=sign-compare]
789 | if (vq->inuse >= vq->vring.num) {
| ^~
Instead of casting the comparison to unsigned int, just make the inuse
field unsigned int in the fist place.
Signed-off-by: Marcel Holtmann
---
subprojects/libvduse/libvduse.c | 2 +-
1 file c
by the build system.
Signed-off-by: Marcel Holtmann
---
subprojects/libvduse/libvduse.c | 4
1 file changed, 4 insertions(+)
diff --git a/subprojects/libvduse/libvduse.c b/subprojects/libvduse/libvduse.c
index e089d4d546cf..c871bd331a6b 100644
--- a/subprojects/libvduse/libvduse.c
+++ b/subprojects
[-Werror=declaration-after-statement]
683 | struct uffdio_register reg_struct;
| ^~
In this case, it is also simple enough and doesn't cause any extra
ifdef additions.
Signed-off-by: Marcel Holtmann
---
subprojects/libvhost-user/libvhost-user.c | 4 +++-
1 file changed
ler warning switched on.
Signed-off-by: Marcel Holtmann
---
subprojects/libvhost-user/libvhost-user.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/subprojects/libvhost-user/libvhost-user.c
b/subprojects/libvhost-user/libvhost-user.c
index 67d75ece53b7..bcdf32a24f60 100
that can be done without any harm to the code and its
readabilty.
Marcel Holtmann (7):
libvhost-user: Provide _GNU_SOURCE when compiling outside of QEMU
libvhost-user: Replace typeof with __typeof__
libvhost-user: Cast rc variable to avoid compiler warning
libvhost-user: Use unsigned int i
RCE if it is not already set by the build system.
Signed-off-by: Marcel Holtmann
---
subprojects/libvhost-user/libvhost-user.c | 4
1 file changed, 4 insertions(+)
diff --git a/subprojects/libvhost-user/libvhost-user.c
b/subprojects/libvhost-user/libvhost-user.c
index d6ee6e7d9168..b55b9e244d9a 100
’
[-Werror=implicit-function-declaration]
86 | typeof(x) _min1 = (x); \
| ^~
Changing these two users of typeof makes the compiler happy and no extra
flags or pragmas need to be provided.
Signed-off-by: Marcel Holtmann
---
subprojects/libvhost-user
re]
2808 | if (num > vq->inuse) {
| ^
Instead of casting the comparision to unsigned int, just make the inuse
field unsigned int in the fist place.
Signed-off-by: Marcel Holtmann
---
subprojects/libvhost-user/libvhost-user.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion
’ and ‘uint32_t’ {aka ‘unsigned int’} [-Werror=sign-compare]
223 | for (i = 0; i < dev->nregions; i++) {
| ^
Signed-off-by: Marcel Holtmann
---
subprojects/libvhost-user/libvhost-user.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff
ter-statement]
1625 | struct uffdio_api api_struct;
| ^~
Understandable, it might be desired to avoid else clauses, but in this
case it seems clear enough and frankly the dev->postcopy_ufd is only
assigned once.
Signed-off-by: Marcel Holtmann
---
subprojects/libvhost-user/li
Hi Dmitry,
>>> This is an RFC of the proposed power sequencer subsystem. This is a
>>> generification of the MMC pwrseq code. The subsystem tries to abstract
>>> the idea of complex power-up/power-down/reset of the devices.
>>>
>>> The primary set of devices that promted me to create this
Hi Dmitry,
> This is an RFC of the proposed power sequencer subsystem. This is a
> generification of the MMC pwrseq code. The subsystem tries to abstract
> the idea of complex power-up/power-down/reset of the devices.
>
> The primary set of devices that promted me to create this patchset is
>
Hi Michael,
I like to reserve device ID 40 for Bluetooth device. Thanks.
Regards
Marcel
>>>
>>> The easiest way to do this is by sending a patch with
>>> the proposed change:
>>> https://github.com/oasis-tcs/virtio-spec#providing-feedback
>>> and then request approval
Use device ID 40
Signed-off-by: Marcel Holtmann
---
content.tex | 2 ++
1 file changed, 2 insertions(+)
diff --git a/content.tex b/content.tex
index 9232d5c4dde9..e02afafe5c87 100644
--- a/content.tex
+++ b/content.tex
@@ -2874,6 +2874,8 @@ \chapter{Device Types}\label{sec:Device Types
Hi Michael,
>> I like to reserve device ID 40 for Bluetooth device. Thanks.
>>
>> Regards
>>
>> Marcel
>
> The easiest way to do this is by sending a patch with
> the proposed change:
> https://github.com/oasis-tcs/virtio-spec#providing-feedback
> and then request approval by creating a github
Hi Michael,
>> I like to reserve device ID 40 for Bluetooth device. Thanks.
>>
>> Regards
>>
>> Marcel
>
> I don't see the request on the virtio-dev mailing list.
> Pls make sure to subscribe then post.
I realized to late that it is subscriber only and so I had to send it again.
See here:
Hi,
I like to reserve device ID 40 for Bluetooth device. Thanks.
Regards
Marcel
-
To unsubscribe, e-mail: virtio-dev-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: virtio-dev-h...@lists.oasis-open.org
g(hdev, "enable %d", enable);
> +
> + /* Read the Intel supported features and if new exception formats
> + * supported, need to load the additional DDC config to enable.
> + */
> + err = btintel_read_debug_features(hdev, );
> + if (err)
> +
Hi Joseph,
> 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
> ---
>
>
Hi Muhammad,
> If btusb_mtk_submit_wmt_recv_urb returns error, wc should be freed and
> then error should be returned to prevent memory leak.
>
> Addresses-Coverity: ("Prevent memory leak")
> Fixes: 4cbb375e997d ("Bluetooth: btusb: Fixed too many in-token issue for
> Mediatek Chip.")
>
Hi Mark,
> Add support for Lite-On Mediatek Chip (MT7921)
> Lite On VID = 04CA.
>
> * /sys/kernel/debug/usb/devices
> T: Bus=01 Lev=03 Prnt=04 Port=01 Cnt=02 Dev#= 8 Spd=480 MxCh= 0
> D: Ver= 2.10 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1
> P: Vendor=04ca ProdID=3802 Rev= 1.00
> S:
Hi Mark,
> This patch reduce in-token during download patch procedure.
> Don't submit urb for polling event before sending hci command.
>
> Signed-off-by: mark-yw.chen
> ---
> drivers/bluetooth/btusb.c | 10 +-
> 1 file changed, 5 insertions(+), 5 deletions(-)
patch has been applied to
Hi Colin,
> The call to alloc_skb with the GFP_KERNEL flag can return a null sk_buff
> pointer, so add a null check to avoid any null pointer deference issues.
>
> Addresses-Coverity: ("Dereference null return value")
> Fixes: afd2daa26c7a ("Bluetooth: Add support for virtio transport driver")
>
Hi Yu,
> When an MGMT_EV_DEVICE_CONNECTED event is reported back to the user
> space we will set the flags to tell if the established connection is
> outbound or not. This is useful for the user space to log better metrics
> and error messages.
>
> Reviewed-by: Miao-chen Chou
> Reviewed-by:
Hi Qiheng,
> Fix the following coccicheck warning:
>
> net/bluetooth/msft.c:37:6-13: WARNING use flexible-array member instead
> net/bluetooth/msft.c:42:6-10: WARNING use flexible-array member instead
> net/bluetooth/msft.c:52:6-10: WARNING use flexible-array member instead
>
> Signed-off-by:
Hi Hilda,
> RTL8822C devices support BT wakeup Host. Add a quirk for these specific
> devices did not power off during suspend and resume.
> By this change, if the Host support that received BT device signal then
> it can be wakeup.
>
> Signed-off-by: hildawu
> ---
> Changes in v2:
> - Add
Hi Yu,
> When an MGMT_EV_DEVICE_CONNECTED event is reported back to the user
> space we will set the flags to tell if the established connection is
> outbound or not. This is useful for the user space to log better metrics
> and error messages.
>
> Reviewed-by: Miao-chen Chou
> Reviewed-by:
Hi Kai,
> Delete unneeded variable initialization.
>
> Signed-off-by: Kai Ye
> ---
> net/bluetooth/6lowpan.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel
Hi Manish,
> During command status or command complete event, the controller may set
> ncmd=0 indicating that it is not accepting any more commands. In such a
> case, host holds off sending any more commands to the controller. If the
> controller doesn't recover from such condition, host will
Hi Daniel,
> This series addresses a race condition where an advertisement
> registration can conflict with a software rotation advertisement
> refresh. I found that this issue was only occurring with the new
> extended MGMT advertising interface. A bad use of the
> hdev->cur_adv_instance caused
Hi Kai,
> Use the correct print format. Printing an unsigned int value should use %u
> instead of %d. For details, please read document:
> Documentation/core-api/printk-formats.rst
>
> Signed-off-by: Kai Ye
> ---
> net/bluetooth/l2cap_core.c | 16
> 1 file changed, 8
Hi Mark,
> Adding support LE scatternet and WBS for Mediatek Chip
>
> Signed-off-by: mark-yw.chen
> ---
> drivers/bluetooth/btusb.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel
Hi Archie,
> There is a possibility where HCI_INQUIRY flag is set but we still
> send HCI_OP_INQUIRY anyway.
>
> Such a case can be reproduced by connecting to an LE device while
> active scanning. When the device is discovered, we initiate a
> connection, stop LE Scan, and send Discovery MGMT
Hi Meng,
> Remove 'return' in void function and fix some coding style
>
> Meng Yu (2):
> Bluetooth: Remove 'return' in void function
> Bluetooth: Coding style fix
>
> net/bluetooth/6lowpan.c | 5 +
> net/bluetooth/hci_debugfs.c | 8
> net/bluetooth/hci_event.c | 2 +-
>
Hi Bhaskar,
> s/minium/minimum/
> s/procdure/procedure/
>
> Signed-off-by: Bhaskar Chowdhury
> ---
> net/bluetooth/l2cap_core.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel
Hi Meng,
> Macros should not use a trailing semicolon.
>
> Signed-off-by: Meng Yu
> ---
>
> Changes in v2
> -Modify comments
>
> net/bluetooth/sco.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel
Hi Daniel,
> In __hci_req_enable_advertising, the HCI_LE_ADV hdev flag is temporarily
> cleared to allow the random address to be set, which exposes a race
> condition when an advertisement is configured immediately (<10ms) after
> software rotation starts to refresh an advertisement.
>
> In
Hi Yu,
> When an MGMT_EV_DEVICE_CONNECTED event is reported back to the user
> space we will set the flags to tell if the established connection is
> outbound or not. This is useful for the user space to log better metrics
> and error messages.
>
> Reviewed-by: Miao-chen Chou
> Reviewed-by:
Hi Meng,
> remove trailing semicolon in macros and coding style fix.
>
> Signed-off-by: Meng Yu
> ---
>
> Changes in v2
> -Re-base in bluetooth-next
>
> net/bluetooth/smp.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
patch has been applied to bluetooth-next tree.
Regards
Hi Archie,
> There is a possibility of receiving a zapped sock on
> l2cap_sock_connect(). This could lead to interesting crashes, one
> such case is tearing down an already tore l2cap_sock as is happened
> with this call trace:
>
> __dump_stack lib/dump_stack.c:15 [inline]
>
Hi Arnd,
> gcc-11 points out that the declaration does not match the definition:
>
> net/bluetooth/ecdh_helper.c:122:55: error: argument 2 of type ‘const u8[32]’
> {aka ‘const unsigned char[32]’} with mismatched bound
> [-Werror=array-parameter=]
> 122 | int set_ecdh_privkey(struct crypto_kpp
Hi Meng,
> 1. remove trailing semicolon in macros;
> 2. fix some coding style.
>
> Signed-off-by: Meng Yu
> ---
> net/bluetooth/smp.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
the patch doesn’t apply to bluetooth-next, please re-base and send again.
Regards
Marcel
Hi Bhaskar,
> s/packat/packet/
>
> Signed-off-by: Bhaskar Chowdhury
> ---
> drivers/bluetooth/hci_qca.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel
Hi Archie,
> hci_chan can be created in 2 places: hci_loglink_complete_evt() if
> it is an AMP hci_chan, or l2cap_conn_add() otherwise. In theory,
> Only AMP hci_chan should be removed by a call to
> hci_disconn_loglink_complete_evt(). However, the controller might mess
> up, call that function,
Hi Archie,
> Currently l2cap_chan_set_defaults() reset chan->conf_state to zero.
> However, there is a flag CONF_NOT_COMPLETE which is set when
> creating the l2cap_chan. It is suggested that the flag should be
> cleared when l2cap_chan is ready, but when l2cap_chan_set_defaults()
> is called,
Hi Archie,
> There is a possibility of receiving a zapped sock on
> l2cap_sock_connect(). This could lead to interesting crashes, one
> such case is tearing down an already tore l2cap_sock as is happened
> with this call trace:
>
> __dump_stack lib/dump_stack.c:15 [inline]
>
Hi Manish,
> During command status or command complete event, the controller may set
> ncmd=0 indicating that it is not accepting any more commands. In such a
> case, host holds off sending any more commands to the controller. If the
> controller doesn't recover from such condition, host will
Hi Jiri,
> Commit eab2404ba798 ("Bluetooth: Add BT_PHY socket option") added a
> dependency between socket lock and hci_dev->lock that could lead to
> deadlock.
>
> It turns out that hci_conn_get_phy() is not in any way relying on hdev
> being immutable during the runtime of this function,
Hi Venkata,
> Based on device may wakeup status, Bluez stack will enable/disable
> passive scanning with whitelist in BT controller while suspending.
> As interrupt from BT SoC is handled by UART driver,we need to use
> device handle of UART driver to get the status of device may wakeup
>
>
Hi Daniel,
> An issue was found, where if a bluetooth client requests a broadcast
> advertisement with scan response data, it will not be properly
> registered with the controller. This is because at the time that the
> hci_cp_le_set_scan_param structure is created, the scan response will
> not
Hi Abhishek,
> During suspend, there are a few scan enable and set event filter
> commands that don't need to be sent unless there are actual BR/EDR
> devices capable of waking the system. Check the HCI_PSCAN bit before
> writing scan enable and use a new dev flag, HCI_EVENT_FILTER_CONFIGURED
>
Hi Abhishek,
> During suspend, there are a few scan enable and set event filter
> commands that don't need to be sent unless there are actual BR/EDR
> devices capable of waking the system. Check the HCI_PSCAN bit before
> writing scan enable and use a new dev flag, HCI_EVENT_FILTER_CONFIGURED
>
Hi Abhishek,
> During suspend, there are a few scan enable and set event filter
> commands that don't need to be sent unless there are actual BR/EDR
> devices capable of waking the system. Check the HCI_PSCAN bit before
> writing scan enable and use a new dev flag, HCI_EVENT_FILTER_CONFIGURED
>
Hi Abhishek,
> When suspending, Bluetooth disconnects all connected peers devices. If
> an LE connection is started but isn't completed, we will see an LE
> Create Connection Cancel instead of an HCI disconnect. This just adds
> a check to see if an LE cancel was the last disconnected device and
Hi Miao-chen,
> This moves msft_do_close() from hci_dev_do_close() to
> hci_unregister_dev() to avoid clearing MSFT extension info. This also
> re-reads MSFT info upon every msft_do_open() even if MSFT extension has
> been initialized.
>
> The following test steps were performed.
> (1) boot the
1 - 100 of 5408 matches
Mail list logo