summaryrefslogtreecommitdiff
path: root/net/llc/llc_s_ev.c
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2017-02-09 09:17:37 -0800
committerDavid S. Miller <davem@davemloft.net>2017-02-10 15:52:27 -0500
commitfdace6c224e9fc0e81337b6fee3cfd136824c983 (patch)
tree9dbce8b28773a41dde50b9da5dd26c15bcdde023 /net/llc/llc_s_ev.c
parent6f1cd5ca359276508a2c55e638a4a2cc28f8e4ae (diff)
nfp: allocate irqs in lower driver
PF services multiple ports using single PCI device therefore IRQs can no longer be allocated in the netdev code. Lower portion of the driver has to allocate the IRQs and hand them out to ports. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/llc/llc_s_ev.c')
0 files changed, 0 insertions, 0 deletions
eries addresses both of these issues. The queues are fixed by simply zeroing the memory before use. PIO errors from userspace will result in a SIGBUS being sent to the user process. The MEM errors form userspace will result in a SIGKILL and also cause the offending pages to be claimed so they are no longer used in future tasks. SIGKILL is used to ensure that the process does not try to coredump and result in an attempt to read the memory again from within kernel space. Although there is a HV call to scrub the memory (mem_scrub), there is no easy way to guarantee that the real memory address(es) are not used by other tasks. Clearing the error with mem_scrub would zero the memory and cause the other processes to proceed with bad data. The handling of other non-resumable errors remain unchanged and will cause a panic. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/drm/Kbuild')