lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20180728075441.6950-1-leon@kernel.org>
Date:   Sat, 28 Jul 2018 10:54:41 +0300
From:   Leon Romanovsky <leon@...nel.org>
To:     Vineet Gupta <Vineet.Gupta1@...opsys.com>,
        Randy Dunlap <rdunlap@...radead.org>
Cc:     Ofer Levi <oferle@...lanox.com>,
        Leon Romanovsky <leonro@...lanox.com>,
        LKML <linux-kernel@...r.kernel.org>,
        linux-snps-arc@...ts.infradead.org,
        "Meir Lichtinger" <meirl@...lanox.com>
Subject: [PATCH RESEND] ARC: [plat-eznps] Add missing struct nps_host_reg_aux_dpc

From: Ofer Levi <oferle@...lanox.com>

Fixing compilation issue caused by missing struct nps_host_reg_aux_dpc
definition.

Fixes: 3f9cd874dcc87 ("ARC: [plat-eznps] avoid toggling of DPC register")
Reported-by: Randy Dunlap <rdunlap@...radead.org>
Signed-off-by: Ofer Levi <oferle@...lanox.com>
---
 arch/arc/plat-eznps/include/plat/ctop.h |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/arch/arc/plat-eznps/include/plat/ctop.h b/arch/arc/plat-eznps/include/plat/ctop.h
index 0c7d110..bd34b96 100644
--- a/arch/arc/plat-eznps/include/plat/ctop.h
+++ b/arch/arc/plat-eznps/include/plat/ctop.h
@@ -143,6 +143,15 @@ struct nps_host_reg_gim_p_int_dst {
 };

 /* AUX registers definition */
+struct nps_host_reg_aux_dpc {
+	union {
+		struct {
+			u32 ien:1, men:1, hen:1, reserved:29;
+		};
+		u32 value;
+	};
+};
+
 struct nps_host_reg_aux_udmc {
 	union {
 		struct {
--
1.7.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ