Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
38d8ed6
hwmon: (core) fix resource leak on devm_kcalloc failure
Oct 23, 2016
5459ada
HID: sensor-hub: Fix packing of result buffer for feature report
spandruvada Oct 27, 2016
1793e1c
HID: intel-ish-hid: Fix !CONFIG_PM build warning
suryasaimadhu Oct 29, 2016
cf0ea4d
HID: usbhid: add ATEN CS962 to list of quirky devices
oneukum Nov 3, 2016
c2ed83f
HID: intel-ish-hid: consolidate ish wake up operation
Evenxf Oct 21, 2016
8b2979f
HID: intel-ish-hid: Move DMA disable code to new function
Evenxf Oct 21, 2016
2a1e3b9
HID: intel-ish-hid: Fix driver reinit failure
Evenxf Oct 21, 2016
021afd5
HID: intel-ish-hid: request_irq failure
spandruvada Oct 21, 2016
4c4480a
HID: sensor: fix attributes in HID sensor interface
joyceooi295 Nov 3, 2016
272d01b
arm64: Fix circular include of asm/lse.h through linux/jump_label.h
ctmarinas Nov 3, 2016
2c7a5c5
openrisc: Define __ro_after_init to avoid crash
groeck Sep 24, 2016
c1f4c2b
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
torvalds Nov 7, 2016
8cebec4
Merge tag 'hwmon-for-linus-v4.9-rc5' of git://git.kernel.org/pub/scm/…
torvalds Nov 7, 2016
17ce1b2
Merge tag 'openrisc-for-linus-v4.9-rc5' of git://git.kernel.org/pub/s…
torvalds Nov 7, 2016
b58ec8b
Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/…
torvalds Nov 7, 2016
fba4f8e
iommu/arm-smmu: Work around ARM DMA configuration
rmurphy-arm Oct 17, 2016
ec615f4
iommu/arm-smmu: Don't inadvertently reject multiple SMMUv3s
rmurphy-arm Nov 3, 2016
3c117b5
iommu/arm-smmu: Check that iommu_fwspecs are ours
rmurphy-arm Nov 2, 2016
8c82d6e
iommu/arm-smmu: Fix out-of-bounds dereference
rmurphy-arm Nov 7, 2016
bea6403
iommu/vt-d: Fix dead-locks in disable_dmar_iommu() path
joergroedel Nov 8, 2016
e3a00f6
Merge tag 'iommu-fixes-v4.9-rc4' of git://git.kernel.org/pub/scm/linu…
torvalds Nov 8, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
openrisc: Define __ro_after_init to avoid crash
openrisc qemu tests fail with the following crash.

Unable to handle kernel access at virtual address 0xc0300c34

Oops#: 0001
CPU #: 0
   PC: c016c710    SR: 0000ae67    SP: c1017e04
   GPR00: 00000000 GPR01: c1017e04 GPR02: c0300c34 GPR03: c0300c34
   GPR04: 00000000 GPR05: c0300cb0 GPR06: c0300c34 GPR07: 000000ff
   GPR08: c107f074 GPR09: c0199ef4 GPR10: c1016000 GPR11: 00000000
   GPR12: 00000000 GPR13: c107f044 GPR14: c0473774 GPR15: 07ce0000
   GPR16: 00000000 GPR17: c107ed8a GPR18: 00009600 GPR19: c107f044
   GPR20: c107ee74 GPR21: 00000003 GPR22: c0473770 GPR23: 00000033
   GPR24: 000000bf GPR25: 00000019 GPR26: c046400c GPR27: 00000001
   GPR28: c0464028 GPR29: c1018000 GPR30: 00000006 GPR31: ccf37483
     RES: 00000000 oGPR11: ffffffff
     Process swapper (pid: 1, stackpage=c1001960)

     Stack: Stack dump [0xc1017cf8]:
     sp + 00: 0xc1017e04
     sp + 04: 0xc0300c34
     sp + 08: 0xc0300c34
     sp + 12: 0x00000000
...

Bisect points to commit d2ec3f7 ("pty: make ptmx file ops read-only
after init"). Fix by defining __ro_after_init for the openrisc
architecture, similar to parisc.

Fixes: d2ec3f7 ("pty: make ptmx file ops read-only after init")
Cc: Kees Cook <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Acked-by: Stafford Horne <[email protected]>
  • Loading branch information
groeck committed Nov 6, 2016
commit 2c7a5c5c48d97ce3105f3258a259f67b7b9d7eb1
2 changes: 2 additions & 0 deletions arch/openrisc/include/asm/cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
* they shouldn't be hard-coded!
*/

#define __ro_after_init __read_mostly

#define L1_CACHE_BYTES 16
#define L1_CACHE_SHIFT 4

Expand Down