/kernel/linux/linux-5.10/drivers/misc/sgi-gru/ |
D | grumain.c | 84 static int gru_wrap_asid(struct gru_state *gru) in gru_wrap_asid() argument 86 gru_dbg(grudev, "gid %d\n", gru->gs_gid); in gru_wrap_asid() 88 gru->gs_asid_gen++; in gru_wrap_asid() 93 static int gru_reset_asid_limit(struct gru_state *gru, int asid) in gru_reset_asid_limit() argument 97 gru_dbg(grudev, "gid %d, asid 0x%x\n", gru->gs_gid, asid); in gru_reset_asid_limit() 101 asid = gru_wrap_asid(gru); in gru_reset_asid_limit() 102 gru_flush_all_tlb(gru); in gru_reset_asid_limit() 103 gid = gru->gs_gid; in gru_reset_asid_limit() 106 if (!gru->gs_gts[i] || is_kernel_context(gru->gs_gts[i])) in gru_reset_asid_limit() 108 inuse_asid = gru->gs_gts[i]->ts_gms->ms_asids[gid].mt_asid; in gru_reset_asid_limit() [all …]
|
D | grutlbpurge.c | 47 static inline int get_off_blade_tgh(struct gru_state *gru) in get_off_blade_tgh() argument 51 n = GRU_NUM_TGH - gru->gs_tgh_first_remote; in get_off_blade_tgh() 53 n += gru->gs_tgh_first_remote; in get_off_blade_tgh() 57 static inline int get_on_blade_tgh(struct gru_state *gru) in get_on_blade_tgh() argument 59 return uv_blade_processor_id() >> gru->gs_tgh_local_shift; in get_on_blade_tgh() 63 *gru) in get_lock_tgh_handle() 69 if (uv_numa_blade_id() == gru->gs_blade_id) in get_lock_tgh_handle() 70 n = get_on_blade_tgh(gru); in get_lock_tgh_handle() 72 n = get_off_blade_tgh(gru); in get_lock_tgh_handle() 73 tgh = get_tgh_by_index(gru, n); in get_lock_tgh_handle() [all …]
|
D | grufile.c | 230 static void gru_init_chiplet(struct gru_state *gru, unsigned long paddr, in gru_init_chiplet() argument 233 spin_lock_init(&gru->gs_lock); in gru_init_chiplet() 234 spin_lock_init(&gru->gs_asid_lock); in gru_init_chiplet() 235 gru->gs_gru_base_paddr = paddr; in gru_init_chiplet() 236 gru->gs_gru_base_vaddr = vaddr; in gru_init_chiplet() 237 gru->gs_gid = blade_id * GRU_CHIPLETS_PER_BLADE + chiplet_id; in gru_init_chiplet() 238 gru->gs_blade = gru_base[blade_id]; in gru_init_chiplet() 239 gru->gs_blade_id = blade_id; in gru_init_chiplet() 240 gru->gs_chiplet_id = chiplet_id; in gru_init_chiplet() 241 gru->gs_cbr_map = (GRU_CBR_AU == 64) ? ~0 : (1UL << GRU_CBR_AU) - 1; in gru_init_chiplet() [all …]
|
D | grukdump.c | 67 static int gru_dump_tfm(struct gru_state *gru, in gru_dump_tfm() argument 77 tfm = get_tfm(gru->gs_gru_base_vaddr, i); in gru_dump_tfm() 87 static int gru_dump_tgh(struct gru_state *gru, in gru_dump_tgh() argument 97 tgh = get_tgh(gru->gs_gru_base_vaddr, i); in gru_dump_tgh() 107 static int gru_dump_context(struct gru_state *gru, int ctxnum, in gru_dump_context() argument 119 grubase = gru->gs_gru_base_vaddr; in gru_dump_context() 140 gts = gru->gs_gts[ctxnum]; in gru_dump_context() 164 hdr.gid = gru->gs_gid; in gru_dump_context() 177 struct gru_state *gru; in gru_dump_chiplet_request() local 191 gru = GID_TO_GRU(req.gid); in gru_dump_chiplet_request() [all …]
|
D | grufault.c | 141 static void get_clear_fault_map(struct gru_state *gru, in get_clear_fault_map() argument 148 tfm = get_tfm_for_cpu(gru, gru_cpu_fault_map_id()); in get_clear_fault_map() 309 static void gru_preload_tlb(struct gru_state *gru, in gru_preload_tlb() argument 338 atomic ? "atomic" : "non-atomic", gru->gs_gid, gts, tfh, in gru_preload_tlb() 355 static int gru_try_dropin(struct gru_state *gru, in gru_try_dropin() argument 428 gru_preload_tlb(gru, gts, atomic, vaddr, asid, write, tlb_preload_count, tfh, cbe); in gru_try_dropin() 439 atomic ? "atomic" : "non-atomic", gru->gs_gid, gts, tfh, vaddr, asid, in gru_try_dropin() 521 struct gru_state *gru; in gru_intr() local 530 gru = &gru_base[blade]->bs_grus[chiplet]; in gru_intr() 531 if (!gru) { in gru_intr() [all …]
|
D | gruprocfs.c | 163 struct gru_state *gru = GID_TO_GRU(gid); in cch_seq_show() local 169 if (gru) in cch_seq_show() 171 ts = gru->gs_gts[i]; in cch_seq_show() 175 gru->gs_gid, gru->gs_blade_id, i, in cch_seq_show() 190 struct gru_state *gru = GID_TO_GRU(gid); in gru_seq_show() local 196 if (gru) { in gru_seq_show() 197 ctxfree = GRU_NUM_CCH - gru->gs_active_contexts; in gru_seq_show() 198 cbrfree = hweight64(gru->gs_cbr_map) * GRU_CBR_AU_SIZE; in gru_seq_show() 199 dsrfree = hweight64(gru->gs_dsr_map) * GRU_DSR_AU_BYTES; in gru_seq_show() 201 gru->gs_gid, gru->gs_blade_id, GRU_NUM_CCH - ctxfree, in gru_seq_show()
|
D | grutables.h | 508 #define for_each_gru_on_blade(gru, nid, i) \ argument 509 for ((gru) = gru_base[nid]->bs_grus, (i) = 0; \ 511 (i)++, (gru)++) 518 #define for_each_gts_on_gru(gts, gru, ctxnum) \ argument 520 if (((gts) = (gru)->gs_gts[ctxnum])) 538 #define gseg_physical_address(gru, ctxnum) \ argument 539 ((gru)->gs_gru_base_paddr + ctxnum * GRU_GSEG_STRIDE) 540 #define gseg_virtual_address(gru, ctxnum) \ argument 541 ((gru)->gs_gru_base_vaddr + ctxnum * GRU_GSEG_STRIDE) 627 extern void gru_tgh_flush_init(struct gru_state *gru); [all …]
|
D | Makefile | 4 obj-$(CONFIG_SGI_GRU) := gru.o 5 gru-y := grufile.o grumain.o grufault.o grutlbpurge.o gruprocfs.o grukservices.o gruhandles.o grukd…
|
D | grukservices.c | 142 struct gru_state *gru; in gru_load_kernel_context() local 174 gru = bs->bs_kgts->ts_gru; in gru_load_kernel_context() 175 vaddr = gru->gs_gru_base_vaddr; in gru_load_kernel_context()
|
/kernel/linux/linux-5.10/arch/arm64/boot/dts/rockchip/ |
D | Makefile | 21 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-gru-bob.dtb 22 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-gru-kevin.dtb 23 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-gru-scarlet-inx.dtb 24 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-gru-scarlet-kd.dtb
|
D | rk3399-gru-scarlet-kd.dts | 10 #include "rk3399-gru-scarlet.dtsi" 27 "google,scarlet", "google,gru", "rockchip,rk3399";
|
D | rk3399-gru-scarlet-inx.dts | 10 #include "rk3399-gru-scarlet.dtsi" 26 "google,scarlet", "google,gru", "rockchip,rk3399";
|
D | rk3399-gru-bob.dts | 9 #include "rk3399-gru-chromebook.dtsi" 18 "google,bob", "google,gru", "rockchip,rk3399";
|
D | rk3399-gru-kevin.dts | 9 #include "rk3399-gru-chromebook.dtsi" 26 "google,kevin", "google,gru", "rockchip,rk3399"; 221 /* Adjustments to things in the gru baseboard */
|
D | rk3399-gru-scarlet.dtsi | 8 #include "rk3399-gru.dtsi" 525 &clk_32k /* This pin is always 32k on gru boards */
|
D | rk3399-gru-chromebook.dtsi | 8 #include "rk3399-gru.dtsi"
|
D | rk3399-gru.dtsi | 283 compatible = "rockchip,rk3399-gru-sound"; 659 &clk_32k /* This pin is always 32k on gru boards */
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
D | rockchip,rk3399-gru-sound.txt | 4 - compatible: "rockchip,rk3399-gru-sound" 18 compatible = "rockchip,rk3399-gru-sound";
|
/kernel/linux/linux-5.10/sound/soc/rockchip/ |
D | Makefile | 15 snd-soc-rk3399-gru-sound-objs := rk3399_gru_sound.o 20 obj-$(CONFIG_SND_SOC_RK3399_GRU_SOUND) += snd-soc-rk3399-gru-sound.o
|
/kernel/linux/linux-5.10/drivers/misc/ |
D | Makefile | 27 obj-$(CONFIG_SGI_GRU) += sgi-gru/
|
/kernel/linux/linux-5.10/arch/x86/kernel/apic/ |
D | x2apic_uv_x.c | 924 union uvh_rh_gam_gru_overlay_config_u gru; in map_gru_high() local 929 gru.v = uv_read_local_mmr(UVH_RH_GAM_GRU_OVERLAY_CONFIG); in map_gru_high() 933 gru.v = uv_read_local_mmr(UVH_RH10_GAM_GRU_OVERLAY_CONFIG); in map_gru_high() 941 if (!gru.s.enable) { in map_gru_high() 946 base = (gru.v & mask) >> shift; in map_gru_high()
|
/kernel/linux/linux-5.10/Documentation/userspace-api/ioctl/ |
D | ioctl-number.rst | 134 'G' 00-3F drivers/misc/sgi-gru/grulib.h conflict!
|
/kernel/linux/linux-5.10/ |
D | MAINTAINERS | 15825 F: drivers/misc/sgi-gru/
|