From patchwork Sat Jul 28 07:54:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leon Romanovsky X-Patchwork-Id: 950464 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="gYSpMqOV"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="Mp7s2mRy"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41cymV4H3Sz9rxx for ; Sat, 28 Jul 2018 17:55:04 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=C2htDUwc0cMRACW2b8I49rE2G3gZegmyVkj7B504l2Y=; b=gYS pMqOVsxRwsGpBkZGjMqbB5WKR2Fi7/OJCxTiGG2Wt6yXeqI+TtcsI05aCNzwWVipvuEncfqPUtQXB iVaxLIn9topD0Vvk77a11r7AbYqPstqI3xGth4gRRUR9BxHqC9n4LT5eJsrOIFSUrxqAS7EqQAtLp FXcyTW6dVvzw9PifQudKSgQpXIK20p85Lh6iUKfn61wjRNHW7ScjntIf0dwEf/RVOKdkuin0bWzxr m37di//Yncg2FOJaQw2E8iH1quC0J9mvzw0Kr8brFkCo6wxG2NDGAjIRmxKS7B219mwDlaXL+2zlN BvHb6V6JF30fv/GJZ5bYyMmpVBfWA8A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fjK46-0007FO-GO; Sat, 28 Jul 2018 07:55:02 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fjK43-0007DT-2W for linux-snps-arc@lists.infradead.org; Sat, 28 Jul 2018 07:55:00 +0000 Received: from localhost (unknown [213.57.183.250]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 28ACD20862; Sat, 28 Jul 2018 07:54:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1532764486; bh=xsnNprk0nu6MxsTEUEtbYvEEi2DrEz6VtHqgJwFnRQE=; h=From:To:Cc:Subject:Date:From; b=Mp7s2mRyArGldfqR8GtDRJ5gcYZhmDdeVEH+if4IXcGTu7tSh/CB/SpZlatsaEcaQ hcUGL9Gh8k09DW5T3e/Sgf+p3IwfX7FbxU9+3fCJWokKJlfXdVcoghgbOeK9o9Cm69 mhTo7hLz+ecLfNOfReSlkIuWfOs24dXGFC4GnnDU= From: Leon Romanovsky To: Vineet Gupta , Randy Dunlap Subject: [PATCH RESEND] ARC: [plat-eznps] Add missing struct nps_host_reg_aux_dpc Date: Sat, 28 Jul 2018 10:54:41 +0300 Message-Id: <20180728075441.6950-1-leon@kernel.org> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180728_005459_139963_F67CFA6B X-CRM114-Status: UNSURE ( 7.04 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.1 (-----) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-5.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [198.145.29.99 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.0 T_DKIMWL_WL_HIGH DKIMwl.org - Whitelisted High sender X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux on Synopsys ARC Processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Leon Romanovsky , Meir Lichtinger , linux-snps-arc@lists.infradead.org, Ofer Levi , LKML MIME-Version: 1.0 Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org From: Ofer Levi 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 Signed-off-by: Ofer Levi --- arch/arc/plat-eznps/include/plat/ctop.h | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) -- 1.7.1 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 {