Skip to content

Aop-related changes for 6.15 - #400

Merged
jannau merged 5 commits into
AsahiLinux:asahi-wipfrom
WhatAmISupposedToPutHere:aop-6.15
Jul 13, 2025
Merged

jannau merged 5 commits into
AsahiLinux:asahi-wipfrom
WhatAmISupposedToPutHere:aop-6.15

Conversation

@WhatAmISupposedToPutHere

Copy link
Copy Markdown
Member

Move to device properties, fix probe order.

@jannau
jannau merged commit d64d948 into AsahiLinux:asahi-wip Jul 13, 2025
svenpeter42 pushed a commit that referenced this pull request Aug 10, 2025
Use BPF_TRAMP_F_INDIRECT flag to detect struct ops and emit proper
prologue and epilogue for this case.

With this patch, all of the struct_ops related testcases (except
struct_ops_multi_pages) passed on LoongArch.

The testcase struct_ops_multi_pages failed is because the actual
image_pages_cnt is 40 which is bigger than MAX_TRAMP_IMAGE_PAGES.

Before:

  $ sudo ./test_progs -t struct_ops -d struct_ops_multi_pages
  ...
  WATCHDOG: test case struct_ops_module/struct_ops_load executes for 10 seconds...

After:

  $ sudo ./test_progs -t struct_ops -d struct_ops_multi_pages
  ...
  #15      bad_struct_ops:OK
  ...
  #399     struct_ops_autocreate:OK
  ...
  #400     struct_ops_kptr_return:OK
  ...
  #401     struct_ops_maybe_null:OK
  ...
  #402     struct_ops_module:OK
  ...
  #404     struct_ops_no_cfi:OK
  ...
  #405     struct_ops_private_stack:SKIP
  ...
  #406     struct_ops_refcounted:OK
  Summary: 8/25 PASSED, 3 SKIPPED, 0 FAILED

Signed-off-by: Tiezhu Yang <[email protected]>
Signed-off-by: Huacai Chen <[email protected]>
ludagoo pushed a commit to ludagoo/linux-aurora that referenced this pull request Oct 30, 2026
Bring drivers/gpu/drm/asahi up to the aurora-silicon/linux state at
d3cf19b, the base of the G17 performance series that follows, merged
three-way on top of integration/aurora with the 7.2.10 merge point
44d5afc as base. integration/aurora's own work is kept: the G15 backend,
the M3 T8122 runtime, UAT adoption, deferred-close binding sequences (omacom#214)
and the 7.2.11 shared-code adaptations. The G16 (T8132) backend is not
carried.

This carries the G17 work merged on the aurora side since 7.2.10,
including the T6040 (M4 Pro) and 25G83 firmware support and the render
replay/recovery series by Jonathan Goyvaerts, the watchdog, replay and
backing-population changes by Ryan Murray, the tracked VM lifetime work by
Eryk Wieliczko, and the G17 queue, capacity and timestamp changes by
DjDeveloperr (aurora-silicon/linux AsahiLinux#382, #391, AsahiLinux#397, AsahiLinux#400).

Adaptations to 7.2.11:
- module parameters return references; THIS_MODULE replaces
  kernel::module::this_module; a local raw_try_init replaces the newer
  pin-init helper; of_device_table! takes the MODULE_OF_TABLE name.
- regs.rs keeps G17's sgx window as Devres<IoMem>, as 7.2 has no
  DevresIoMem.
- The shared feature flags keep G17's opt-out of soft faults.
- G15 and the M3 runtime use the shared timestamp::Buffer and the
  reserved-table aware root walk; omacom's G15 vm_closed hook becomes
  vm_destroyed, next to the G17 vm_closed.
- Crate and helper pieces the driver needs: the shmem SG lease and
  pages_no_reclaim (drm_gem_shmem_helper), DRM file memory stats, fdinfo
  and is_current_master, and the mm RSS counter.

Signed-off-by: DjDeveloperr <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants