Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp2037559ybh; Fri, 17 Jul 2020 07:52:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwnS/zfOhnK4QXWsz/q8mBrjmYWsxXK1jt49x4jf/Jmks4KNNvEQgCd65HAtGgZXefb1qE5 X-Received: by 2002:a17:906:53d4:: with SMTP id p20mr8800438ejo.472.1594997527707; Fri, 17 Jul 2020 07:52:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594997527; cv=none; d=google.com; s=arc-20160816; b=lZzJnoYJ69mhxmQgweVHvr3HdkmTmqMEPfIrJdYYZOviQfltRbPtDt5AJi1W/lM9NY YwtEmXQFcZo+PoKYKsFpQRbPDrpr8XwlLE/DTZ6Mx3jbzYwYpNsXkQ+ed4yQM4MYIHEP W3dCCnyzzIoYEHfgJ7tFQL+ZIuvgg9jJWJtyfnnu1tdG1fkhN/KGErnKEtVhcld7FQIS 7PNLBXjHe8J0FeBQ8hXFc6Cua4hA57R2wnMpACclBfkzDfbpfpZrUMr6/2H6R3uknrNo 9qjT0G7zxaJsf/5WdwbtEQ9BdrhjR1M4nRRpx8sRUJdYqd/QZkk2WYAcIQOQQqQo8mak I9CQ== 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 :robot-unsubscribe:robot-id:message-id:mime-version:references :in-reply-to:cc:subject:to:reply-to:from:dkim-signature :dkim-signature:date; bh=CfObQ50Werxo2Beh6hgckDzaE7BRIz31Ngyz6fdTMek=; b=e+DWYtmlM7dwNGRy3f6wUcA/7bnsyL9LLcVAZgN2JfYYZbLM2pVNfjVI7uv8XG3ywb 5WZp/wr/VS7u72vp4ZSnPNwfhzlgB/Ard+2YwslEe8y0aOfycExdznaSmxThaHiSKG9v BpTNALlFOCI7W8A1oRavc0uAYSgqXuWQuG+MutTB+ulYrvtNsuQnW4jFliW42TyDTTaF 9I7Ou+5wESq/KPeXZhIoF2Ax+5a/9V6nbx1nFsJxAigh4fMjn+9onBW7XSood2AFfnE2 6tJSRIFkvlzi8XIY2YCVFLuX+RKacT/DsYTPY2r7u0kA7rcUYvS8qDXTk+TBaqiK7xGn AiwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linutronix.de header.s=2020 header.b=HUF0UuSe; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=hfE0Hg0z; 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=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z4si4114925ejc.412.2020.07.17.07.51.44; Fri, 17 Jul 2020 07:52:07 -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=fail header.i=@linutronix.de header.s=2020 header.b=HUF0UuSe; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=hfE0Hg0z; 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=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727851AbgGQOvW (ORCPT + 99 others); Fri, 17 Jul 2020 10:51:22 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:41212 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727045AbgGQOvQ (ORCPT ); Fri, 17 Jul 2020 10:51:16 -0400 Date: Fri, 17 Jul 2020 14:51:13 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1594997474; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=CfObQ50Werxo2Beh6hgckDzaE7BRIz31Ngyz6fdTMek=; b=HUF0UuSeLYzyIqWKZ83lhSPMf3j0uUyF3xLC7dBUw+4rnz7qh9q9eGd8TPodCbQiuEgpyL Bu7YHQQCRDOR77PIwGSSOj/ZX8RWhiMiu3AFYd0okvI4eEO4QRUc6f1z/zh9MH0k1xmmqb TZwKy7r/WT/cONlkJC0zo7hr2nsG82qstWvtkwcUH9XCUr6R4zrbWYBXPlN4O22iJ16ZGw TEAsERDmHMYjGDGtTS+6ssGM+7ryYIcICl5aDQifIgD5dt/4W8b69FxftAWaadia5lNkB7 YZZeEIk+PPV5/SBwrjE9INRjvaKWVdPUnQWCE04Ypjpq2qBa6ASrtp7Ea0gxMQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1594997474; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=CfObQ50Werxo2Beh6hgckDzaE7BRIz31Ngyz6fdTMek=; b=hfE0Hg0zI2JsoWWsSxJA8t9g/tfRvcoP34wkuBRNja1eV+gSu/vuIq+/WoIteSYOegdkwX fmrCSTkkPgMwytDQ== From: "tip-bot2 for steve.wahl@hpe.com" Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/platform] x86/platform/uv: Remove support for UV1 platform from uv_time Cc: Steve Wahl , Thomas Gleixner , x86 , LKML In-Reply-To: <20200713212954.610885520@hpe.com> References: <20200713212954.610885520@hpe.com> MIME-Version: 1.0 Message-ID: <159499747361.4006.10651559471205581924.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam: Yes Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the x86/platform branch of tip: Commit-ID: 8b3c9b160648ceb9ec4068080fd055fdc04e35a7 Gitweb: https://git.kernel.org/tip/8b3c9b160648ceb9ec4068080fd055fdc04e35a7 Author: steve.wahl@hpe.com AuthorDate: Mon, 13 Jul 2020 16:29:55 -05:00 Committer: Thomas Gleixner CommitterDate: Fri, 17 Jul 2020 16:47:43 +02:00 x86/platform/uv: Remove support for UV1 platform from uv_time UV1 is not longer supported Signed-off-by: Steve Wahl Signed-off-by: Thomas Gleixner Link: https://lkml.kernel.org/r/20200713212954.610885520@hpe.com --- arch/x86/platform/uv/uv_time.c | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/arch/x86/platform/uv/uv_time.c b/arch/x86/platform/uv/uv_time.c index 7af31b2..f82a133 100644 --- a/arch/x86/platform/uv/uv_time.c +++ b/arch/x86/platform/uv/uv_time.c @@ -74,7 +74,6 @@ static void uv_rtc_send_IPI(int cpu) apicid = cpu_physical_id(cpu); pnode = uv_apicid_to_pnode(apicid); - apicid |= uv_apicid_hibits; val = (1UL << UVH_IPI_INT_SEND_SHFT) | (apicid << UVH_IPI_INT_APIC_ID_SHFT) | (X86_PLATFORM_IPI_VECTOR << UVH_IPI_INT_VECTOR_SHFT); @@ -85,10 +84,7 @@ static void uv_rtc_send_IPI(int cpu) /* Check for an RTC interrupt pending */ static int uv_intr_pending(int pnode) { - if (is_uv1_hub()) - return uv_read_global_mmr64(pnode, UVH_EVENT_OCCURRED0) & - UV1H_EVENT_OCCURRED0_RTC1_MASK; - else if (is_uvx_hub()) + if (is_uvx_hub()) return uv_read_global_mmr64(pnode, UVXH_EVENT_OCCURRED2) & UVXH_EVENT_OCCURRED2_RTC_1_MASK; return 0; @@ -98,19 +94,15 @@ static int uv_intr_pending(int pnode) static int uv_setup_intr(int cpu, u64 expires) { u64 val; - unsigned long apicid = cpu_physical_id(cpu) | uv_apicid_hibits; + unsigned long apicid = cpu_physical_id(cpu); int pnode = uv_cpu_to_pnode(cpu); uv_write_global_mmr64(pnode, UVH_RTC1_INT_CONFIG, UVH_RTC1_INT_CONFIG_M_MASK); uv_write_global_mmr64(pnode, UVH_INT_CMPB, -1L); - if (is_uv1_hub()) - uv_write_global_mmr64(pnode, UVH_EVENT_OCCURRED0_ALIAS, - UV1H_EVENT_OCCURRED0_RTC1_MASK); - else - uv_write_global_mmr64(pnode, UVXH_EVENT_OCCURRED2_ALIAS, - UVXH_EVENT_OCCURRED2_RTC_1_MASK); + uv_write_global_mmr64(pnode, UVXH_EVENT_OCCURRED2_ALIAS, + UVXH_EVENT_OCCURRED2_RTC_1_MASK); val = (X86_PLATFORM_IPI_VECTOR << UVH_RTC1_INT_CONFIG_VECTOR_SHFT) | ((u64)apicid << UVH_RTC1_INT_CONFIG_APIC_ID_SHFT);