aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga
diff options
context:
space:
mode:
authorGreentime Hu <greentime.hu@sifive.com>2020-10-29 10:37:38 +0800
committerMarc Zyngier <maz@kernel.org>2020-11-01 11:52:27 +0000
commitf9ac7bbd6e4540dcc6df621b9c9b6eb2e26ded1d (patch)
treeb8c3b8da8ec244e06616053d8df77ef986b219f0 /drivers/fpga
parentirqchip/sifive-plic: Fix broken irq_set_affinity() callback (diff)
downloadlinux-f9ac7bbd6e4540dcc6df621b9c9b6eb2e26ded1d.tar.gz
linux-f9ac7bbd6e4540dcc6df621b9c9b6eb2e26ded1d.zip
irqchip/sifive-plic: Fix chip_data access within a hierarchy
The plic driver crashes in plic_irq_unmask() when the interrupt is within a hierarchy, as it picks the top-level chip_data instead of its local one. Using irq_data_get_irq_chip_data() instead of irq_get_chip_data() solves the issue for good. Fixes: f1ad1133b18f ("irqchip/sifive-plic: Add support for multiple PLICs") Signed-off-by: Greentime Hu <greentime.hu@sifive.com> [maz: rewrote commit message] Signed-off-by: Marc Zyngier <maz@kernel.org> Reviewed-by: Anup Patel <anup@brainfault.org> Reviewed-by: Atish Patra <atish.patra@wdc.com> Link: https://lore.kernel.org/r/20201029023738.127472-1-greentime.hu@sifive.com
Diffstat (limited to 'drivers/fpga')
0 files changed, 0 insertions, 0 deletions
9e419828f91ecf46c85b23576904077f62a1a2e&follow=1'>mlxsw: reg: Give mlxsw_reg_ratr_pack a type parameterPetr Machata2-1/+4 2017-09-03mlxsw: reg: Extract mlxsw_reg_ritr_mac_pack()Petr Machata2-5/+9 2017-09-03mlxsw: reg: Add Routing Tunnel Decap Properties RegisterPetr Machata1-0/+129 2017-09-03mlxsw: reg: Add mlxsw_reg_ralue_act_ip2me_tun_pack()Petr Machata1-0/+9 2017-09-03mlxsw: reg: Move enum mlxsw_reg_ratr_trap_idPetr Machata1-5/+5 2017-09-03mlxsw: reg: Update RATR to support IP-in-IP tunnelsPetr Machata1-0/+66 2017-09-03mlxsw: reg: Update RITR to support loopback devicePetr Machata1-0/+88 2017-09-03net: mvpp2: fallback using h/w and random mac if the dt one isn't validAntoine Tenart1-11/+12 2017-09-03net: mvpp2: fix use of the random mac address for PPv2.2Antoine Tenart1-7/+9 2017-09-03net: mvpp2: move the mac retrieval/copy logic into its own functionAntoine Tenart1-18/+27 2017-09-03net/mlx4_core: fix incorrect size allocation for dev->caps.spec_qpsColin Ian King1-2/+3 2017-09-03net/mlx4_core: fix memory leaks on error exit pathColin Ian King1-1/+2 2017-09-01hv_netvsc: Fix the channel limit in netvsc_set_rxfh()Haiyang Zhang1-1/+1 2017-09-01hv_netvsc: Simplify the limit check in netvsc_set_channels()Haiyang Zhang1-3/+0 2017-09-01hv_netvsc: Simplify num_chn checking in rndis_filter_device_add()Haiyang Zhang1-3/+3 2017-09-01hv_netvsc: Clean up an unused parameter in rndis_filter_set_rss_param()Haiyang Zhang3-5/+4 2017-09-01net: Add module reference to FIB notifiersIdo Schimmel4-2/+17 2017-09-01netvsc: allow driver to be removed even if VF is presentStephen Hemminger1-8/+9 2017-09-01netvsc: cleanup datapath switchStephen Hemminger1-31/+7 2017-09-01bpf: sockmap update/simplify memory accounting schemeJohn Fastabend1-11/+7 2017-09-01net: convert (struct ubuf_info)->refcnt to refcount_tEric Dumazet3-6/+7 2017-09-01net: prepare (struct ubuf_info)->refcnt conversionEric Dumazet2-10/+2 2017-09-01net: systemport: Correctly set TSB endian for hostFlorian Fainelli2-1/+15 2017-09-01tcp_diag: report TCP MD5 signing keys and addressesIvan Delalande3-6/+113 2017-09-01inet_diag: allow protocols to provide additional dataIvan Delalande2-4/+25 2017-09-01ipv6: sr: Use ARRAY_SIZE macroThomas Meyer1-3/+4 2017-09-01net: qualcomm: rmnet: remove unused variable privColin Ian King1-3/+0 2017-09-01net: phy: bcm7xxx: make array bcm7xxx_suspend_cfg static, reduces object code...Colin Ian King1-1/+1 2017-09-01fsl/fman: make arrays port_ids static, reduces object code sizeColin Ian King1-4/+10 2017-09-01inetpeer: fix RCU lookup()Eric Dumazet1-3/+6 2017-09-01epoll: fix race between ep_poll_callback(POLLFREE) and ep_free()/ep_remove()Oleg Nesterov1-16/+26 2017-09-01selftests: correct define in msg_zerocopy.cWillem de Bruijn1-3/+3