Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clsotog/coresight mmap #36

Open
wants to merge 33 commits into
base: 24.04_linux-nvidia
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
5dfc765
NVIDIA: SAUCE: ACPI/HMAT: Move HMAT messages to pr_debug()
clsotog Dec 6, 2024
82b7289
coresight: Make language around "activated" sinks consistent
James-A-Clark Jan 29, 2024
3969c95
coresight: Remove ops callback checks
James-A-Clark Jan 29, 2024
19c270c
coresight: Move mode to struct coresight_device
James-A-Clark Jan 29, 2024
85e517d
coresight: Remove the 'enable' field.
James-A-Clark Jan 29, 2024
784b8ce
coresight: Move all sysfs code to sysfs file
James-A-Clark Jan 29, 2024
3bf7a83
coresight: Remove atomic type from refcnt
James-A-Clark Jan 29, 2024
36099b3
coresight: Remove unused stubs
James-A-Clark Jan 29, 2024
9c56da6
coresight: Add explicit member initializers to coresight_dev_type
James-A-Clark Jan 29, 2024
3003cd3
coresight: Add helper for atomically taking the device
James-A-Clark Jan 29, 2024
7359687
coresight: Add a helper for getting csdev->mode
James-A-Clark Jan 29, 2024
fe3352f
coresight: Add helper for setting csdev->mode
James-A-Clark Jan 29, 2024
c69c56c
perf auxtrace: Allow number of queues to be specified
James-A-Clark Apr 29, 2024
2a88c82
perf cs-etm: Print error for new PERF_RECORD_AUX_OUTPUT_HW_ID versions
James-A-Clark Apr 29, 2024
62ed13e
libperf cpumap: Add any, empty and min helpers
captain5050 Feb 2, 2024
d3ab73b
perf arm-spe/cs-etm: Directly iterate CPU maps
captain5050 Feb 2, 2024
0bd9c27
perf cs-etm: Use struct perf_cpu as much as possible
James-A-Clark May 1, 2024
7d9cd88
perf cs-etm: Create decoders after both AUX and HW_ID search passes
James-A-Clark Jul 22, 2024
e3d888e
perf: cs-etm: Allocate queues for all CPUs
James-A-Clark Jul 22, 2024
42afcaa
perf: cs-etm: Move traceid_list to each queue
James-A-Clark Jul 22, 2024
1919a75
perf: cs-etm: Create decoders based on the trace ID mappings
James-A-Clark Jul 22, 2024
9bae23c
perf: cs-etm: Only save valid trace IDs into files
James-A-Clark Jul 22, 2024
fed250f
perf: cs-etm: Support version 0.1 of HW_ID packets
James-A-Clark Jul 22, 2024
89d39f7
perf: cs-etm: Print queue number in raw trace dump
James-A-Clark Jul 22, 2024
580b4b9
coresight: Remove unused ETM Perf stubs
James-A-Clark Jul 22, 2024
63fe633
coresight: Clarify comments around the PID of the sink owner
James-A-Clark Jul 22, 2024
ca1621b
coresight: Move struct coresight_trace_id_map to common header
James-A-Clark Jul 22, 2024
a1e2d34
coresight: Expose map arguments in trace ID API
James-A-Clark Jul 22, 2024
361a45a
coresight: Make CPU id map a property of a trace ID map
James-A-Clark Jul 22, 2024
5352a6f
coresight: Use per-sink trace ID maps for Perf sessions
James-A-Clark Jul 22, 2024
a395f3d
coresight: Remove pending trace ID release mechanism
James-A-Clark Jul 22, 2024
7312542
coresight: Emit sink ID in the HW_ID packets
James-A-Clark Jul 22, 2024
c73dbad
coresight: Make trace ID map spinlock local to the map
James-A-Clark Jul 22, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions drivers/acpi/numa/hmat.c
Original file line number Diff line number Diff line change
Expand Up @@ -412,9 +412,9 @@ static __init int hmat_parse_locality(union acpi_subtable_headers *header,
return -EINVAL;
}

pr_info("Locality: Flags:%02x Type:%s Initiator Domains:%u Target Domains:%u Base:%lld\n",
hmat_loc->flags, hmat_data_type(type), ipds, tpds,
hmat_loc->entry_base_unit);
pr_debug("Locality: Flags:%02x Type:%s Initiator Domains:%u Target Domains:%u Base:%lld\n",
hmat_loc->flags, hmat_data_type(type), ipds, tpds,
hmat_loc->entry_base_unit);

inits = (u32 *)(hmat_loc + 1);
targs = inits + ipds;
Expand All @@ -425,9 +425,9 @@ static __init int hmat_parse_locality(union acpi_subtable_headers *header,
value = hmat_normalize(entries[init * tpds + targ],
hmat_loc->entry_base_unit,
type);
pr_info(" Initiator-Target[%u-%u]:%u%s\n",
inits[init], targs[targ], value,
hmat_data_type_suffix(type));
pr_debug(" Initiator-Target[%u-%u]:%u%s\n",
inits[init], targs[targ], value,
hmat_data_type_suffix(type));

hmat_update_target(targs[targ], inits[init],
mem_hier, type, value);
Expand Down Expand Up @@ -455,9 +455,9 @@ static __init int hmat_parse_cache(union acpi_subtable_headers *header,
}

attrs = cache->cache_attributes;
pr_info("Cache: Domain:%u Size:%llu Attrs:%08x SMBIOS Handles:%d\n",
cache->memory_PD, cache->cache_size, attrs,
cache->number_of_SMBIOShandles);
pr_debug("Cache: Domain:%u Size:%llu Attrs:%08x SMBIOS Handles:%d\n",
cache->memory_PD, cache->cache_size, attrs,
cache->number_of_SMBIOShandles);

target = find_mem_target(cache->memory_PD);
if (!target)
Expand Down Expand Up @@ -516,9 +516,9 @@ static int __init hmat_parse_proximity_domain(union acpi_subtable_headers *heade
}

if (hmat_revision == 1)
pr_info("Memory (%#llx length %#llx) Flags:%04x Processor Domain:%u Memory Domain:%u\n",
p->reserved3, p->reserved4, p->flags, p->processor_PD,
p->memory_PD);
pr_debug("Memory (%#llx length %#llx) Flags:%04x Processor Domain:%u Memory Domain:%u\n",
p->reserved3, p->reserved4, p->flags, p->processor_PD,
p->memory_PD);
else
pr_info("Memory Flags:%04x Processor Domain:%u Memory Domain:%u\n",
p->flags, p->processor_PD, p->memory_PD);
Expand Down
Loading