/* * Inspired by original work from pxa2xx-regs.h by Nicolas Pitre * Copyright (C) 2014 Robert Jarzmik * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. */ #ifndef __DT_BINDINGS_CLOCK_PXA2XX_H__ #define __DT_BINDINGS_CLOCK_PXA2XX_H__ #define CLK_NONE 0 #define CLK_1WIRE 1 #define CLK_AC97 2 #define CLK_AC97CONF 3 #define CLK_ASSP 4 #define CLK_BOOT 5 #define CLK_BTUART 6 #define CLK_CAMERA 7 #define CLK_CIR 8 #define CLK_CORE 9 #define CLK_DMC 10 #define CLK_FFUART 11 #define CLK_FICP 12 #define CLK_GPIO 13 #define CLK_HSIO2 14 #define CLK_HWUART 15 #define CLK_I2C 16 #define CLK_I2S 17 #define CLK_IM 18 #define CLK_INC 19 #define CLK_ISC 20 #define CLK_KEYPAD 21 #define CLK_LCD 22 #define CLK_MEMC 23 #define CLK_MEMSTK 24 #define CLK_MINI_IM 25 #define CLK_MINI_LCD 26 #define CLK_MMC 27 #define CLK_MMC1 28 #define CLK_MMC2 29 #define CLK_MMC3 30 #define CLK_MSL 31 #define CLK_MSL0 32 #define CLK_MVED 33 #define CLK_NAND 34 #define CLK_NSSP 35 #define CLK_OSTIMER 36 #define CLK_PWM0 37 #define CLK_PWM1 38 #define CLK_PWM2 39 #define CLK_PWM3 40 #define CLK_PWRI2C 41 #define CLK_PXA300_GCU 42 #define CLK_PXA320_GCU 43 #define CLK_SMC 44 #define CLK_SSP 45 #define CLK_SSP1 46 #define CLK_SSP2 47 #define CLK_SSP3 48 #define CLK_SSP4 49 #define CLK_STUART 50 #define CLK_TOUCH 51 #define CLK_TPM 52 #define CLK_UDC 53 #define CLK_USB 54 #define CLK_USB2 55 #define CLK_USBH 56 #define CLK_USBHOST 57 #define CLK_USIM 58 #define CLK_USIM1 59 #define CLK_USMI0 60 #define CLK_MAX 61 #endif c05a88e4996e8177f91b'>refslogtreecommitdiff
path: root/include/dt-bindings/iio
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2017-02-03 17:10:28 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2017-02-08 23:36:29 +1100
commitd7df2443cd5f67fc6ee7c05a88e4996e8177f91b (patch)
tree098a7c0ca4fceb8a65cb1f693c9d71990388933d /include/dt-bindings/iio
parenta0615a16f7d0ceb5804d295203c302d496d8ee91 (diff)
powerpc/mm: Fix spurrious segfaults on radix with autonuma
When autonuma (Automatic NUMA balancing) marks a PTE inaccessible it clears all the protection bits but leave the PTE valid. With the Radix MMU, an attempt at executing from such a PTE will take a fault with bit 35 of SRR1 set "SRR1_ISI_N_OR_G". It is thus incorrect to treat all such faults as errors. We should pass them to handle_mm_fault() for autonuma to deal with. The case of pages that are really not executable is handled by the existing test for VM_EXEC further down. That leaves us with catching the kernel attempts at executing user pages. We can catch that earlier, even before we do find_vma. It is never valid on powerpc for the kernel to take an exec fault to begin with. So fold that test with the existing test for the kernel faulting on kernel addresses to bail out early. Fixes: 1d18ad026844 ("powerpc/mm: Detect instruction fetch denied and report") Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Acked-by: Balbir Singh <bsingharora@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'include/dt-bindings/iio')