#
8a97884a |
| 20-Jan-2022 |
Sean Christopherson <seanjc@google.com> |
bitops: Include stdbool.h and stddef.h as necessary
Include stdbool.h and stddef.h in bitops.h to pick up the definitions for "bool" and "size_t" respectively.
Signed-off-by: Sean Christopherson <s
bitops: Include stdbool.h and stddef.h as necessary
Include stdbool.h and stddef.h in bitops.h to pick up the definitions for "bool" and "size_t" respectively.
Signed-off-by: Sean Christopherson <seanjc@google.com> Message-Id: <20220120002923.668708-2-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
show more ...
|
#
9e801bd9 |
| 06-Jul-2020 |
Claudio Imbrenda <imbrenda@linux.ibm.com> |
lib/alloc_page: move get_order and is_power_of_2 to a bitops.h
The functions get_order and is_power_of_2 are simple and should probably be in a header, like similar simple functions in bitops.h
Sin
lib/alloc_page: move get_order and is_power_of_2 to a bitops.h
The functions get_order and is_power_of_2 are simple and should probably be in a header, like similar simple functions in bitops.h
Since they concern bit manipulation, the logical place for them is in bitops.h
Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com> Reviewed-by: Andrew Jones <drjones@redhat.com> Message-Id: <20200706164324.81123-4-imbrenda@linux.ibm.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
show more ...
|
#
4870738c |
| 03-Apr-2020 |
Eric Auger <eric.auger@redhat.com> |
arm: pmu: Check Required Event Support
If event counters are implemented check the common events required by the PMUv3 are implemented.
Some are unconditionally required (SW_INCR, CPU_CYCLES, eithe
arm: pmu: Check Required Event Support
If event counters are implemented check the common events required by the PMUv3 are implemented.
Some are unconditionally required (SW_INCR, CPU_CYCLES, either INST_RETIRED or INST_SPEC). Some others only are required if the implementation implements some other features.
Check those wich are unconditionally required.
This test currently fails on TCG as neither INST_RETIRED or INST_SPEC are supported.
Signed-off-by: Eric Auger <eric.auger@redhat.com> Signed-off-by: Andrew Jones <drjones@redhat.com>
show more ...
|
#
71a6a145 |
| 17-Jan-2018 |
Andrew Jones <drjones@redhat.com> |
bitops: add fls
Signed-off-by: Andrew Jones <drjones@redhat.com> Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
|
#
49f758b8 |
| 29-May-2017 |
Andrew Jones <drjones@redhat.com> |
arm/arm64: code derived from Linux must be GPL not LGPL
Also update copyrights.
Reported-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Andrew Jones <drjones@redhat.com> [Amend two other "Adapat
arm/arm64: code derived from Linux must be GPL not LGPL
Also update copyrights.
Reported-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Andrew Jones <drjones@redhat.com> [Amend two other "Adapated" typos as well.] Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
show more ...
|
#
6ed97c50 |
| 02-Mar-2016 |
Peter Feiner <pfeiner@google.com> |
lib: generic bitops.h
Factored out common bitops stuff, just like Linux's include/linux/bitops.h.
Signed-off-by: Peter Feiner <pfeiner@google.com> Message-Id: <1456938657-20850-3-git-send-email-pfe
lib: generic bitops.h
Factored out common bitops stuff, just like Linux's include/linux/bitops.h.
Signed-off-by: Peter Feiner <pfeiner@google.com> Message-Id: <1456938657-20850-3-git-send-email-pfeiner@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
show more ...
|