search for: mvcp

Displaying 8 results from an estimated 8 matches for "mvcp".

Did you mean: mcp
2007 Apr 18
0
[patch 2/9] Guest page hinting: unused / free pages on s390.
...nux-2.6/arch/s390/lib/uaccess64.S linux-2.6-patched/arch/s390/lib/uaccess64.S --- linux-2.6/arch/s390/lib/uaccess64.S 2006-09-01 12:49:25.000000000 +0200 +++ linux-2.6-patched/arch/s390/lib/uaccess64.S 2006-09-01 12:49:36.000000000 +0200 @@ -20,14 +20,14 @@ __copy_from_user_asm: slgr %r0,%r0 0: mvcp 0(%r3,%r2),0(%r4),%r0 - jnz 1f +7: jnz 1f slgr %r2,%r2 br %r14 1: la %r2,256(%r2) la %r4,256(%r4) aghi %r3,-256 2: mvcp 0(%r3,%r2),0(%r4),%r0 - jnz 1b +8: jnz 1b 3: slgr %r2,%r2 br %r14 4: lghi %r0,-4096 @@ -39,13 +39,16 @@ __copy_from_user_asm: jnh 6f # no, the current page faulte...
2007 Apr 18
0
[patch 2/9] Guest page hinting: unused / free pages on s390.
...nux-2.6/arch/s390/lib/uaccess64.S linux-2.6-patched/arch/s390/lib/uaccess64.S --- linux-2.6/arch/s390/lib/uaccess64.S 2006-09-01 12:49:25.000000000 +0200 +++ linux-2.6-patched/arch/s390/lib/uaccess64.S 2006-09-01 12:49:36.000000000 +0200 @@ -20,14 +20,14 @@ __copy_from_user_asm: slgr %r0,%r0 0: mvcp 0(%r3,%r2),0(%r4),%r0 - jnz 1f +7: jnz 1f slgr %r2,%r2 br %r14 1: la %r2,256(%r2) la %r4,256(%r4) aghi %r3,-256 2: mvcp 0(%r3,%r2),0(%r4),%r0 - jnz 1b +8: jnz 1b 3: slgr %r2,%r2 br %r14 4: lghi %r0,-4096 @@ -39,13 +39,16 @@ __copy_from_user_asm: jnh 6f # no, the current page faulte...
2007 Apr 18
0
[patch 9/9] Guest page hinting: full s390 support.
...he block validity + * exception. + */ + address = S390_lowcore.trans_exc_code & __FAIL_ADDR_MASK; + page = pfn_to_page(address >> PAGE_SHIFT); + + /* + * Check for the special case of a discard fault in + * copy_{from,to}_user. User copy is done using the + * two special instructions mvcp/mvcs. + */ + if (!(regs->psw.mask & PSW_MASK_PSTATE)) { + switch (*(unsigned char *) regs->psw.addr) { + case 0xda: /* mvcp */ + fixup_user_copy(regs, address, + *(__u16 *)(regs->psw.addr + 2)); + break; + case 0xdb: /* mvcs */ + fixup_user_copy(regs, address, + *(__u...
2007 Apr 18
0
[patch 9/9] Guest page hinting: full s390 support.
...he block validity + * exception. + */ + address = S390_lowcore.trans_exc_code & __FAIL_ADDR_MASK; + page = pfn_to_page(address >> PAGE_SHIFT); + + /* + * Check for the special case of a discard fault in + * copy_{from,to}_user. User copy is done using the + * two special instructions mvcp/mvcs. + */ + if (!(regs->psw.mask & PSW_MASK_PSTATE)) { + switch (*(unsigned char *) regs->psw.addr) { + case 0xda: /* mvcp */ + fixup_user_copy(regs, address, + *(__u16 *)(regs->psw.addr + 2)); + break; + case 0xdb: /* mvcs */ + fixup_user_copy(regs, address, + *(__u...
2007 Jun 28
6
[patch 0/6] resend: guest page hinting version 5.
Greetings, after Carsten pitched CMM2 on the kvm mini summit here is a repost of version 5 of the guest page hinting patches. The code is still the same but has been adapted to the latest git level. -- blue skies, Martin. "Reality continues to ruin my life." - Calvin.
2007 Jun 28
6
[patch 0/6] resend: guest page hinting version 5.
Greetings, after Carsten pitched CMM2 on the kvm mini summit here is a repost of version 5 of the guest page hinting patches. The code is still the same but has been adapted to the latest git level. -- blue skies, Martin. "Reality continues to ruin my life." - Calvin.
2007 May 11
6
[patch 0/6] [rfc] guest page hinting version 5
After way to many months here is the fifth version of the guest page hinting patches. Compared to version four a few improvements have been added: - Avoid page_host_discards() calls outside of page-states.h - The discard list is now implemented via the page_free_discarded hook and architecture specific code. - PG_state_change page flag has been replaced with architecture specficic
2007 May 11
6
[patch 0/6] [rfc] guest page hinting version 5
After way to many months here is the fifth version of the guest page hinting patches. Compared to version four a few improvements have been added: - Avoid page_host_discards() calls outside of page-states.h - The discard list is now implemented via the page_free_discarded hook and architecture specific code. - PG_state_change page flag has been replaced with architecture specficic