Home
last modified time | relevance | path

Searched full:save (Results 1 – 25 of 4090) sorted by relevance

12345678910>>...164

/openbmc/linux/arch/x86/kvm/svm/
H A Dnested.c97 kvm_init_shadow_npt_mmu(vcpu, X86_CR0_PG, svm->vmcb01.ptr->save.cr4, in nested_svm_init_mmu_context()
98 svm->vmcb01.ptr->save.efer, in nested_svm_init_mmu_context()
156 if (!(svm->vmcb01.ptr->save.rflags & X86_EFLAGS_IF)) in recalc_intercepts()
283 struct vmcb_save_area_cached *save) in __nested_vmcb_check_save() argument
285 if (CC(!(save->efer & EFER_SVME))) in __nested_vmcb_check_save()
288 if (CC((save->cr0 & X86_CR0_CD) == 0 && (save->cr0 & X86_CR0_NW)) || in __nested_vmcb_check_save()
289 CC(save->cr0 & ~0xffffffffULL)) in __nested_vmcb_check_save()
292 if (CC(!kvm_dr6_valid(save->dr6)) || CC(!kvm_dr7_valid(save->dr7))) in __nested_vmcb_check_save()
300 if ((save->efer & EFER_LME) && (save->cr0 & X86_CR0_PG)) { in __nested_vmcb_check_save()
301 if (CC(!(save->cr4 & X86_CR4_PAE)) || in __nested_vmcb_check_save()
[all …]
H A Dsvm.c206 /* enable/disable Next RIP Save */
344 svm->vmcb->save.efer = efer | EFER_SVME; in svm_set_efer()
400 old_rflags = svm->vmcb->save.rflags; in __svm_skip_emulated_instruction()
406 svm->vmcb->save.rflags = old_rflags; in __svm_skip_emulated_instruction()
446 * Save the injection information, even when using next_rip, as the in svm_update_soft_interrupt_rip()
455 svm->soft_int_csbase = svm->vmcb->save.cs.base; in svm_update_soft_interrupt_rip()
823 * save it. in msr_write_intercepted()
827 * save it. in msr_write_intercepted()
1003 to_vmcb->save.dbgctl = from_vmcb->save.dbgctl; in svm_copy_lbrs()
1004 to_vmcb->save.br_from = from_vmcb->save.br_from; in svm_copy_lbrs()
[all …]
/openbmc/qemu/target/i386/tcg/sysemu/
H A Dsvm_helper.c186 /* save the current CPU state in the hsave page */ in helper_vmrun()
187 x86_stq_phys(cs, env->vm_hsave + offsetof(struct vmcb, save.gdtr.base), in helper_vmrun()
189 x86_stl_phys(cs, env->vm_hsave + offsetof(struct vmcb, save.gdtr.limit), in helper_vmrun()
192 x86_stq_phys(cs, env->vm_hsave + offsetof(struct vmcb, save.idtr.base), in helper_vmrun()
194 x86_stl_phys(cs, env->vm_hsave + offsetof(struct vmcb, save.idtr.limit), in helper_vmrun()
198 env->vm_hsave + offsetof(struct vmcb, save.cr0), env->cr[0]); in helper_vmrun()
200 env->vm_hsave + offsetof(struct vmcb, save.cr2), env->cr[2]); in helper_vmrun()
202 env->vm_hsave + offsetof(struct vmcb, save.cr3), env->cr[3]); in helper_vmrun()
204 env->vm_hsave + offsetof(struct vmcb, save.cr4), env->cr[4]); in helper_vmrun()
206 env->vm_hsave + offsetof(struct vmcb, save.dr6), env->dr[6]); in helper_vmrun()
[all …]
/openbmc/linux/drivers/pci/
H A Dvc.c19 * pci_vc_save_restore_dwords - Save or restore a series of dwords
22 * @buf: buffer to save to or restore from
23 * @dwords: number of dwords to save/restore
24 * @save: whether to save or restore
27 u32 *buf, int dwords, bool save) in pci_vc_save_restore_dwords() argument
32 if (save) in pci_vc_save_restore_dwords()
171 * pci_vc_do_save_buffer - Size, save, or restore VC state
174 * @save_state: buffer for save/restore
175 * @save: if provided a buffer, this indicates what to do with it
177 * Walking Virtual Channel config space to size, save, or restore it
[all …]
/openbmc/linux/tools/testing/selftests/kvm/lib/x86_64/
H A Dsvm.c67 struct vmcb_save_area *save = &vmcb->save; in generic_svm_setup() local
81 vmcb_set_seg(&save->es, get_es(), 0, -1U, data_seg_attr); in generic_svm_setup()
82 vmcb_set_seg(&save->cs, get_cs(), 0, -1U, code_seg_attr); in generic_svm_setup()
83 vmcb_set_seg(&save->ss, get_ss(), 0, -1U, data_seg_attr); in generic_svm_setup()
84 vmcb_set_seg(&save->ds, get_ds(), 0, -1U, data_seg_attr); in generic_svm_setup()
85 vmcb_set_seg(&save->gdtr, 0, get_gdt().address, get_gdt().size, 0); in generic_svm_setup()
86 vmcb_set_seg(&save->idtr, 0, get_idt().address, get_idt().size, 0); in generic_svm_setup()
89 save->cpl = 0; in generic_svm_setup()
90 save->efer = rdmsr(MSR_EFER); in generic_svm_setup()
91 asm volatile ("mov %%cr4, %0" : "=r"(save->cr4) : : "memory"); in generic_svm_setup()
[all …]
/openbmc/linux/arch/powerpc/platforms/cell/spufs/
H A Dspu_save.c7 * SPU-side context save sequence outlined in
29 /* Save, Step 2: in save_event_mask()
30 * Read the SPU_RdEventMsk channel and save to the LSCSA. in save_event_mask()
40 /* Save, Step 3: in save_tag_mask()
41 * Read the SPU_RdTagMsk channel and save to the LSCSA. in save_tag_mask()
55 /* Save, Step 7: in save_upper_240kb()
72 /* Save, Step 9: in save_fpcr()
74 * read instruction, and save to the LSCSA. in save_fpcr()
84 /* Save, Step 10: in save_decr()
85 * Read and save the SPU_RdDec channel data to in save_decr()
[all …]
H A Dswitch.c17 * save, and then later (optionally) restore the context of a
66 /* Save, Step 1: in acquire_spu_lock()
86 /* Save, Step 2: in check_spu_isolate()
87 * Save, Step 6: in check_spu_isolate()
99 /* Save, Step 3: in disable_interrupts()
101 * Save INT_Mask_class0 in CSA. in disable_interrupts()
103 * Save INT_Mask_class1 in CSA. in disable_interrupts()
105 * Save INT_Mask_class2 in CSA. in disable_interrupts()
136 /* Save, Step 4: in set_watchdog_timer()
139 * maximum allowable time for a context save sequence. in set_watchdog_timer()
[all …]
H A Dspu_save_crt0.S3 * crt0_s.S: Entry function for SPU-side context save.
7 * Entry function for SPU-side of the context save sequence.
23 /* SPU Context Save Step 1: Save the first 16 GPRs. */
41 /* SPU Context Save, Step 8: Save the remaining 112 GPRs. */
67 * This is needed so that main has a place to save the
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/ipvsadm/ipvsadm/
H A D0003-ipvsadm-remove-dependency-on-bash.patch6 The save/restore scripts are very simple and don't depend on any BASH
14 ipvsadm-save | 2 +-
27 diff --git a/ipvsadm-save b/ipvsadm-save
29 --- a/ipvsadm-save
30 +++ b/ipvsadm-save
34 # ipvsadm-save - Save IPVS rules
36 # A very simple wrapper to save IPVS rules
/openbmc/linux/arch/arm/mach-sa1100/
H A Dpm.c15 * Save more value for the resume function! Support
22 * 2002-05-27: Nicolas Pitre Killed sleep.h and the kmalloced save array.
40 #define SAVE(x) sleep_save[SLEEP_SAVE_##x] = x macro
63 /* save vital registers */ in sa11x0_pm_enter()
64 SAVE(GPDR); in sa11x0_pm_enter()
65 SAVE(GAFR); in sa11x0_pm_enter()
67 SAVE(PPDR); in sa11x0_pm_enter()
68 SAVE(PPSR); in sa11x0_pm_enter()
69 SAVE(PPAR); in sa11x0_pm_enter()
70 SAVE(PSDR); in sa11x0_pm_enter()
[all …]
/openbmc/openbmc/meta-phosphor/recipes-phosphor/initrdscripts/files/
H A Dobmc-update.sh92 save=/run/save/${upper##*/}
117 --save-files Copy whitelisted files to save directory in RAM
118 --no-save-files Don't copy whitelisted files to save directory
119 --copy-files Copy files from save directory to rwfs mountpoint
120 --restore-files Restore files from save directory to rwfs layer
134 --no-save-files)
137 --save-files)
180 d="$save/$f"
238 if test -d "$save" -a "$toram" = "y"
241 cp -rp "$save/." "$upper/"
[all …]
/openbmc/openbmc/poky/bitbake/lib/toaster/bldcontrol/management/commands/
H A Drunbuilds.py32 bec.be.save()
46 br.save()
55 br.save()
64 br.save()
83 br.save()
85 bec.be.save()
91 log_object.save()
93 br.build.save()
101 br.save()
127 br.build.save()
[all …]
/openbmc/qemu/docs/devel/migration/
H A Dvirtio.rst29 Save state procedure
37 save() function registered
42 - save proxy device
43 - save transport-specific
45 - save common device
47 - save common virtqueue
50 - save transport-specific
53 - save device-specific
55 - save subsections
/openbmc/qemu/hw/ppc/
H A Dspapr_nested.c105 spapr->nested.ptcr = ptcr; /* Save new partition table */ in h_set_ptbl()
136 static void nested_save_state(struct nested_ppc_state *save, PowerPCCPU *cpu) in nested_save_state() argument
141 memcpy(save->gpr, env->gpr, sizeof(save->gpr)); in nested_save_state()
143 save->lr = env->lr; in nested_save_state()
144 save->ctr = env->ctr; in nested_save_state()
145 save->cfar = env->cfar; in nested_save_state()
146 save->msr = env->msr; in nested_save_state()
147 save->nip = env->nip; in nested_save_state()
149 save->cr = ppc_get_cr(env); in nested_save_state()
150 save->xer = cpu_read_xer(env); in nested_save_state()
[all …]
/openbmc/linux/arch/ia64/lib/
H A Dxor.S14 .save ar.pfs, r31
16 .save ar.lc, r30
18 .save pr, r29
52 .save ar.pfs, r31
54 .save ar.lc, r30
56 .save pr, r29
93 .save ar.pfs, r31
95 .save ar.lc, r30
97 .save pr, r29
137 .save ar.pfs, r31
[all …]
/openbmc/linux/arch/powerpc/lib/
H A Dtest_emulate_step_exec_instr.S32 * Save non-volatile GPRs on stack. This includes TOC pointer (GPR2)
44 * Save LR on stack to ensure that the return address is available
51 * Save CR on stack. For simplicity, the entire register is saved
92 * save it to pt_regs.
97 /* Save resulting GPR state to pt_regs */
104 /* Save resulting LR to pt_regs */
108 /* Save resulting CR to pt_regs */
112 /* Save resulting XER to pt_regs */
116 /* Restore resulting GPR3 from scratch space and save it to pt_regs */
/openbmc/linux/arch/x86/kernel/
H A Dftrace_64.S20 /* Save parent and function stack frames (rip and rbp) */
23 /* No need to save a stack frame */
27 /* Size of stack used to save mcount regs in save_mcount_regs */
58 /* Save the original rbp */
63 * is not set up properly. If fentry is used, we need to save a frame
69 /* Save the parent pointer (skip orig rbp and our return address) */
73 /* Save the return address (now skip orig rbp, rbp and parent) */
80 * We add enough stack to save all regs.
92 * Save the original RBP. Even though the mcount ABI does not
117 .macro restore_mcount_regs save=0 argument
[all …]
/openbmc/linux/arch/sparc/kernel/
H A Dwuf.S60 * T == the trap itself has save'd us into this
113 save %g0, %g0, %g0
114 save %g0, %g0, %g0
144 /* Place a pt_regs frame on the kernel stack, save back
157 /* Save current in a global while we change windows. */
160 save %g0, %g0, %g0
165 mov %fp, %g4 /* Save bogus frame pointer. */
167 save %g0, %g0, %g0
182 /* Fix users window mask and buffer save count. */
205 save %g0, %g0, %g0 /* Save to window 'O' */
[all …]
/openbmc/linux/arch/powerpc/kernel/trace/
H A Dftrace_entry.S32 * Our job is to save the register state into a struct pt_regs (on the stack)
42 /* Save all gprs to pt_regs */
47 /* Save the original return address in A's stack frame */
64 /* Save previous stack pointer (r1) */
69 /* Load special regs for save below */
81 /* Save it as pt_regs->nip */
83 /* Also save it in B's stackframe header for proper unwind */
85 /* Save the read LR in pt_regs->link */
89 /* Save callee's TOC in the ABI compliant location */
109 /* Save special regs */
[all …]
/openbmc/openbmc/meta-quanta/meta-olympus-nuvoton/recipes-olympus-nuvoton/network/
H A Dolympus-nuvoton-iptable-save.bb1 SUMMARY = "Iptable Save"
2 DESCRIPTION = "Save iptable rules"
9 SRC_URI = "file://phosphor-save-iptable-rules.service"
10 SYSTEMD_SERVICE:${PN} = "phosphor-save-iptable-rules.service"
16 install -m 0644 ${UNPACKDIR}/phosphor-save-iptable-rules.service \
/openbmc/openbmc/poky/bitbake/lib/toaster/tests/browser/
H A Dtest_most_recent_builds_states.py56 build.save()
59 build_request.save()
73 build.save()
87 build.save()
104 task1.save()
121 task2.save()
144 build.save()
162 build.save()
180 build_request.save()
193 build.save()
/openbmc/linux/arch/sh/kernel/cpu/shmobile/
H A Dsleep.S30 /* save mode flags */
33 /* save original vbr */
40 /* save return address */
44 /* save sr */
48 /* save general purpose registers to stack if needed */
62 /* make sure bank0 is selected, save low registers */
71 /* switch to bank 1, save low registers */
87 /* save sp, also set to internal ram */
91 /* save stbcr */
95 /* save mmu and cache context if needed */
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/gdb/gdb/
H A D0006-Fix-invalid-sigprocmask-call.patch24 * common/signals-state-save-restore.c (save_original_signals_state):
31 gdbsupport/signals-state-save-restore.cc | 2 +-
34 diff --git a/gdbsupport/signals-state-save-restore.cc b/gdbsupport/signals-state-save-restore.cc
36 --- a/gdbsupport/signals-state-save-restore.cc
37 +++ b/gdbsupport/signals-state-save-restore.cc
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Control/Power/
H A DIdlePowerSaver.interface.yaml8 This property shall indicate whether idle power save is enabled.
14 computer system shall be lower than to enter idle power save.
27 computer system shall be above than to exit idle power save.
41 This property shall indicate whether idle power save is currently
43 to save energy.
/openbmc/qemu/target/loongarch/tcg/insn_trans/
H A Dtrans_privileged.c.inc106 CSR_OFF_ARRAY(SAVE, 0),
107 CSR_OFF_ARRAY(SAVE, 1),
108 CSR_OFF_ARRAY(SAVE, 2),
109 CSR_OFF_ARRAY(SAVE, 3),
110 CSR_OFF_ARRAY(SAVE, 4),
111 CSR_OFF_ARRAY(SAVE, 5),
112 CSR_OFF_ARRAY(SAVE, 6),
113 CSR_OFF_ARRAY(SAVE, 7),
114 CSR_OFF_ARRAY(SAVE, 8),
115 CSR_OFF_ARRAY(SAVE, 9),
[all …]

12345678910>>...164