{"push_id":2726651798,"size":17,"distinct_size":17,"ref":"refs/heads/_v14,17_22__selftests_vm_associate_key_on_a_mapped_page_and_detect_access_violation_mbox_next","head":"823bf19ae08f3efc76a29001f9719341af324228","before":"26801fda4c83ed5f247e496ddf9c37b0f7a8503a","commits":[{"sha":"7cad95cda34951aacc978d4adcf3cb69d5fbef6d","author":{"name":"Ram Pai","email":"d0209d78f54ea1d3d3bcda860e7c176e91ec7e04@us.ibm.com"},"message":"selftests/x86: Move protecton key selftest to arch neutral directory\n\ncc: Dave Hansen <dave.hansen@intel.com>\ncc: Florian Weimer <fweimer@redhat.com>\nSigned-off-by: Ram Pai <linuxram@us.ibm.com>\nSigned-off-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>\nAcked-by: Ingo Molnar <mingo@kernel.org>","distinct":true,"url":"https://api.github.com/repos/ruscur/linux/commits/7cad95cda34951aacc978d4adcf3cb69d5fbef6d"},{"sha":"a5289b5dc8c2252983c2407ad911fd4162d20628","author":{"name":"Ram Pai","email":"d0209d78f54ea1d3d3bcda860e7c176e91ec7e04@us.ibm.com"},"message":"selftests/vm: rename all references to pkru to a generic name\n\nsome pkru references are named to pkey_reg\nand some prku references are renamed to pkey\n\ncc: Dave Hansen <dave.hansen@intel.com>\ncc: Florian Weimer <fweimer@redhat.com>\nSigned-off-by: Ram Pai <linuxram@us.ibm.com>\nSigned-off-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>\nReviewed-by: Dave Hansen <dave.hansen@intel.com>","distinct":true,"url":"https://api.github.com/repos/ruscur/linux/commits/a5289b5dc8c2252983c2407ad911fd4162d20628"},{"sha":"96f9e3a47167fa5aea0515e8c9bb486830ca3d08","author":{"name":"Ram Pai","email":"d0209d78f54ea1d3d3bcda860e7c176e91ec7e04@us.ibm.com"},"message":"selftests/vm: move generic definitions to header file\n\nMoved all the generic definition and helper functions to the header file.\n\ncc: Dave Hansen <dave.hansen@intel.com>\ncc: Florian Weimer <fweimer@redhat.com>\nSigned-off-by: Ram Pai <linuxram@us.ibm.com>\nSigned-off-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>","distinct":true,"url":"https://api.github.com/repos/ruscur/linux/commits/96f9e3a47167fa5aea0515e8c9bb486830ca3d08"},{"sha":"16dccc483e7dfa9b8cebf4bfafc64cf4bcdb83ac","author":{"name":"Thiago Jung Bauermann","email":"48c20631d9d9c584328e9b264d2ada7d3194bf6c@linux.ibm.com"},"message":"selftests/vm: move arch-specific definitions to arch-specific header\n\nIn preparation for multi-arch support, move definitions which have\narch-specific values to x86-specific header.\n\ncc: Dave Hansen <dave.hansen@intel.com>\ncc: Florian Weimer <fweimer@redhat.com>\nSigned-off-by: Ram Pai <linuxram@us.ibm.com>\nSigned-off-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>","distinct":true,"url":"https://api.github.com/repos/ruscur/linux/commits/16dccc483e7dfa9b8cebf4bfafc64cf4bcdb83ac"},{"sha":"4d1800f69cde6cc15b4ab4da9a39147d76a3e243","author":{"name":"Thiago Jung Bauermann","email":"48c20631d9d9c584328e9b264d2ada7d3194bf6c@linux.ibm.com"},"message":"selftests/vm: Make gcc check arguments of sigsafe_printf()\n\nThis will help us ensure we print pkey_reg_t values correctly in different\narchitectures.\n\nSigned-off-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>","distinct":true,"url":"https://api.github.com/repos/ruscur/linux/commits/4d1800f69cde6cc15b4ab4da9a39147d76a3e243"},{"sha":"55da8f055bddb3642aea0223cc8ec6d1f3bbd79f","author":{"name":"Ram Pai","email":"d0209d78f54ea1d3d3bcda860e7c176e91ec7e04@us.ibm.com"},"message":"selftests/vm: typecast the pkey register\n\nThis is in preparation to accomadate a differing size register\nacross architectures.\n\ncc: Dave Hansen <dave.hansen@intel.com>\ncc: Florian Weimer <fweimer@redhat.com>\nSigned-off-by: Ram Pai <linuxram@us.ibm.com>\nSigned-off-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>","distinct":true,"url":"https://api.github.com/repos/ruscur/linux/commits/55da8f055bddb3642aea0223cc8ec6d1f3bbd79f"},{"sha":"02663e720b27c17e2ceb5766fc8e03ed53df0fa2","author":{"name":"Ram Pai","email":"d0209d78f54ea1d3d3bcda860e7c176e91ec7e04@us.ibm.com"},"message":"selftests/vm: generic function to handle shadow key register\n\nhelper functions to handler shadow pkey register\n\ncc: Dave Hansen <dave.hansen@intel.com>\ncc: Florian Weimer <fweimer@redhat.com>\nSigned-off-by: Ram Pai <linuxram@us.ibm.com>\nSigned-off-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>","distinct":true,"url":"https://api.github.com/repos/ruscur/linux/commits/02663e720b27c17e2ceb5766fc8e03ed53df0fa2"},{"sha":"7654da5e1269babe48a45aca885e832eb693c9c2","author":{"name":"Ram Pai","email":"d0209d78f54ea1d3d3bcda860e7c176e91ec7e04@us.ibm.com"},"message":"selftests/vm: fix the wrong assert in pkey_disable_set()\n\nIf the flag is 0, no bits will be set. Hence we cant expect\nthe resulting bitmap to have a higher value than what it\nwas earlier.\n\ncc: Dave Hansen <dave.hansen@intel.com>\ncc: Florian Weimer <fweimer@redhat.com>\nSigned-off-by: Ram Pai <linuxram@us.ibm.com>","distinct":true,"url":"https://api.github.com/repos/ruscur/linux/commits/7654da5e1269babe48a45aca885e832eb693c9c2"},{"sha":"5f41f68d219826b2c6613f1286e7c64ee5db9e9d","author":{"name":"Ram Pai","email":"d0209d78f54ea1d3d3bcda860e7c176e91ec7e04@us.ibm.com"},"message":"selftests/vm: fixed bugs in pkey_disable_clear()\n\ninstead of clearing the bits, pkey_disable_clear() was setting\nthe bits. Fixed it.\n\nAlso fixed a wrong assertion in that function. When bits are\ncleared, the resulting bit value will be less than the original.\n\nThis hasn't been a problem so far because this code isn't currently\nused.\n\ncc: Dave Hansen <dave.hansen@intel.com>\ncc: Florian Weimer <fweimer@redhat.com>\nSigned-off-by: Ram Pai <linuxram@us.ibm.com>","distinct":true,"url":"https://api.github.com/repos/ruscur/linux/commits/5f41f68d219826b2c6613f1286e7c64ee5db9e9d"},{"sha":"94fc7bd3239fa6180177ead71221da8b4540c015","author":{"name":"Ram Pai","email":"d0209d78f54ea1d3d3bcda860e7c176e91ec7e04@us.ibm.com"},"message":"selftests/vm: fix alloc_random_pkey() to make it really random\n\nalloc_random_pkey() was allocating the same pkey every time.\nNot all pkeys were geting tested. fixed it.\n\ncc: Dave Hansen <dave.hansen@intel.com>\ncc: Florian Weimer <fweimer@redhat.com>\nSigned-off-by: Ram Pai <linuxram@us.ibm.com>","distinct":true,"url":"https://api.github.com/repos/ruscur/linux/commits/94fc7bd3239fa6180177ead71221da8b4540c015"},{"sha":"79f7d3a827e52ff0fa19460790865da85397d108","author":{"name":"Ram Pai","email":"d0209d78f54ea1d3d3bcda860e7c176e91ec7e04@us.ibm.com"},"message":"selftests/vm: introduce two arch independent abstraction\n\nopen_hugepage_file() <- opens the huge page file\nget_start_key() <--  provides the first non-reserved key.\n\ncc: Dave Hansen <dave.hansen@intel.com>\ncc: Florian Weimer <fweimer@redhat.com>\nSigned-off-by: Ram Pai <linuxram@us.ibm.com>\nSigned-off-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>\nReviewed-by: Dave Hansen <dave.hansen@intel.com>","distinct":true,"url":"https://api.github.com/repos/ruscur/linux/commits/79f7d3a827e52ff0fa19460790865da85397d108"},{"sha":"c5d356c13cf1f762b2bf13ee0e2c4587b8757696","author":{"name":"Ram Pai","email":"d0209d78f54ea1d3d3bcda860e7c176e91ec7e04@us.ibm.com"},"message":"selftests/vm: pkey register should match shadow pkey\n\nexpected_pkey_fault() is comparing the contents of pkey\nregister with 0. This may not be true all the time. There\ncould be bits set by default by the architecture\nwhich can never be changed. Hence compare the value against\nshadow pkey register, which is supposed to track the bits\naccurately all throughout\n\ncc: Dave Hansen <dave.hansen@intel.com>\ncc: Florian Weimer <fweimer@redhat.com>\nSigned-off-by: Ram Pai <linuxram@us.ibm.com>","distinct":true,"url":"https://api.github.com/repos/ruscur/linux/commits/c5d356c13cf1f762b2bf13ee0e2c4587b8757696"},{"sha":"e513b57dd96338f359dd7e66b65d74f1c80abe3f","author":{"name":"Ram Pai","email":"d0209d78f54ea1d3d3bcda860e7c176e91ec7e04@us.ibm.com"},"message":"selftests/vm: generic cleanup\n\ncleanup the code to satisfy coding styles.\n\ncc: Dave Hansen <dave.hansen@intel.com>\ncc: Florian Weimer <fweimer@redhat.com>\nSigned-off-by: Ram Pai <linuxram@us.ibm.com>","distinct":true,"url":"https://api.github.com/repos/ruscur/linux/commits/e513b57dd96338f359dd7e66b65d74f1c80abe3f"},{"sha":"9dd495c364721ee4cf26c5866721b8d2931df76a","author":{"name":"Ram Pai","email":"d0209d78f54ea1d3d3bcda860e7c176e91ec7e04@us.ibm.com"},"message":"selftests/vm: Introduce generic abstractions\n\nIntroduce generic abstractions and provide architecture\nspecific implementation for the abstractions.\n\ncc: Dave Hansen <dave.hansen@intel.com>\ncc: Florian Weimer <fweimer@redhat.com>\nSigned-off-by: Ram Pai <linuxram@us.ibm.com>\nSigned-off-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>","distinct":true,"url":"https://api.github.com/repos/ruscur/linux/commits/9dd495c364721ee4cf26c5866721b8d2931df76a"},{"sha":"da8d3c747518efb2cf238d1ef5d11c4148ceab47","author":{"name":"Ram Pai","email":"d0209d78f54ea1d3d3bcda860e7c176e91ec7e04@us.ibm.com"},"message":"selftests/vm: powerpc implementation to check support for pkey\n\npkey subsystem is supported if the hardware and kernel has support.\nWe determine that by checking if allocation of a key succeeds or not.\n\ncc: Dave Hansen <dave.hansen@intel.com>\ncc: Florian Weimer <fweimer@redhat.com>\nSigned-off-by: Ram Pai <linuxram@us.ibm.com>","distinct":true,"url":"https://api.github.com/repos/ruscur/linux/commits/da8d3c747518efb2cf238d1ef5d11c4148ceab47"},{"sha":"99a45f2f190e512677457d586344805ae7a02f30","author":{"name":"Ram Pai","email":"d0209d78f54ea1d3d3bcda860e7c176e91ec7e04@us.ibm.com"},"message":"selftests/vm: fix an assertion in test_pkey_alloc_exhaust()\n\nThe maximum number of keys that can be allocated has to\ntake into consideration, that some keys are reserved by\nthe architecture for   specific   purpose. Hence cannot\nbe allocated.\n\nFix the assertion in test_pkey_alloc_exhaust()\n\ncc: Dave Hansen <dave.hansen@intel.com>\ncc: Florian Weimer <fweimer@redhat.com>\nSigned-off-by: Ram Pai <linuxram@us.ibm.com>","distinct":true,"url":"https://api.github.com/repos/ruscur/linux/commits/99a45f2f190e512677457d586344805ae7a02f30"},{"sha":"823bf19ae08f3efc76a29001f9719341af324228","author":{"name":"Ram Pai","email":"d0209d78f54ea1d3d3bcda860e7c176e91ec7e04@us.ibm.com"},"message":"selftests/vm: associate key on a mapped page and detect access violation\n\ndetect access-violation on a page to which access-disabled\nkey is associated much after the page is mapped.\n\ncc: Dave Hansen <dave.hansen@intel.com>\ncc: Florian Weimer <fweimer@redhat.com>\nSigned-off-by: Ram Pai <linuxram@us.ibm.com>\nAcked-by: Dave Hansen <dave.hansen@intel.com>","distinct":true,"url":"https://api.github.com/repos/ruscur/linux/commits/823bf19ae08f3efc76a29001f9719341af324228"}]}
{"actor":{"display_login":"ruscur"}}