| /linux/arch/x86/events/amd/ |
| H A D | uncore.c | 82 void (*scan)(struct amd_uncore *uncore, unsigned int cpu); 83 int (*init)(struct amd_uncore *uncore, unsigned int cpu); 84 void (*move)(struct amd_uncore *uncore, unsigned int cpu); 85 void (*free)(struct amd_uncore *uncore, unsigned int cpu); 452 int amd_uncore_ctx_cid(struct amd_uncore *uncore, unsigned int cpu) in amd_uncore_ctx_cid() argument 454 union amd_uncore_info *info = per_cpu_ptr(uncore->info, cpu); in amd_uncore_ctx_cid() 459 int amd_uncore_ctx_gid(struct amd_uncore *uncore, unsigned int cpu) in amd_uncore_ctx_gid() argument 461 union amd_uncore_info *info = per_cpu_ptr(uncore->info, cpu); in amd_uncore_ctx_gid() 466 int amd_uncore_ctx_num_pmcs(struct amd_uncore *uncore, unsigned int cpu) in amd_uncore_ctx_num_pmcs() argument 468 union amd_uncore_info *info = per_cpu_ptr(uncore->info, cpu); in amd_uncore_ctx_num_pmcs() [all …]
|
| H A D | Makefile | 6 obj-$(CONFIG_PERF_EVENTS_AMD_UNCORE) += amd-uncore.o 7 amd-uncore-objs := uncore.o
|
| /linux/drivers/platform/x86/intel/uncore-frequency/ |
| H A D | Makefile | 6 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/gt/ |
| H A D | intel_gt_pm_irq.c | 16 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 D | intel_reset.c | 200 struct intel_uncore *uncore = gt->uncore; in g4x_do_reset() local 204 intel_uncore_rmw_fw(uncore, VDECCLK_GATE_D, 0, VCP_UNIT_CLOCK_GATE_DISABLE); in g4x_do_reset() 205 intel_uncore_posting_read_fw(uncore, VDECCLK_GATE_D); in g4x_do_reset() 226 intel_uncore_rmw_fw(uncore, VDECCLK_GATE_D, VCP_UNIT_CLOCK_GATE_DISABLE, 0); in g4x_do_reset() 227 intel_uncore_posting_read_fw(uncore, VDECCLK_GATE_D); in g4x_do_reset() 235 struct intel_uncore *uncore = gt->uncore; in ilk_do_reset() local 238 intel_uncore_write_fw(uncore, ILK_GDSR, in ilk_do_reset() 240 ret = __intel_wait_for_register_fw(uncore, ILK_GDSR, in ilk_do_reset() 249 intel_uncore_write_fw(uncore, ILK_GDSR, in ilk_do_reset() 251 ret = __intel_wait_for_register_fw(uncore, ILK_GDSR, in ilk_do_reset() [all …]
|
| H A D | intel_engine_cs.c | 275 struct intel_uncore *uncore = gt->uncore; in intel_engine_context_size() local 299 cxt_size = intel_uncore_read(uncore, GEN7_CXT_SIZE); in intel_engine_context_size() 303 cxt_size = intel_uncore_read(uncore, CXT_SIZE); in intel_engine_context_size() 318 cxt_size = intel_uncore_read(uncore, CXT_SIZE) + 1; in intel_engine_context_size() 488 engine->uncore = gt->uncore; in intel_engine_setup() 768 media_fuse = intel_uncore_read(gt->uncore, GEN11_GT_VEBOX_VDBOX_DISABLE); in engine_mask_apply_media_fuses() 776 fuse1 = intel_uncore_read(gt->uncore, HSW_PAVP_FUSE1); in engine_mask_apply_media_fuses() 999 intel_uncore_prune_engine_fw_domains(gt->uncore, gt); in intel_engines_init_mmio() 1627 struct intel_uncore *uncore = engine->uncore; in __intel_engine_stop_cs() local 1631 intel_uncore_write_fw(uncore, mode, REG_MASKED_FIELD_ENABLE(STOP_RING)); in __intel_engine_stop_cs() [all …]
|
| H A D | selftest_llc.c | 17 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 D | selftest_reset.c | 52 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 D | selftest_rc6.c | 66 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()
|
| /linux/drivers/gpu/drm/i915/selftests/ |
| H A D | mock_uncore.c | 29 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 D | mock_uncore.h | 31 void mock_uncore_init(struct intel_uncore *uncore,
|
| /linux/drivers/gpu/drm/i915/gem/ |
| H A D | i915_gem_stolen.c | 114 struct intel_uncore *uncore = ggtt->vm.gt->uncore; in adjust_stolen() local 131 ggtt_start = intel_uncore_read(uncore, PGTBL_CTL); in adjust_stolen() 229 struct intel_uncore *uncore, in g4x_get_stolen_reserved() argument 233 u32 reg_val = intel_uncore_read(uncore, in g4x_get_stolen_reserved() 264 struct intel_uncore *uncore, in gen6_get_stolen_reserved() argument 268 u32 reg_val = intel_uncore_read(uncore, GEN6_STOLEN_RESERVED); in gen6_get_stolen_reserved() 297 struct intel_uncore *uncore, in vlv_get_stolen_reserved() argument 301 u32 reg_val = intel_uncore_read(uncore, GEN6_STOLEN_RESERVED); in vlv_get_stolen_reserved() 326 struct intel_uncore *uncore, in gen7_get_stolen_reserved() argument 330 u32 reg_val = intel_uncore_read(uncore, GEN6_STOLEN_RESERVED); in gen7_get_stolen_reserved() [all …]
|
| /linux/drivers/gpu/drm/i915/ |
| H A D | i915_ioctl.c | 44 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()
|
| H A D | i915_driver.c | 336 ret = intel_uncore_init_mmio(gt->uncore); in i915_driver_mmio_probe() 342 gt->uncore); in i915_driver_mmio_probe() 441 snb_pcode_write_p(&i915->uncore, PCODE_POWER_SETUP, in i915_enable_g8() 452 ret = intel_pcode_init(gt->uncore); in i915_pcode_init() 1179 intel_uncore_suspend(gt->uncore); in i915_drm_suspend_late() 1191 if (!dev_priv->uncore.user_forcewake_count) in i915_drm_suspend_late() 1589 intel_uncore_suspend(gt->uncore); in intel_runtime_suspend() 1597 intel_uncore_runtime_resume(&dev_priv->uncore); in intel_runtime_suspend() 1612 if (intel_uncore_arm_unclaimed_mmio_detection(&dev_priv->uncore)) in intel_runtime_suspend() 1648 assert_forcewakes_inactive(&dev_priv->uncore); in intel_runtime_suspend() [all …]
|
| /linux/Documentation/admin-guide/pm/ |
| H A D | intel_uncore_frequency_scaling.rst | 15 The uncore can consume significant amount of power in Intel's Xeon servers based 17 performance, SoCs have internal algorithms for scaling uncore frequency. These 18 algorithms monitor workload usage of uncore and set a desirable frequency. 20 It is possible that users have different expectations of uncore performance and 24 change to uncore frequency. Also, users may have workloads which require 25 different core and uncore performance at distinct phases and they may want to 26 use both cpufreq and the uncore scaling interface to distribute power and 32 To control uncore frequency, a sysfs interface is provided in the directory: 36 uncore scaling control is per die in multiple die/package SoCs or per 54 This attribute is used to set the maximum uncore frequency. [all …]
|
| /linux/arch/x86/events/intel/ |
| H A D | uncore_discovery.c | 714 struct intel_uncore_type *uncore, in uncore_update_uncore_type() argument 717 uncore->type_id = type->type; in uncore_update_uncore_type() 718 uncore->num_counters = type->num_counters; in uncore_update_uncore_type() 719 uncore->perf_ctr_bits = type->counter_width; in uncore_update_uncore_type() 720 uncore->perf_ctr = (unsigned int)type->ctr_offset; in uncore_update_uncore_type() 721 uncore->event_ctl = (unsigned int)type->ctl_offset; in uncore_update_uncore_type() 722 uncore->boxes = &type->units; in uncore_update_uncore_type() 723 uncore->num_boxes = type->num_units; in uncore_update_uncore_type() 727 uncore->ops = &generic_uncore_msr_ops; in uncore_update_uncore_type() 730 uncore->ops = &generic_uncore_pci_ops; in uncore_update_uncore_type() [all …]
|
| H A D | Makefile | 5 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 D | Kconfig | 5 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 D | intel_gsc_uc.c | 24 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 D | qcom_l3_pmu.rst | 7 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 D | hisi-pmu.rst | 2 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 131 For HiSilicon uncore PMU v3 whose identifier is 0x40, some uncore PMUs are 134 on particular uncore device. Such PMUs are described in sysfs with name format 174 Also attach to a task is unsupported as the events are all uncore.
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-bus-event_source-devices-uncore | 6 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 D | processor_mmio_stale_data.rst | 30 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 D | i915_gem_migrate.c | 340 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()
|
| /linux/drivers/devfreq/ |
| H A D | Kconfig | 94 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
|