Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: deepin-community/kernel
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: linux-6.6.y
Choose a base ref
...
head repository: Avenger-285714/DeepinKernel
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: linux-6.6.y
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 18 files changed
  • 2 contributors

Commits on Jan 8, 2025

  1. deepin: kabi: reserve space for cca-da related structure

    Reserve space for struct device for CCA device assignment feature.
    
    Link: https://gitee.com/openeuler/kernel/issues/IAYHMY
    Link: https://gitee.com/openeuler/kernel/pulls/12284
    Signed-off-by: Guangwei Zhou <[email protected]>
    Signed-off-by: WangYuli <[email protected]>
    Avenger-285714 committed Jan 8, 2025
    Copy the full SHA
    f7e16df View commit details
  2. arch: Reserve map_shadow_stack() syscall number for all architectures

    [ Upstream commit 2fd0eba ]
    
    commit c35559f ("x86/shstk: Introduce map_shadow_stack syscall")
    recently added support for map_shadow_stack() but it is limited to x86
    only for now. There is a possibility that other architectures (namely,
    arm64 and RISC-V), that are implementing equivalent support for shadow
    stacks, might need to add support for it.
    
    Independent of that, reserving arch-specific syscall numbers in the
    syscall tables of all architectures is good practice and would help
    avoid future conflicts. map_shadow_stack() is marked as a conditional
    syscall in sys_ni.c. Adding it to the syscall tables of other
    architectures is harmless and would return ENOSYS when exercised.
    
    Note, map_shadow_stack() was assigned #453 during the merge process
    since #452 was taken by fchmodat2().
    
    For Powerpc, map it to sys_ni_syscall() as is the norm for Powerpc
    syscall tables.
    
    For Alpha, map_shadow_stack() takes up #563 as Alpha still diverges from
    the common syscall numbering system in the other architectures.
    
    Link: https://lore.kernel.org/lkml/[email protected]/
    Link: https://lore.kernel.org/lkml/[email protected]/
    
    Signed-off-by: Sohil Mehta <[email protected]>
    Reviewed-by: Rick Edgecombe <[email protected]>
    Reviewed-by: Arnd Bergmann <[email protected]>
    Acked-by: Michael Ellerman <[email protected]> (powerpc)
    Acked-by: Catalin Marinas <[email protected]>
    Acked-by: Geert Uytterhoeven <[email protected]>
    Signed-off-by: Arnd Bergmann <[email protected]>
    [ deepin kernel ]
    Signed-off-by: WangYuli <[email protected]>
    sohilmeh authored and Avenger-285714 committed Jan 8, 2025
    Copy the full SHA
    0e894c3 View commit details
Loading