#ifndef __ASM_GENERIC_MMAN_COMMON_H #define __ASM_GENERIC_MMAN_COMMON_H /* Author: Michael S. Tsirkin <mst@mellanox.co.il>, Mellanox Technologies Ltd. Based on: asm-xxx/mman.h */ #define PROT_READ 0x1 /* page can be read */ #define PROT_WRITE 0x2 /* page can be written */ #define PROT_EXEC 0x4 /* page can be executed */ #define PROT_SEM 0x8 /* page may be used for atomic ops */ #define PROT_NONE 0x0 /* page can not be accessed */ #define PROT_GROWSDOWN 0x01000000 /* mprotect flag: extend change to start of growsdown vma */ #define PROT_GROWSUP 0x02000000 /* mprotect flag: extend change to end of growsup vma */ #define MAP_SHARED 0x01 /* Share changes */ #define MAP_PRIVATE 0x02 /* Changes are private */ #define MAP_TYPE 0x0f /* Mask for type of mapping */ #define MAP_FIXED 0x10 /* Interpret addr exactly */ #define MAP_ANONYMOUS 0x20 /* don't use a file */ #ifdef CONFIG_MMAP_ALLOW_UNINITIALIZED # define MAP_UNINITIALIZED 0x4000000 /* For anonymous mmap, memory could be uninitialized */ #else # define MAP_UNINITIALIZED 0x0 /* Don't support this flag */ #endif /* * Flags for mlock */ #define MLOCK_ONFAULT 0x01 /* Lock pages in range after they are faulted in, do not prefault */ #define MS_ASYNC 1 /* sync memory asynchronously */ #define MS_INVALIDATE 2 /* invalidate the caches */ #define MS_SYNC 4 /* synchronous memory sync */ #define MADV_NORMAL 0 /* no further special treatment */ #define MADV_RANDOM 1 /* expect random page references */ #define MADV_SEQUENTIAL 2 /* expect sequential page references */ #define MADV_WILLNEED 3 /* will need these pages */ #define MADV_DONTNEED 4 /* don't need these pages */ /* common parameters: try to keep these consistent across architectures */ #define MADV_FREE 8 /* free pages only if memory pressure */ #define MADV_REMOVE 9 /* remove these pages & resources */ #define MADV_DONTFORK 10 /* don't inherit across fork */ #define MADV_DOFORK 11 /* do inherit across fork */ #define MADV_HWPOISON 100 /* poison a page for testing */ #define MADV_SOFT_OFFLINE 101 /* soft offline page for testing */ #define MADV_MERGEABLE 12 /* KSM may merge identical pages */ #define MADV_UNMERGEABLE 13 /* KSM may not merge identical pages */ #define MADV_HUGEPAGE 14 /* Worth backing with hugepages */ #define MADV_NOHUGEPAGE 15 /* Not worth backing with hugepages */ #define MADV_DONTDUMP 16 /* Explicity exclude from the core dump, overrides the coredump filter bits */ #define MADV_DODUMP 17 /* Clear the MADV_DONTDUMP flag */ /* compatibility flags */ #define MAP_FILE 0 /* * When MAP_HUGETLB is set bits [26:31] encode the log2 of the huge page size. * This gives us 6 bits, which is enough until someone invents 128 bit address * spaces. * * Assume these are all power of twos. * When 0 use the default page size. */ #define MAP_HUGE_SHIFT 26 #define MAP_HUGE_MASK 0x3f #define PKEY_DISABLE_ACCESS 0x1 #define PKEY_DISABLE_WRITE 0x2 #define PKEY_ACCESS_MASK (PKEY_DISABLE_ACCESS |\ PKEY_DISABLE_WRITE) #endif /* __ASM_GENERIC_MMAN_COMMON_H */ f='/cgit.cgi/linux/net-next.git/commit/tools/perf?id=04d8a0a5f3b6887543850d991a5e37c4ec90e250'>perf</a>/<a href='/cgit.cgi/linux/net-next.git/commit/tools/perf/pmu-events?id=04d8a0a5f3b6887543850d991a5e37c4ec90e250'>pmu-events</a>/<a href='/cgit.cgi/linux/net-next.git/commit/tools/perf/pmu-events/arch?id=04d8a0a5f3b6887543850d991a5e37c4ec90e250'>arch</a>/<a href='/cgit.cgi/linux/net-next.git/commit/tools/perf/pmu-events/arch/x86?id=04d8a0a5f3b6887543850d991a5e37c4ec90e250'>x86</a>/<a href='/cgit.cgi/linux/net-next.git/commit/tools/perf/pmu-events/arch/x86/haswellx?id=04d8a0a5f3b6887543850d991a5e37c4ec90e250'>haswellx</a>/<a href='/cgit.cgi/linux/net-next.git/commit/tools/perf/pmu-events/arch/x86/haswellx/cache.json?id=04d8a0a5f3b6887543850d991a5e37c4ec90e250'>cache.json</a></div><div class='content'><div class='cgit-panel'><b>diff options</b><form method='get'><input type='hidden' name='id' value='04d8a0a5f3b6887543850d991a5e37c4ec90e250'/><table><tr><td colspan='2'/></tr><tr><td class='label'>context:</td><td class='ctrl'><select name='context' onchange='this.form.submit();'><option value='1'>1</option><option value='2'>2</option><option value='3' selected='selected'>3</option><option value='4'>4</option><option value='5'>5</option><option value='6'>6</option><option value='7'>7</option><option value='8'>8</option><option value='9'>9</option><option value='10'>10</option><option value='15'>15</option><option value='20'>20</option><option value='25'>25</option><option value='30'>30</option><option value='35'>35</option><option value='40'>40</option></select></td></tr><tr><td class='label'>space:</td><td class='ctrl'><select name='ignorews' onchange='this.form.submit();'><option value='0' selected='selected'>include</option><option value='1'>ignore</option></select></td></tr><tr><td class='label'>mode:</td><td class='ctrl'><select name='dt' onchange='this.form.submit();'><option value='0' selected='selected'>unified</option><option value='1'>ssdiff</option><option value='2'>stat only</option></select></td></tr><tr><td/><td class='ctrl'><noscript><input type='submit' value='reload'/></noscript></td></tr></table></form></div><table summary='commit info' class='commit-info'> <tr><th>author</th><td>Raju Lakkaraju <Raju.Lakkaraju@microsemi.com></td><td class='right'>2017-02-07 19:10:26 +0530</td></tr> <tr><th>committer</th><td>David S. Miller <davem@davemloft.net></td><td class='right'>2017-02-08 13:29:04 -0500</td></tr> <tr><th>commit</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/tools/perf/pmu-events/arch/x86/haswellx/cache.json?id=04d8a0a5f3b6887543850d991a5e37c4ec90e250'>04d8a0a5f3b6887543850d991a5e37c4ec90e250</a> (<a href='/cgit.cgi/linux/net-next.git/patch/tools/perf/pmu-events/arch/x86/haswellx/cache.json?id=04d8a0a5f3b6887543850d991a5e37c4ec90e250'>patch</a>)</td></tr> <tr><th>tree</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/tree/?id=04d8a0a5f3b6887543850d991a5e37c4ec90e250'>ee1fafb2122c2b29c7cb19e571bd7229afdbf847</a> /<a href='/cgit.cgi/linux/net-next.git/tree/tools/perf/pmu-events/arch/x86/haswellx/cache.json?id=04d8a0a5f3b6887543850d991a5e37c4ec90e250'>tools/perf/pmu-events/arch/x86/haswellx/cache.json</a></td></tr> <tr><th>parent</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/tools/perf/pmu-events/arch/x86/haswellx/cache.json?id=ff4cf0e5ce952488074aa7f47734af1794f55fbc'>ff4cf0e5ce952488074aa7f47734af1794f55fbc</a> (<a href='/cgit.cgi/linux/net-next.git/diff/tools/perf/pmu-events/arch/x86/haswellx/cache.json?id=04d8a0a5f3b6887543850d991a5e37c4ec90e250&id2=ff4cf0e5ce952488074aa7f47734af1794f55fbc'>diff</a>)</td></tr></table> <div class='commit-subject'>net: phy: Add LED mode driver for Microsemi PHYs.</div><div class='commit-msg'>LED Mode: Microsemi PHY support 2 LEDs (LED[0] and LED[1]) to display different status information that can be selected by setting LED mode. LED Mode parameter (vsc8531, led-0-mode) and (vsc8531, led-1-mode) get from Device Tree. Signed-off-by: Raju Lakkaraju <Raju.Lakkaraju@microsemi.com> Signed-off-by: David S. Miller <davem@davemloft.net> </div><div class='diffstat-header'><a href='/cgit.cgi/linux/net-next.git/diff/?id=04d8a0a5f3b6887543850d991a5e37c4ec90e250'>Diffstat</a> (limited to 'tools/perf/pmu-events/arch/x86/haswellx/cache.json')</div><table summary='diffstat' class='diffstat'>