|
[PATCH V2] hv: vuart: fix 'Shifting value too far'
MISRA-C requires that shift operation cannot exceed the word length.
What this patch does:
- Fix the bug in 'vuart_init'
The register 'dll' and 'dlh' should be uint8_t rather than char.
'dll' is
MISRA-C requires that shift operation cannot exceed the word length.
What this patch does:
- Fix the bug in 'vuart_init'
The register 'dll' and 'dlh' should be uint8_t rather than char.
'dll' is
|
By
Shiqing Gao
·
#10572
·
|
|
[PATCH v5 5/5] hv: pirq: change the order of functions within irq.c
This commit changes the order of functions in arch/x86/irq.c, to
make it looks cleaner, with no change within any function.
Signed-off-by: Yan, Like <like.yan@...>
Reviewed-by: Anthony Xu
This commit changes the order of functions in arch/x86/irq.c, to
make it looks cleaner, with no change within any function.
Signed-off-by: Yan, Like <like.yan@...>
Reviewed-by: Anthony Xu
|
By
Yan, Like
·
#10571
·
|
|
[PATCH v5 4/5] hv: pirq: clean up fields of struct irq_desc
This commit cleans up fiels of struct irq_desc:
- remove irq_ prefix of irq_lock field of struct irq_desc;
- remove irq_desc_state, irq_cnt and irq_lost_cnt which are not used.
- change enum irq_state
This commit cleans up fiels of struct irq_desc:
- remove irq_ prefix of irq_lock field of struct irq_desc;
- remove irq_desc_state, irq_cnt and irq_lost_cnt which are not used.
- change enum irq_state
|
By
Yan, Like
·
#10570
·
|
|
[PATCH v5 3/5] hv: pirq: clean up irq handlers
There are several similar irq handlers with confusing function names and it's
not friendly to call update_irq_handler() to update a proper handler after irq
registration.
With this commit, a single
There are several similar irq handlers with confusing function names and it's
not friendly to call update_irq_handler() to update a proper handler after irq
registration.
With this commit, a single
|
By
Yan, Like
·
#10569
·
|
|
[PATCH v5 2/5] hv: pirq: add setup_irq()/unset_irq()
This commit adds setup_irq()/unset_irq() to setup/unset
following fields of irq_desc: irq_handler, action, action_data, flags, name,
in order to make request_irq()/free_irq() cleaner.
Signed-off-by:
This commit adds setup_irq()/unset_irq() to setup/unset
following fields of irq_desc: irq_handler, action, action_data, flags, name,
in order to make request_irq()/free_irq() cleaner.
Signed-off-by:
|
By
Yan, Like
·
#10568
·
|
|
[PATCH v5 1/5] hv: pirq: refactor irq/vector allocation/free code
This commit refactors the irq_desc and vector allocation/free codes, with:
1) add a global spinlock to protect the irq_desc/vector allocation;
2) three pairs of funtions are defined for
This commit refactors the irq_desc and vector allocation/free codes, with:
1) add a global spinlock to protect the irq_desc/vector allocation;
2) three pairs of funtions are defined for
|
By
Yan, Like
·
#10567
·
|
|
[PATCH v5 0/5] Patches for physical irq reshuffle
Patch [2,3,4,5/9] of v4 have been PRed. This series includes the rest patches, which:
- [1/5, 2/5] refactored codes for irq request/free code clearer and easy to read;
- [3/5] merged confusing irq
Patch [2,3,4,5/9] of v4 have been PRed. This series includes the rest patches, which:
- [1/5, 2/5] refactored codes for irq request/free code clearer and easy to read;
- [3/5] merged confusing irq
|
By
Yan, Like
·
#10566
·
|
|
Re: [PATCH] hv: vuart: fix 'Shifting value too far'
For this case, directly type conversion is safe and simple. BTW, we should use narrow type conversion carefully, it is dangerous in some case since it will drop high end value.
BRs,
Xiangyang Wu.
For this case, directly type conversion is safe and simple. BTW, we should use narrow type conversion carefully, it is dangerous in some case since it will drop high end value.
BRs,
Xiangyang Wu.
|
By
Wu, Xiangyang
·
#10565
·
|
|
Re: [PATCH 1/8] hv: add lock prefix check for exception
OK. Let me add log for now.
Regards
Yin, Fengwei
OK. Let me add log for now.
Regards
Yin, Fengwei
|
By
Yin, Fengwei <fengwei.yin@...>
·
#10564
·
|
|
Re: [PATCH] hv: vuart: fix 'Shifting value too far'
Sure. I will update the patch per our discussion.
Sure. I will update the patch per our discussion.
|
By
Shiqing Gao
·
#10563
·
|
|
Re: [PATCH] hv: vuart: fix 'Shifting value too far'
Got it, can we use temporary variable "uint8_t value8 = (uint8_t) value;", so we can avoid many type conversion?
BRs,
Xiangyang Wu
Got it, can we use temporary variable "uint8_t value8 = (uint8_t) value;", so we can avoid many type conversion?
BRs,
Xiangyang Wu
|
By
Wu, Xiangyang
·
#10562
·
|
|
[PATCH v4] HV: fix "missing for discarded return value" for vm related api
- add handler if prepare_vm() failed;
- replace assert in start_vm()/prepare_vm() with return errno;
- return errno in start_vm()/reset_vm()/prepare_vm() so that caller
could handle
- add handler if prepare_vm() failed;
- replace assert in start_vm()/prepare_vm() with return errno;
- return errno in start_vm()/reset_vm()/prepare_vm() so that caller
could handle
|
By
Victor Sun
·
#10561
·
|
|
Re: [PATCH 1/8] hv: add lock prefix check for exception
Did you see VM_Exit with lock prefix?
If not, can we add error message for now.
Anthony
Did you see VM_Exit with lock prefix?
If not, can we add error message for now.
Anthony
|
By
Xu, Anthony
·
#10560
·
|
|
Re: [PATCH 1/2] HV: acrntrace: Output event time cost with milliseconds
Sure, will go through the current code and see if there is something should be clean up.
Sure, will go through the current code and see if there is something should be clean up.
|
By
Kaige Fu
·
#10559
·
|
|
Re: [PATCH v3 7/8] DM USB: xHCI: change flow of creation of virtual USB device
Acked-by: Yu Wang <yu1.wang@...>
Acked-by: Yu Wang <yu1.wang@...>
|
By
Yu Wang
·
#10558
·
|
|
Re: ACRN Project Technical Community Meeting: @ Weekly 9PM-10PM (China-Shanghai), 6AM-7AM (US-West Coast), 3PM-4PM (Europe-London)
Attach the foils “ACPI Virtualization” for today’s meeting.
Best regards.
Hongbo
Tel: +86-21-6116 7445
MP: +86-1364 1793 689
Mail: hongbo.wang@...
-----Original Appointment-----
Attach the foils “ACPI Virtualization” for today’s meeting.
Best regards.
Hongbo
Tel: +86-21-6116 7445
MP: +86-1364 1793 689
Mail: hongbo.wang@...
-----Original Appointment-----
|
By
Wang, Hongbo
·
#10557
·
|
|
Re: [PATCH v3 8/8] DM USB: xHCI: enable xHCI SOS S3 support
Acked-by: Yu Wang <yu1.wang@...>
Acked-by: Yu Wang <yu1.wang@...>
|
By
Yu Wang
·
#10556
·
|
|
Re: [PATCH v3 7/8] DM USB: xHCI: change flow of creation of virtual USB device
On 18-08-15 09:32:57, Wu, Xiaoguang wrote:
> The xHCI emulation greatly depends on the user space library libusb
> which is based on the usbfs module in Linux kernel. The libusb will
> bind usbfs to
On 18-08-15 09:32:57, Wu, Xiaoguang wrote:
> The xHCI emulation greatly depends on the user space library libusb
> which is based on the usbfs module in Linux kernel. The libusb will
> bind usbfs to
|
By
Yu Wang
·
#10555
·
|
|
Re: [PATCH v3 5/8] DM USB: xHCI: refine port assignment logic
Acked-by: Yu Wang <yu1.wang@...>
Acked-by: Yu Wang <yu1.wang@...>
|
By
Yu Wang
·
#10554
·
|
|
[PATCH v3 8/8] DM USB: xHCI: enable xHCI SOS S3 support
This patch enable the support for SOS S3 from the perspective
of USB xHCI.
Signed-off-by: Xiaoguang Wu <xiaoguang.wu@...>
Reviewed-by: Liang Yang <liang3.yang@...>
---
This patch enable the support for SOS S3 from the perspective
of USB xHCI.
Signed-off-by: Xiaoguang Wu <xiaoguang.wu@...>
Reviewed-by: Liang Yang <liang3.yang@...>
---
|
By
Wu, Xiaoguang
·
#10553
·
|