Home
last modified time | relevance | path

Searched refs:uncore (Results 1 – 25 of 53) sorted by relevance

123

/linux/drivers/devfreq/
H A Dhisi_uncore_freq.c3 * HiSilicon uncore frequency scaling driver
63 * struct hisi_uncore_freq - hisi uncore frequency scaling device data
72 * uncore frequency domain
94 static void hisi_uncore_free_pcc_chan(struct hisi_uncore_freq *uncore) in hisi_uncore_free_pcc_chan() argument
96 guard(mutex)(&uncore->pcc_lock); in hisi_uncore_free_pcc_chan()
97 pcc_mbox_free_channel(uncore->pchan); in hisi_uncore_free_pcc_chan()
98 uncore->pchan = NULL; in hisi_uncore_free_pcc_chan()
106 static int hisi_uncore_request_pcc_chan(struct hisi_uncore_freq *uncore) in hisi_uncore_request_pcc_chan() argument
108 struct device *dev = uncore->dev; in hisi_uncore_request_pcc_chan()
111 uncore in hisi_uncore_request_pcc_chan()
145 struct hisi_uncore_freq *uncore; hisi_uncore_pcc_reg_scan() local
164 hisi_uncore_init_pcc_chan(struct hisi_uncore_freq * uncore) hisi_uncore_init_pcc_chan() argument
185 hisi_uncore_cmd_send(struct hisi_uncore_freq * uncore,u8 cmd,u32 * data) hisi_uncore_cmd_send() argument
254 struct hisi_uncore_freq *uncore = dev_get_drvdata(dev); hisi_uncore_target() local
283 struct hisi_uncore_freq *uncore = dev_get_drvdata(dev); hisi_uncore_get_cur_freq() local
303 struct hisi_uncore_freq *uncore = data; devm_hisi_uncore_remove_opp() local
308 hisi_uncore_init_opp(struct hisi_uncore_freq * uncore) hisi_uncore_init_opp() argument
362 struct hisi_uncore_freq *uncore = dev_get_drvdata(df->dev.parent); hisi_platform_gov_handler() local
406 hisi_uncore_remove_platform_gov(struct hisi_uncore_freq * uncore) hisi_uncore_remove_platform_gov() argument
436 hisi_uncore_add_platform_gov(struct hisi_uncore_freq * uncore) hisi_uncore_add_platform_gov() argument
462 hisi_uncore_mark_related_cpus(struct hisi_uncore_freq * uncore,char * property,int (* get_topo_id)(int cpu),const struct cpumask * (* get_cpumask)(int cpu)) hisi_uncore_mark_related_cpus() argument
519 hisi_uncore_mark_related_cpus_wrap(struct hisi_uncore_freq * uncore) hisi_uncore_mark_related_cpus_wrap() argument
541 struct hisi_uncore_freq *uncore = dev_get_drvdata(dev->parent); related_cpus_show() local
554 hisi_uncore_devfreq_register(struct hisi_uncore_freq * uncore) hisi_uncore_devfreq_register() argument
599 struct hisi_uncore_freq *uncore; hisi_uncore_freq_probe() local
[all...]
H A DKconfig94 tristate "HiSilicon uncore DEVFREQ Driver"
99 This adds a DEVFREQ driver that manages uncore frequency scaling for
100 HiSilicon Kunpeng SoCs. This enables runtime management of uncore
101 frequency scaling from kernel and userspace. The uncore domain
/linux/arch/x86/events/amd/
H A Duncore.c83 void (*scan)(struct amd_uncore *uncore, unsigned int cpu);
84 int (*init)(struct amd_uncore *uncore, unsigned int cpu);
85 void (*move)(struct amd_uncore *uncore, unsigned int cpu);
86 void (*free)(struct amd_uncore *uncore, unsigned int cpu);
150 * Some uncore PMUs do not have RDPMC assignments. In such cases, in amd_uncore_read()
478 int amd_uncore_ctx_cid(struct amd_uncore *uncore, unsigned int cpu) in amd_uncore_ctx_cid() argument
480 union amd_uncore_info *info = per_cpu_ptr(uncore->info, cpu); in amd_uncore_ctx_cid()
485 int amd_uncore_ctx_gid(struct amd_uncore *uncore, unsigned int cpu) in amd_uncore_ctx_gid() argument
487 union amd_uncore_info *info = per_cpu_ptr(uncore->info, cpu); in amd_uncore_ctx_gid()
492 int amd_uncore_ctx_num_pmcs(struct amd_uncore *uncore, unsigne argument
498 amd_uncore_ctx_free(struct amd_uncore * uncore,unsigned int cpu) amd_uncore_ctx_free() argument
523 amd_uncore_ctx_init(struct amd_uncore * uncore,unsigned int cpu) amd_uncore_ctx_init() argument
586 amd_uncore_ctx_move(struct amd_uncore * uncore,unsigned int cpu) amd_uncore_ctx_move() argument
620 struct amd_uncore *uncore; amd_uncore_cpu_starting() local
633 struct amd_uncore *uncore; amd_uncore_cpu_online() local
647 struct amd_uncore *uncore; amd_uncore_cpu_down_prepare() local
660 struct amd_uncore *uncore; amd_uncore_cpu_dead() local
709 amd_uncore_df_ctx_scan(struct amd_uncore * uncore,unsigned int cpu) amd_uncore_df_ctx_scan() argument
731 amd_uncore_df_ctx_init(struct amd_uncore * uncore,unsigned int cpu) amd_uncore_df_ctx_init() argument
846 amd_uncore_l3_ctx_scan(struct amd_uncore * uncore,unsigned int cpu) amd_uncore_l3_ctx_scan() argument
865 amd_uncore_l3_ctx_init(struct amd_uncore * uncore,unsigned int cpu) amd_uncore_l3_ctx_init() argument
1007 amd_uncore_umc_ctx_scan(struct amd_uncore * uncore,unsigned int cpu) amd_uncore_umc_ctx_scan() argument
1025 amd_uncore_umc_ctx_init(struct amd_uncore * uncore,unsigned int cpu) amd_uncore_umc_ctx_init() argument
1135 struct amd_uncore *uncore; amd_uncore_init() local
1206 struct amd_uncore *uncore; amd_uncore_exit() local
[all...]
H A DMakefile6 obj-$(CONFIG_PERF_EVENTS_AMD_UNCORE) += amd-uncore.o
7 amd-uncore-objs := uncore.o
/linux/drivers/gpu/drm/i915/gt/
H A Dintel_rps.c53 return rps_to_gt(rps)->uncore; in rps_to_uncore()
75 static void set(struct intel_uncore *uncore, i915_reg_t reg, u32 val) in set() argument
77 intel_uncore_write_fw(uncore, reg, val); in set()
212 intel_uncore_write(gt->uncore, in rps_enable_interrupts()
245 intel_uncore_write(gt->uncore, in rps_disable_interrupts()
283 struct intel_uncore *uncore = rps_to_uncore(rps); in gen5_rps_init() local
308 rgvmodectl = intel_uncore_read(uncore, MEMMODECTL); in gen5_rps_init()
326 struct intel_uncore *uncore = in __ips_chipset_val() local
345 total = intel_uncore_read(uncore, DMIEC); in __ips_chipset_val()
346 total += intel_uncore_read(uncore, DDREC); in __ips_chipset_val()
[all …]
H A Dintel_gt_pm_irq.c16 struct intel_uncore *uncore = gt->uncore; in write_pm_imr() local
29 intel_uncore_write(uncore, reg, mask); in write_pm_imr()
64 struct intel_uncore *uncore = gt->uncore; in gen6_gt_pm_reset_iir() local
69 intel_uncore_write(uncore, reg, reset_mask); in gen6_gt_pm_reset_iir()
70 intel_uncore_write(uncore, reg, reset_mask); in gen6_gt_pm_reset_iir()
71 intel_uncore_posting_read(uncore, reg); in gen6_gt_pm_reset_iir()
77 struct intel_uncore *uncore = gt->uncore; in write_pm_ier() local
90 intel_uncore_write(uncore, reg, mask); in write_pm_ier()
H A Dintel_engine_cs.c276 struct intel_uncore *uncore = gt->uncore; in intel_engine_context_size()
300 cxt_size = intel_uncore_read(uncore, GEN7_CXT_SIZE); in intel_engine_context_size()
304 cxt_size = intel_uncore_read(uncore, CXT_SIZE); in intel_engine_context_size()
319 cxt_size = intel_uncore_read(uncore, CXT_SIZE) + 1; in intel_engine_context_size()
489 engine->uncore = gt->uncore; in intel_engine_setup()
769 media_fuse = intel_uncore_read(gt->uncore, GEN11_GT_VEBOX_VDBOX_DISABLE); in engine_mask_apply_media_fuses()
777 fuse1 = intel_uncore_read(gt->uncore, HSW_PAVP_FUSE1); in engine_mask_apply_media_fuses()
1000 intel_uncore_prune_engine_fw_domains(gt->uncore, g in intel_engines_init_mmio()
275 struct intel_uncore *uncore = gt->uncore; intel_engine_context_size() local
1627 struct intel_uncore *uncore = engine->uncore; __intel_engine_stop_cs() local
1772 struct intel_uncore *uncore = engine->uncore; intel_engine_get_instdone() local
[all...]
H A Dselftest_llc.c17 wakeref = intel_runtime_pm_get(llc_to_gt(llc)->uncore->rpm); in gen6_verify_ring_freq()
33 if (snb_pcode_read(llc_to_gt(llc)->uncore, GEN6_PCODE_READ_MIN_FREQ_TABLE, in gen6_verify_ring_freq()
63 intel_runtime_pm_put(llc_to_gt(llc)->uncore->rpm, wakeref); in gen6_verify_ring_freq()
H A Dselftest_reset.c52 wakeref = intel_runtime_pm_get(gt->uncore->rpm); in __igt_reset_stolen()
176 intel_runtime_pm_put(gt->uncore->rpm, wakeref); in __igt_reset_stolen()
219 wakeref = intel_runtime_pm_get(gt->uncore->rpm); in igt_global_reset()
230 intel_runtime_pm_put(gt->uncore->rpm, wakeref); in igt_global_reset()
247 wakeref = intel_runtime_pm_get(gt->uncore->rpm); in igt_wedged_reset()
254 intel_runtime_pm_put(gt->uncore->rpm, wakeref); in igt_wedged_reset()
H A Dselftest_rc6.c66 wakeref = intel_runtime_pm_get(gt->uncore->rpm); in live_rc6_manual()
118 intel_uncore_read_fw(gt->uncore, GEN6_RC_STATE), in live_rc6_manual()
119 intel_uncore_read_fw(gt->uncore, GEN6_RC_CONTROL), in live_rc6_manual()
152 intel_runtime_pm_put(gt->uncore->rpm, wakeref); in live_rc6_manual()
H A Dselftest_gt_pm.c96 intel_uncore_forcewake_get(gt->uncore, FORCEWAKE_ALL); in live_gt_clocks()
131 intel_uncore_forcewake_put(gt->uncore, FORCEWAKE_ALL); in live_gt_clocks()
/linux/drivers/platform/x86/intel/uncore-frequency/
H A DMakefile6 obj-$(CONFIG_INTEL_UNCORE_FREQ_CONTROL) += intel-uncore-frequency.o
7 intel-uncore-frequency-y := uncore-frequency.o
8 obj-$(CONFIG_INTEL_UNCORE_FREQ_CONTROL) += intel-uncore-frequency-common.o
9 intel-uncore-frequency-common-y := uncore-frequency-common.o
10 obj-$(CONFIG_INTEL_UNCORE_FREQ_CONTROL_TPMI) += intel-uncore-frequency-tpmi.o
11 intel-uncore-frequency-tpmi-y := uncore-frequency-tpmi.o
/linux/drivers/gpu/drm/i915/selftests/
H A Dmock_uncore.c29 nop_write##x(struct intel_uncore *uncore, i915_reg_t reg, u##x val, bool trace) { }
36 nop_read##x(struct intel_uncore *uncore, i915_reg_t reg, bool trace) { return 0; }
42 void mock_uncore_init(struct intel_uncore *uncore, in mock_uncore_init() argument
45 intel_uncore_init_early(uncore, to_gt(i915)); in mock_uncore_init()
47 ASSIGN_RAW_WRITE_MMIO_VFUNCS(uncore, nop); in mock_uncore_init()
48 ASSIGN_RAW_READ_MMIO_VFUNCS(uncore, nop); in mock_uncore_init()
H A Dmock_uncore.h31 void mock_uncore_init(struct intel_uncore *uncore,
H A Di915_mock_selftests.h23 selftest(uncore, intel_uncore_mock_selftests)
/linux/drivers/gpu/drm/i915/
H A Di915_ioctl.c44 struct intel_uncore *uncore = &i915->uncore; in i915_reg_read_ioctl() local
75 reg->val = intel_uncore_read64_2x32(uncore, in i915_reg_read_ioctl()
79 reg->val = intel_uncore_read64(uncore, in i915_reg_read_ioctl()
82 reg->val = intel_uncore_read(uncore, entry->offset_ldw); in i915_reg_read_ioctl()
84 reg->val = intel_uncore_read16(uncore, in i915_reg_read_ioctl()
87 reg->val = intel_uncore_read8(uncore, in i915_reg_read_ioctl()
/linux/arch/x86/events/intel/
H A DMakefile5 obj-$(CONFIG_PERF_EVENTS_INTEL_UNCORE) += intel-uncore.o
6 intel-uncore-objs := uncore.o uncore_nhmex.o uncore_snb.o uncore_snbep.o uncore_discovery.o
/linux/arch/x86/events/
H A DKconfig5 tristate "Intel uncore performance events"
9 Include support for Intel uncore performance events. These are
42 Include support for AMD uncore performance events for use with
46 module will be called 'amd-uncore'.
/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_gsc_uc.c24 wakeref = intel_runtime_pm_get(gt->uncore->rpm); in gsc_work()
95 intel_runtime_pm_put(gt->uncore->rpm, wakeref); in gsc_work()
321 struct intel_uncore *uncore = gt->uncore; in intel_gsc_uc_load_status() local
349 with_intel_runtime_pm(uncore->rpm, wakeref) { in intel_gsc_uc_load_status()
353 u32 status = intel_uncore_read(uncore, in intel_gsc_uc_load_status()
/linux/Documentation/admin-guide/perf/
H A Dqcom_l3_pmu.rst7 by all cores within a socket. Each slice is exposed as a separate uncore perf
12 options in sysfs, see /sys/bus/event_source/devices/l3cache*. Given that these are uncore PMUs
25 Given that these are uncore PMUs the driver does not support sampling, therefore
H A Dhisi-pmu.rst2 HiSilicon SoC uncore Performance Monitoring Unit (PMU)
15 HiSilicon SoC uncore PMU driver
39 ID used to count the uncore PMU event. An "associated_cpus" sysfs attribute is
59 For HiSilicon uncore PMU v2 whose identifier is 0x30, the topology is the same
147 For HiSilicon uncore PMU v3 whose identifier is 0x40, some uncore PMUs are
150 on particular uncore device. Such PMUs are described in sysfs with name format
190 Also attach to a task is unsupported as the events are all uncore.
H A Dfujitsu_uncore_pmu.rst9 Each MAC PMU on these chips is exposed as a uncore perf PMU with device name
11 And each PCI PMU on these chips is exposed as a uncore perf PMU with device name
114 Given that these are uncore PMUs the driver does not support sampling, therefore
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-event_source-devices-uncore6 the uncore PMU if an alias exists on some platforms.
8 They both can be used to access the uncore PMU.
/linux/Documentation/admin-guide/hw-vuln/
H A Dprocessor_mmio_stale_data.rst30 of the uncore on some non-coherent writes. Fill buffer propagation by itself
37 Intel Xeon server E3) uncore implementation. The sideband response buffer is
39 destinations, the uncore logic returns 64 bytes of data to the core, including
47 Intel Xeon server E3) uncore implementation. Similar to the sideband response
66 After propagators may have moved data around the uncore and copied stale data
69 uncore implementation.
75 the client (including Intel Xeon server E3) uncore implementation.
181 from fill buffer to uncore buffers. Execute VERW before C-state transition to
/linux/drivers/gpu/drm/i915/gem/selftests/
H A Di915_gem_migrate.c340 wakeref = intel_runtime_pm_get(__gt->uncore->rpm); in igt_lmem_pages_failsafe_migrate()
344 intel_runtime_pm_put(__gt->uncore->rpm, wakeref); in igt_lmem_pages_failsafe_migrate()
495 wakeref = intel_runtime_pm_get(__gt->uncore->rpm); in igt_lmem_async_migrate()
499 intel_runtime_pm_put(__gt->uncore->rpm, wakeref); in igt_lmem_async_migrate()

123