summaryrefslogtreecommitdiff
path: root/include/net/net_ratelimit.h
blob: 7727b4247daf5dbbbd543933a6d762ed298cfb3f (plain)
1
2
3
4
5
6
7
8
#ifndef _LINUX_NET_RATELIMIT_H
#define _LINUX_NET_RATELIMIT_H

#include <linux/ratelimit.h>

extern struct ratelimit_state net_ratelimit_state;

#endif	/* _LINUX_NET_RATELIMIT_H */
ref='/cgit.cgi/linux/net-next.git/tree/?id=882416c1e4d1c9d4c7b50e0f5c3fa9ef043cd710'>eafa9c29e8e048e29a1a0240c023452088e5a738 parentcbcc72e037b8a3eb1fad3c1ae22021df21c97a51 (diff)
arm64: Fix EL1/EL2 early init inconsistencies with VHE
When using the Virtualisation Host Extensions, EL1 is not used in the host and requires no separate configuration. In addition, with VHE enabled, non-hyp-specific EL2 configuration that does not need to be done early will be done anyway in __cpu_setup via the _EL1 system register aliases. In particular, the layout and definition of CPTR_EL2 are changed by enabling VHE so that they resemble CPACR_EL1, so existing code to initialise CPTR_EL2 becomes architecturally wrong in this case. This patch simply skips the affected initialisation code in the non-VHE case. Signed-off-by: Dave Martin <Dave.Martin@arm.com> Reviewed-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat