search for: fixup_user_copy

Displaying 6 results from an estimated 6 matches for "fixup_user_copy".

2007 Apr 18
0
[patch 9/9] Guest page hinting: full s390 support.
...ne __FAIL_ADDR_MASK 0x7ffff000 @@ -515,3 +517,74 @@ pfault_interrupt(struct pt_regs *regs, _ } #endif +#if defined(CONFIG_PAGE_STATES) + +static int __init nocmm2(char *str) +{ + machine_flags &= ~MACHINE_HAS_ESSA; + return 1; +} + +__setup("nocmm2", nocmm2); + +static inline void fixup_user_copy(struct pt_regs *regs, + unsigned long address, unsigned short rx) +{ + const struct exception_table_entry *fixup; + unsigned long kaddr; + + kaddr = (regs->gprs[rx >> 12] + (rx & 0xfff)) & __FAIL_ADDR_MASK; + if (virt_to_phys((void *) kaddr) != address) + return; + + fixup =...
2007 Apr 18
0
[patch 9/9] Guest page hinting: full s390 support.
...ne __FAIL_ADDR_MASK 0x7ffff000 @@ -515,3 +517,74 @@ pfault_interrupt(struct pt_regs *regs, _ } #endif +#if defined(CONFIG_PAGE_STATES) + +static int __init nocmm2(char *str) +{ + machine_flags &= ~MACHINE_HAS_ESSA; + return 1; +} + +__setup("nocmm2", nocmm2); + +static inline void fixup_user_copy(struct pt_regs *regs, + unsigned long address, unsigned short rx) +{ + const struct exception_table_entry *fixup; + unsigned long kaddr; + + kaddr = (regs->gprs[rx >> 12] + (rx & 0xfff)) & __FAIL_ADDR_MASK; + if (virt_to_phys((void *) kaddr) != address) + return; + + fixup =...
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