Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp24664pxk; Tue, 15 Sep 2020 16:42:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQO+QTFYB71ORtVScecMoAA4XAKNn0Uc0zZQK75DJpyG3EMjUcYbjmjDqX2UiPxdbVM/mE X-Received: by 2002:a17:906:49cb:: with SMTP id w11mr10828804ejv.530.1600213372606; Tue, 15 Sep 2020 16:42:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600213372; cv=none; d=google.com; s=arc-20160816; b=ZSxKbc+ZzD0D3TbVbMWGb1Zh5DamQLS+T3Owd/z0c0/JQ6PFpBORENM0kbbNin+8BA CFmV48vkrNrYal6pYNwK0o/DiBM0+3UEJ7bwhClHPJIIQ0lB5cuWLJBDmu3JJmwNkPXy Q0WkxEPCH5J7mx1C+VR0XMNFlPSiNuhwOVW4VCcqWLcxb+c/TuZ3bJ1xY3+AxWo5SJg0 J5SCSS44aB8r9xNsK4kHazmV3+4lhylMYkdlJgHpfzOMnL4LBHg3e9kxjObIXYKPt2QT FVKc/5vJUvw5E1IwfSFGQvdydl+8LIurIz1HD2G0Iegq5lkb5XPNZzJQhO8OZOJDv8q5 xk/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=mH12s8BAJC79KiAoofYJ4jRVbTHoP9hnCruI2VMJDJk=; b=hNZGywZlcR6vsPo0ijxyIt5K19YMzPqi0hp7Nzmwv5SmBzQJ+k3vwlvaLzOsqG/Onq J3GNoU1ZH9jjk6m3Ve+tmQcFXQIHhB8YtswXUAo+zv4LwI17wGWDZptxr/cFVH0UhBEf h3+c/KTaelyTNYajJ0GfKw8jwYBxz84Z8veSByh6XD9A+LDsgqUU0PUcRKfawFSJERRu GN7cRzcULwCbQzH6LSRw6fLHGHpvNbJzfXviqJ96cYsG7wQruVssIHIa8vHUz2fvrp3v snCxm5W2tBhUYhj3C82n0JD6fNSuVvmSFf3ZcpdJ4H8grm6DTsFfHWgUrjECBj9nywQ5 NT9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=j9Zq3Gys; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t2si10356340ejj.264.2020.09.15.16.42.30; Tue, 15 Sep 2020 16:42:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=j9Zq3Gys; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727420AbgIOXlU (ORCPT + 99 others); Tue, 15 Sep 2020 19:41:20 -0400 Received: from mail.kernel.org ([198.145.29.99]:48014 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727117AbgIOOem (ORCPT ); Tue, 15 Sep 2020 10:34:42 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (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 58CBE221EF; Tue, 15 Sep 2020 14:15:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600179354; bh=Y7DfL2QIoK+7AlOig5I7K0jPWLIoatifmL4WfTHq3TM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=j9Zq3GysdtCzgHBvZBdcQEcUljaAR7gaj4vvLON2klNlxMJ4l1zgaIFjG+DQyCKaF imciagXQWbccTiKw3L9xHfx/1g0j3ua4dDxSa7Y0pGTE1XppD1sxH8/vimO6pHNEkC pef13eH4WqC8oTu2p4/06Y3Tocbqsj9tUgnsoAuU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kernel test robot , Sebastian Andrzej Siewior , Vineet Gupta , Sasha Levin Subject: [PATCH 4.19 26/78] irqchip/eznps: Fix build error for !ARC700 builds Date: Tue, 15 Sep 2020 16:12:51 +0200 Message-Id: <20200915140634.879288113@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200915140633.552502750@linuxfoundation.org> References: <20200915140633.552502750@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Vineet Gupta [ Upstream commit 89d29997f103d08264b0685796b420d911658b96 ] eznps driver is supposed to be platform independent however it ends up including stuff from inside arch/arc headers leading to rand config build errors. The quick hack to fix this (proper fix is too much chrun for non active user-base) is to add following to nps platform agnostic header. - copy AUX_IENABLE from arch/arc header - move CTOP_AUX_IACK from arch/arc/plat-eznps/*/** Reported-by: kernel test robot Reported-by: Sebastian Andrzej Siewior Link: https://lkml.kernel.org/r/20200824095831.5lpkmkafelnvlpi2@linutronix.de Signed-off-by: Vineet Gupta Signed-off-by: Sasha Levin --- arch/arc/plat-eznps/include/plat/ctop.h | 1 - include/soc/nps/common.h | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arc/plat-eznps/include/plat/ctop.h b/arch/arc/plat-eznps/include/plat/ctop.h index 4f6a1673b3a6e..ddfca2c3357a0 100644 --- a/arch/arc/plat-eznps/include/plat/ctop.h +++ b/arch/arc/plat-eznps/include/plat/ctop.h @@ -43,7 +43,6 @@ #define CTOP_AUX_DPC (CTOP_AUX_BASE + 0x02C) #define CTOP_AUX_LPC (CTOP_AUX_BASE + 0x030) #define CTOP_AUX_EFLAGS (CTOP_AUX_BASE + 0x080) -#define CTOP_AUX_IACK (CTOP_AUX_BASE + 0x088) #define CTOP_AUX_GPA1 (CTOP_AUX_BASE + 0x08C) #define CTOP_AUX_UDMC (CTOP_AUX_BASE + 0x300) diff --git a/include/soc/nps/common.h b/include/soc/nps/common.h index 9b1d43d671a3f..8c18dc6d3fde5 100644 --- a/include/soc/nps/common.h +++ b/include/soc/nps/common.h @@ -45,6 +45,12 @@ #define CTOP_INST_MOV2B_FLIP_R3_B1_B2_INST 0x5B60 #define CTOP_INST_MOV2B_FLIP_R3_B1_B2_LIMM 0x00010422 +#ifndef AUX_IENABLE +#define AUX_IENABLE 0x40c +#endif + +#define CTOP_AUX_IACK (0xFFFFF800 + 0x088) + #ifndef __ASSEMBLY__ /* In order to increase compilation test coverage */ -- 2.25.1