aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2017-06-21 15:58:29 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2017-06-23 13:25:38 +1000
commit34f19ff1b5a0d11e46df479623d6936460105c9f (patch)
treecb5697ee0cac4b2db8afbf9127be4f920eff0cba /scripts/const_structs.checkpatch
parentpowerpc/powernv/npu-dma: Add explicit flush when sending an ATSD (diff)
downloadlinux-34f19ff1b5a0d11e46df479623d6936460105c9f.tar.gz
linux-34f19ff1b5a0d11e46df479623d6936460105c9f.zip
powerpc/64: Initialise thread_info for emergency stacks
Emergency stacks have their thread_info mostly uninitialised, which in particular means garbage preempt_count values. Emergency stack code runs with interrupts disabled entirely, and is used very rarely, so this has been unnoticed so far. It was found by a proposed new powerpc watchdog that takes a soft-NMI directly from the masked_interrupt handler and using the emergency stack. That crashed at BUG_ON(in_nmi()) in nmi_enter(). preempt_count()s were found to be garbage. To fix this, zero the entire THREAD_SIZE allocation, and initialize the thread_info. Cc: stable@vger.kernel.org Reported-by: Abdul Haleem <abdhalee@linux.vnet.ibm.com> Signed-off-by: Nicholas Piggin <npiggin@gmail.com> [mpe: Move it all into setup_64.c, use a function not a macro. Fix crashes on Cell by setting preempt_count to 0 not HARDIRQ_OFFSET] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
re.c?id=d7b2bff161cfa3fd53209b6a93d25e544aad8cc0&follow=1'>fsl_udc_core: add support for devices provided by fsl-mph-dr-ofMichael Grzeschik1-0/+2 2017-04-11usb: dwc3: expose dwc3_trb_type_string()Felipe Balbi3-55/+31 2017-04-11usb: dwc3: debugfs: return strings that match tracepointsFelipe Balbi1-4/+4 2017-04-11usb: dwc3: debugfs: make use of dwc3_gadget_link_string()Felipe Balbi1-46/+1 2017-04-11usb: dwc3: debugfs: downcase OTG on 'mode' fileFelipe Balbi1-1/+1 2017-04-11usb: gadget: udc: amd5536: split core and PCI layerRaviteja Garimella5-215/+297 2017-04-11usb: gadget: udc: renesas_usb3: add support for usb role swapYoshihiro Shimoda2-0/+71 2017-04-11usb: gadget: udc: atmel: Minor code cleanupCristian Birsan1-10/+7 2017-04-11usb: gadget: udc: renesas_usb3: add extcon supportYoshihiro Shimoda2-2/+42 2017-04-11usb: gadget: udc: renesas_usb3: add USB ID signal monitoringYoshihiro Shimoda1-4/+63 2017-04-11usb: otg-fsm: Prevent build warning "VDBG" redefinedRoger Quadros3-15/+14 2017-04-11usb: dwc3: use BIT() macro where possibleRoger Quadros3-131/+132 2017-04-11usb: gadget: f_fs: simplify ffs_dev name handlingMichal Nazarewicz2-64/+19 2017-04-11usb: dwc2: simplify optional reset handlingPhilipp Zabel1-14/+4 2017-04-11usb: phy: Remove unused configBaolin Wang2-8/+0 2017-04-11usb: gadget: dummy_hcd: Fix wrong power status bit clear/reset in dummy_hub_c...Yuyang Du1-12/+8 2017-04-11usb: mtu3: Replace the extcon APIChanwoo Choi1-13/+6 2017-04-11usb: gadget: u_ether: conditionally align transfer sizeFelipe Balbi1-2/+6 2017-04-11usb: gadget: u_ether: use better list accessorsFelipe Balbi1-10/+6 2017-04-11usb: dwc3: trace: change format for string to cmd traceFelipe Balbi1-1/+1 2017-04-11usb: gadget: reword configuration choicesRomain Izard1-2/+8 2017-04-11usb: gadget: legacy gadgets are optionalRomain Izard1-0/+1 2017-04-11usb: dwc3: gadget: Fix starting microframe for ISOCJohn Youn1-2/+5 2017-04-11usb: dwc3: exynos: change goto labels to meaningful namesShuah Khan1-11/+11 2017-04-11usb: dwc3: remove dwc3_gadget_init_hw_endpointsBryan O'Donoghue1-9/+4 2017-04-11usb: dwc3: refactor gadget endpoint count calculationBryan O'Donoghue4-43/+14 2017-04-11usb: dwc3: make macros safe to expression argumentsRoger Quadros1-13/+13 2017-04-11usb: dwc2: Add support for STM32F429/439/469 USB OTG HS/FS in FS mode (intern...Bruno Herrera4-1/+40 2017-04-11usb: gadget: udc: remove unnecessary variable and update function prototypeGustavo A. R. Silva1-4/+1 2017-04-11usb: gadget: udc: avoid use of freed pointerGustavo A. R. Silva1-9/+8 2017-04-11usb: dwc2: Make sure we disconnect the gadget stateJohn Stultz1-0/+1 2017-04-11usb: gadget: f_fs: Fix ExtCompat documentation in uapi headerVincent Pelletier1-1/+1