Home
last modified time | relevance | path

Searched full:remap (Results 1 – 25 of 449) sorted by relevance

12345678910>>...18

/linux/drivers/gpu/drm/xe/
H A Dxe_vm.c2307 vma = gpuva_to_vma(op->remap.unmap->va); in print_op()
2308 vm_dbg(&xe->drm, "REMAP:UNMAP: addr=0x%016llx, range=0x%016llx, keep=%d", in print_op()
2310 op->remap.unmap->keep ? 1 : 0); in print_op()
2311 if (op->remap.prev) in print_op()
2313 "REMAP:PREV: addr=0x%016llx, range=0x%016llx", in print_op()
2314 (ULL)op->remap.prev->va.addr, in print_op()
2315 (ULL)op->remap.prev->va.range); in print_op()
2316 if (op->remap.next) in print_op()
2318 "REMAP:NEXT: addr=0x%016llx, range=0x%016llx", in print_op()
2319 (ULL)op->remap.next->va.addr, in print_op()
[all …]
H A Dxe_pt.c1288 if (op->remap.prev) in op_add_deps()
1289 err = vma_add_deps(op->remap.prev, job); in op_add_deps()
1290 if (!err && op->remap.next) in op_add_deps()
1291 err = vma_add_deps(op->remap.next, job); in op_add_deps()
1471 if (op->remap.prev && !op->remap.skip_prev) in op_check_svm_userptr()
1472 err = vma_check_userptr(vm, op->remap.prev, pt_update); in op_check_svm_userptr()
1473 if (!err && op->remap.next && !op->remap.skip_next) in op_check_svm_userptr()
1474 err = vma_check_userptr(vm, op->remap.next, pt_update); in op_check_svm_userptr()
2220 struct xe_vma *old = gpuva_to_vma(op->base.remap.unmap->va); in op_prepare()
2227 if (!err && op->remap.prev && !op->remap.skip_prev) { in op_prepare()
[all …]
/linux/drivers/gpu/drm/imagination/
H A Dpvr_rogue_mips.h48 /* Total number of Remap entries. */
96 /* Remap Range Config Addr Out. */
97 /* These defines refer to the upper half of the Remap Range Config register. */
111 * (see "Firmware virtual layout and remap configuration" section below)
128 /* Firmware virtual layout and remap configuration. */
130 * For each remap region we define:
140 /* Boot remap setup. */
146 /* Data remap setup. */
153 /* Code remap setup. */
330 struct rogue_mips_remap_entry remap[ROGUE_MIPSFW_NUMBER_OF_REMAP_ENTRIES]; member
H A Dpvr_vm.c343 * @op: gpuva op containing the remap details.
406 * pvr_vm_gpuva_remap() - Remap a mapping within a memory context.
407 * @op: gpuva op containing the remap details.
425 drm_gpuva_op_remap_to_unmap_range(&op->remap, &va_start, &va_range); in pvr_vm_gpuva_remap()
430 /* No actual remap required: the page table tree depth is fixed to 3, in pvr_vm_gpuva_remap()
433 drm_gpuva_remap(&ctx->prev_va->base, &ctx->next_va->base, &op->remap); in pvr_vm_gpuva_remap()
435 if (op->remap.prev) { in pvr_vm_gpuva_remap()
441 if (op->remap.next) { in pvr_vm_gpuva_remap()
447 drm_gpuva_unlink(op->remap.unmap->va); in pvr_vm_gpuva_remap()
448 kfree(to_pvr_vm_gpuva(op->remap.unmap->va)); in pvr_vm_gpuva_remap()
H A Dpvr_rogue_mips_check.h53 static_assert(offsetof(struct rogue_mips_state, remap) == 300,
54 "offsetof(struct rogue_mips_state, remap) incorrect");
/linux/arch/x86/xen/
H A Dp2m.c809 const struct nonram_remap *remap = xen_nonram_remap; in xen_do_remap_nonram() local
813 end_pfn = PFN_UP(remap->paddr + remap->size); in xen_do_remap_nonram()
814 pfn = PFN_DOWN(remap->paddr); in xen_do_remap_nonram()
815 mfn = PFN_DOWN(remap->maddr); in xen_do_remap_nonram()
826 remap++; in xen_do_remap_nonram()
836 * Any attempt to map an area crossing a remap boundary will produce a
838 * phys is related to remap->maddr on input and will be rebased to remap->paddr.
844 const struct nonram_remap *remap = xen_nonram_remap; in xen_acpi_os_ioremap() local
847 if (phys + size > remap->maddr && in xen_acpi_os_ioremap()
848 phys < remap->maddr + remap->size) { in xen_acpi_os_ioremap()
[all …]
H A Dsetup.c50 * Buffer used to remap identity mapped pages. We only need the virtual space.
282 * complete remap information is contained in a list of MFNs each containing
283 * up to REMAP_SIZE MFNs and the start target PFN for doing the remap.
319 /* Put remap buf into list. */ in xen_do_set_identity_and_remap_chunk()
336 * 1) Finds a new range of pfns to use to remap based on E820 and remap_pfn.
339 * The goal is to not allocate additional memory but to remap the existing
359 /* Do not remap pages beyond the current allocation */ in xen_set_identity_and_remap_chunk()
447 * Remap the memory prepared in xen_do_set_identity_and_remap_chunk().
448 * The remap information (which mfn remap to which pfn) is contained in the
450 * This scheme allows to remap the different chunks in arbitrary order while
[all …]
/linux/drivers/pinctrl/
H A Dpinctrl-tps6594.c241 u8 remap; member
316 struct muxval_remap *remap; member
325 .remap = tps65224_muxval_remap,
335 .remap = tps65224_muxval_remap,
345 .remap = tps6594_muxval_remap,
421 struct muxval_remap *remap = pinctrl->remap; in tps6594_pmx_set_mux() local
424 if (group == remap[i].group && muxval == remap[i].muxval) { in tps6594_pmx_set_mux()
425 muxval = remap[i].remap; in tps6594_pmx_set_mux()
/linux/drivers/bus/
H A Dmvebu-mbus.c186 /* Checks whether the given window has remap capability */
200 u64 *remap) in mvebu_mbus_read_window() argument
223 if (remap) { in mvebu_mbus_read_window()
230 *remap = ((u64)remap_hi << 32) | remap_low; in mvebu_mbus_read_window()
232 *remap = 0; in mvebu_mbus_read_window()
327 phys_addr_t remap, u8 target, in mvebu_mbus_setup_window() argument
359 if (remap == MVEBU_MBUS_NO_REMAP) in mvebu_mbus_setup_window()
362 remap_addr = remap; in mvebu_mbus_setup_window()
372 phys_addr_t remap, u8 target, in mvebu_mbus_alloc_window() argument
377 if (remap == MVEBU_MBUS_NO_REMAP) { in mvebu_mbus_alloc_window()
[all …]
/linux/drivers/gpu/drm/
H A Ddrm_gpuvm.c118 * containing map, unmap and remap operations for a given newly requested
125 * of unmap operations, a maximum of two remap operations and a single map
139 * for remap operations. This is possible since &drm_gpuva_op_remap consists of
145 * maximum of two remap operations.
151 * are only partially located within the given range, remap operations are
427 * This logic handles GPU VA range updates by generating remap and map operations
440 * remap map remap
442 * one REMAP and one MAP : Same behaviour as SPLIT and MERGE
458 * 3) Either start or end lies within a drm_gpuva. A single remap and map operation
478 * one REMAP and one MAP
[all …]
/linux/Documentation/devicetree/bindings/remoteproc/
H A Damlogic,meson-mx-ao-arc.yaml35 Address ranges of the remap and CPU control addresses for the
41 - const: remap
80 reg-names = "remap", "cpu";
/linux/arch/x86/mm/
H A Dioremap.c170 * Remap an arbitrary physical address space into the kernel virtual
213 * Don't allow anybody to remap normal RAM that we're using.. in __ioremap_caller()
660 pr_warn("failed to remap setup_data entry\n"); in __memremap_is_setup_data()
688 pr_warn("failed to remap indirect setup_data\n"); in __memremap_is_setup_data()
725 * Architecture function to determine if RAM remap is allowed. By default, a
726 * RAM remap will map the data as encrypted. Determine if a RAM remap should
785 /* Remap memory with encryption */
793 * Remap memory with encryption and write-protected - cannot be called
804 /* Remap memory without encryption */
812 * Remap memory without encryption and write-protected - cannot be called
/linux/Documentation/arch/xtensa/
H A Dmmu.rst87 | remap area 1 |
90 | remap area 2 |
130 | remap area 1 |
133 | remap area 2 |
174 | remap area 1 |
177 | remap area 2 |
/linux/drivers/ras/amd/atl/
H A Dmap.c197 /* Save 8 remap entries. */ in df3_6ch_get_dram_addr_map()
265 /* Check if Remap Enable bit is valid. */ in df4_get_dram_addr_map()
272 /* Get Remap registers. */ in df4_get_dram_addr_map()
280 /* Save first 8 remap entries. */ in df4_get_dram_addr_map()
289 /* Save next 8 remap entries. */ in df4_get_dram_addr_map()
321 /* Check if Remap Enable bit is valid. */ in df4p5_get_dram_addr_map()
328 /* Get Remap registers. */ in df4p5_get_dram_addr_map()
336 /* Save first 6 remap entries. */ in df4p5_get_dram_addr_map()
345 /* Save next 6 remap entries. */ in df4p5_get_dram_addr_map()
354 /* Save next 6 remap entries. */ in df4p5_get_dram_addr_map()
/linux/drivers/edac/
H A De7xxx_edac.c97 #define E7XXX_REMAPBASE 0xC6 /* DRAM remap base address reg (16b) */
98 #define E7XXX_REMAPLIMIT 0xC8 /* DRAM remap limit address reg (16b) */
185 u32 remap; in ctl_page_to_phys() local
194 remap = (page - pvt->tolm) + pvt->remapbase; in ctl_page_to_phys()
196 if (remap < pvt->remaplimit) in ctl_page_to_phys()
197 return remap; in ctl_page_to_phys()
481 /* load the top of low memory, remap base, and remap limit vars */ in e7xxx_probe1()
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6sx-sdb-sai.dts24 /* SDMA event remap for SAI1 */
25 fsl,sdma-event-remap = <0 15 1>, <0 16 1>;
H A Dimx6sx-sdb-mqs.dts46 /* SDMA event remap for SAI1 */
47 fsl,sdma-event-remap = <0 15 1>, <0 16 1>;
/linux/sound/soc/sof/mediatek/mt8186/
H A Dmt8186.h73 #define DSP_C0_EMI_MAP_ADDR 0xA00 /* ADSP Core0 To EMI Address Remap */
74 #define DSP_C0_DMAEMI_MAP_ADDR 0xA08 /* DMA0 To EMI Address Remap */
81 /*remap dram between AP and DSP view, 4KB aligned*/
/linux/tools/testing/selftests/mm/
H A Dmremap_test.c101 * Returns false if the requested remap region overlaps with an
257 char *remap, *start; in mremap_expand_merge() local
268 remap = mremap(start, page_size, 2 * page_size, 0); in mremap_expand_merge()
269 if (remap == MAP_FAILED) { in mremap_expand_merge()
289 * we remove the last then attempt to remap offset from the second page. This
297 char *remap, *start; in mremap_expand_merge_offset() local
309 remap = mremap(start + page_size, page_size, 2 * page_size, 0); in mremap_expand_merge_offset()
310 if (remap == MAP_FAILED) { in mremap_expand_merge_offset()
873 * Unmap the VMA, and remap a non-uffd registered (therefore, multi VMA in mremap_move_multi_invalid_vmas()
993 /* Returns the time taken for the remap on success else returns -1. */
[all …]
/linux/drivers/mfd/
H A Dtwl4030-power.c378 u8 remap; in twl4030_configure_resource() local
434 /* Set remap states */ in twl4030_configure_resource()
435 err = twl_i2c_read_u8(TWL_MODULE_PM_RECEIVER, &remap, in twl4030_configure_resource()
438 pr_err("TWL4030 Resource %d remap could not be read\n", in twl4030_configure_resource()
444 remap &= ~OFF_STATE_MASK; in twl4030_configure_resource()
445 remap |= rconfig->remap_off << OFF_STATE_SHIFT; in twl4030_configure_resource()
449 remap &= ~SLEEP_STATE_MASK; in twl4030_configure_resource()
450 remap |= rconfig->remap_sleep << SLEEP_STATE_SHIFT; in twl4030_configure_resource()
454 remap, in twl4030_configure_resource()
457 pr_err("TWL4030 failed to program remap\n"); in twl4030_configure_resource()
/linux/arch/arm/plat-orion/include/plat/
H A Daddr-map.h41 const int remap; member
50 const u8 attr, const int remap);
/linux/arch/arm64/include/asm/
H A Dvectors.h44 * Remap the kernel before branching to the canonical vectors.
55 /* The vectors to use on return from EL0. e.g. to remap the kernel */
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_uvmm.c531 struct drm_gpuva_op_remap *r = &op->remap; in nouveau_uvmm_sm_prepare_unwind()
569 struct drm_gpuva_op_remap *r = &op->remap; in nouveau_uvmm_sm_prepare_unwind()
711 struct drm_gpuva_op_remap *r = &op->remap; in nouveau_uvmm_sm_prepare()
831 /* Actually, we're looking for the GEMs backing remap.prev and in op_gem_obj()
832 * remap.next, but since this is a remap they're identical to in op_gem_obj()
835 return op->remap.unmap->va->gem.obj; in op_gem_obj()
906 op_remap(&op->remap, new); in nouveau_uvmm_sm()
947 struct drm_gpuva_op_remap *r = &op->remap; in nouveau_uvmm_sm_cleanup()
1201 struct drm_gpuva *va = op->remap.unmap->va; in bind_link_gpuvas()
1203 if (op->remap.prev) in bind_link_gpuvas()
[all …]
/linux/drivers/gpu/drm/panthor/
H A Dpanthor_mmu.c165 * @preallocated_vmas: Pre-allocated VMAs to handle the remap case.
168 * trigger a remap call, which need to register up to three panthor_vma objects
1150 /* One VMA for the new mapping, and two more VMAs for the remap case in panthor_vm_op_ctx_prealloc_vmas()
1158 * in the middle of a drm_gpuva, requiring a remap with both in panthor_vm_op_ctx_prealloc_vmas()
1161 * a remap for the first with a prev VA and remap for the last in panthor_vm_op_ctx_prealloc_vmas()
1656 * boundaries in a remap operation can only shift up or down respectively, in panthor_vm_lock_region()
2170 struct panthor_vma *unmap_vma = container_of(op->remap.unmap->va, struct panthor_vma, base); in panthor_gpuva_sm_step_remap()
2177 drm_gpuva_op_remap_to_unmap_range(&op->remap, &unmap_start, &unmap_range); in panthor_gpuva_sm_step_remap()
2182 * page and then remap the difference between the huge page minus the requested in panthor_gpuva_sm_step_remap()
2186 unmap_hugepage_align(&op->remap, &unmap_start, &unmap_range); in panthor_gpuva_sm_step_remap()
[all …]
/linux/drivers/clk/versatile/
H A Dclk-versatile.c64 /* Remap the core module base if not done yet */ in cm_osc_setup()
75 pr_err("could not remap core module base\n"); in cm_osc_setup()

12345678910>>...18