[PATCH 1/3] staging: rtl8188eu: remove _rtl88e_fill_dummy
The _rtl88e_fill_dummy function replaced by memset in rtl88eu_download_fw. More appropriate names are used for pfwdata and fwsize variables (download
View Article[PATCH 2/3] staging: rtl8188eu: remove pfirmware and fwsize of the...
The pfirmware is used only in rtl88eu_download_fw function (except the kfree(rtlhal->pfirmware) in netdev_close). The fwsize not used after initializ
View Article[PATCH 3/3] staging: rtl8188eu: add release_firmware() between...
Small memory leak fixed. Signed-off-by: Ivan Safonov <insafonov@gmail.com> --- drivers/staging/rtl8188eu/hal/fw.c | 5 ++++- 1 file changed, 4 inser
View Article[PATCH v4 00/23] arm64: Virtualization Host Extension support
ARMv8.1 comes with the "Virtualization Host Extension" (VHE for short), which enables simpler support of Type-2 hypervisors. This extension allows th
View Article[PATCH v4 01/23] arm/arm64: KVM: Add hook for C-based stage2 init
As we're about to move the stage2 init to C code, introduce some C hooks that will later be populated with arch-specific implementations. Reviewed-by
View Article[PATCH v4 02/23] arm64: KVM: Switch to C-based stage2 init
There is no real need to leave the stage2 initialization as part of the early HYP bootstrap, and we can easily postpone it to the point where we can s
View Article[PATCH v4 03/23] arm/arm64: Add new is_kernel_in_hyp_mode predicate
With ARMv8.1 VHE extension, it will be possible to run the kernel at EL2 (aka HYP mode). In order for the kernel to easily find out where it is runnin
View Article[PATCH v4 04/23] arm64: Allow the arch timer to use the HYP timer
With the ARMv8.1 VHE, the kernel can run in HYP mode, and thus use the HYP timer instead of the normal guest timer in a mostly transparent way, except
View Article[PATCH v4 05/23] arm64: Add ARM64_HAS_VIRT_HOST_EXTN feature
Add a new ARM64_HAS_VIRT_HOST_EXTN features to indicate that the CPU has the ARMv8.1 VHE capability. This will be used to trigger kernel patching in
View Article[PATCH v4 06/23] arm64: KVM: Skip HYP setup when already running in HYP
With the kernel running at EL2, there is no point trying to configure page tables for HYP, as the kernel is already mapped. Take this opportunity to
View Article[PATCH v4 07/23] arm64: KVM: VHE: Patch out use of HVC
With VHE, the host never issues an HVC instruction to get into the KVM code, as we can simply branch there. Use runtime code patching to simplify thi
View Article[PATCH v4 08/23] arm64: KVM: VHE: Patch out kern_hyp_va
The kern_hyp_va macro is pretty meaninless with VHE, as there is only one mapping - the kernel one. In order to keep the code readable and efficient,
View Article[PATCH v4 09/23] arm64: KVM: VHE: Introduce unified system register accessors
VHE brings its own bag of new system registers, or rather system register accessors, as it define new ways to access both guest and host system regist
View Article[PATCH v4 10/23] arm64: KVM: VHE: Differenciate host/guest sysreg save/restore
With ARMv8, host and guest share the same system register file, making the save/restore procedure completely symetrical. With VHE, host and guest now
View Article[PATCH v4 11/23] arm64: KVM: VHE: Split save/restore of registers shared...
A handful of system registers are still shared between host and guest, even while using VHE (tpidr*_el[01] and actlr_el1). Also, some of the vcpu sta
View Article[PATCH v4 12/23] arm64: KVM: VHE: Use unified system register accessors
Use the recently introduced unified system register accessors for those sysregs that behave differently depending on VHE being in use or not. Reviewe
View Article[PATCH v4 13/23] arm64: KVM: VHE: Enable minimal sysreg save/restore
We're now in a position where we can introduce VHE's minimal save/restore, which is limited to the handful of shared sysregs. Add the required altern
View Article[PATCH v4 14/23] arm64: KVM: VHE: Make __fpsimd_enabled VHE aware
As non-VHE and VHE have different ways to express the trapping of FPSIMD registers to EL2, make __fpsimd_enabled a patchable predicate and provide a V
View Article[PATCH v4 15/23] arm64: KVM: VHE: Implement VHE activate/deactivate_traps
Running the kernel in HYP mode requires the HCR_E2H bit to be set at all times, and the HCR_TGE bit to be set when running as a host (and cleared when
View Article[PATCH v4 16/23] arm64: KVM: VHE: Use unified sysreg accessors for timer
Switch the timer code to the unified sysreg accessors. Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org> Signed-off-by: Marc Zyngier <marc.
View Article