Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1577936imu; Sat, 26 Jan 2019 06:06:54 -0800 (PST) X-Google-Smtp-Source: ALg8bN5CofkQyeo7NEcpZo2AYCdb0YPlyGrFimhxbq0XTBhPFMEJszDRGj4kdkggTvdHyJ1/ZFQS X-Received: by 2002:a17:902:e18c:: with SMTP id cd12mr14292757plb.279.1548511614510; Sat, 26 Jan 2019 06:06:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548511614; cv=none; d=google.com; s=arc-20160816; b=xy+abl1EFDztZKEkOF0/SQYxzxrSacFjjQ5yehrz/n7bsAH35ljTn9K/IAsAm2AZV/ B3ILmDzRYdOLfBSu2hZLC7ho9XTiqH97Y2VkJwSG13vC9EH6Umg+1IrYLYAGSpd/BDN2 gMP1qplq9rv50xizb2wx/SQkbjA0L1rkdYHtvR8qvQAwUNGjY+7XBVZt8PJU8JXVxJ6N Rei5CPeGlmQSJh8y6iO74QF96DjWhHPJtSes2pMISzpTaGAccs1Kces3f1wqrszkN2+v +A//jmzl8b8wsuA0gz1eQYo2XxgkzSDAj6Lj6P1Vu6hgFQeUv8pijVZRIPPrUwaKOQ2/ wJXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=2e19XzYJqBwUjvyBJ5oQ7NjCEU5gUXoR9z8LTZJFif4=; b=Lnhtcvx1EwGtwgfgcQidxQu2GULFU/Xv7Y480IF8t22cgcJohO6FAI7SQVlPmeNX+v OZj0euHk1bYQxrEC2UcJgNWT5PORQHTWUak7zEGwduO3VKLyqHkYqEmJyjAl/CyAo2Ts THppduOgyfrADYyY1YeYbSE4xzPmRSjBNIJ/iGy34J+pkSzjNKu3iPTy5BSFMPNWOnMD dZLW8qinq5L6Hny0qp+PyEGu388b97x+Ls59/VWap7qT94hmHNaf2geFmmyxtpx85bmR w0T6TF5lkJPRCHFMwEJ9DPoiX8Fv9FyOqttvmA2D3UmaaPyuNbShxgyBXUFtHS+NJHmk Ogcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FuREFC78; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g83si29493560pfb.278.2019.01.26.06.06.39; Sat, 26 Jan 2019 06:06:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FuREFC78; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726264AbfAZOEt (ORCPT + 99 others); Sat, 26 Jan 2019 09:04:49 -0500 Received: from mail-io1-f65.google.com ([209.85.166.65]:38025 "EHLO mail-io1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726233AbfAZOEs (ORCPT ); Sat, 26 Jan 2019 09:04:48 -0500 Received: by mail-io1-f65.google.com with SMTP id l14so9970784ioj.5 for ; Sat, 26 Jan 2019 06:04:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2e19XzYJqBwUjvyBJ5oQ7NjCEU5gUXoR9z8LTZJFif4=; b=FuREFC78Xo7NCmkjMJUaOMvEf5QKfI1W8s1o4fFN/WephAYfdcbCbtfK2Jh6IEXI/v 0tt9I+DZu4/ExbdiJY1kIA2tDB9Zv6N4Ui3OGxnOZl8fUajfCuoK8tmIZCVaVMZCx/NU nzGvG0L38o+QvrzBXviLguebwXsabjZADpLpg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2e19XzYJqBwUjvyBJ5oQ7NjCEU5gUXoR9z8LTZJFif4=; b=Jxc3pfYcvj8JA7iltje1aF579MdPrZov5qAV3+W+UzlYb2NV8LwtzBqWNNJQE3OUSL 8CixPfH/ho2CYAK9BPE25OSPOwNWHD+k+DqMzf5WkmZFfqza3BQK5C1/zVYIjzCJlORg B2CWNSfK5GXBemtGg4bHAtv4Ue/dIqtxjqyoMWnZdDe/6CMpEGXgFh0k26wTLGG21sgB bSshJUXbwqSpjkungCOsdADJbfrX0tkZZT8wpmjo2vVsb46CgBCrZFyRlP1gQa5XFgTo AvG/k0tP/2mJfZQ+9bALn6cfXzzqRFrOf0qqjYl5Ly2u5job1lPf+7ebDtWAeERy9m8j jkAg== X-Gm-Message-State: AHQUAub3Ei5uK98sosPsfzAMSrA5ApH93ck74yImAnMc6WgLkyOKoUIS /E/j/5cDoCKhXxO7SE9qzcuURAeNQQYi0fPtduKUHA== X-Received: by 2002:a5d:8410:: with SMTP id i16mr8919521ion.173.1548511487449; Sat, 26 Jan 2019 06:04:47 -0800 (PST) MIME-Version: 1.0 References: <20190109104541.25733-1-hedi.berriche@hpe.com> <20190109104541.25733-3-hedi.berriche@hpe.com> In-Reply-To: <20190109104541.25733-3-hedi.berriche@hpe.com> From: Ard Biesheuvel Date: Sat, 26 Jan 2019 15:04:36 +0100 Message-ID: Subject: Re: [PATCH 2/3] x86/platform/UV: kill uv_bios_call_reentrant() as it has no callers To: Hedi Berriche Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , "the arch/x86 maintainers" , linux-efi , Linux Kernel Mailing List , Russ Anderson , Mike Travis , Dimitri Sivanich , Steve Wahl Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 9 Jan 2019 at 11:46, Hedi Berriche wrote: > > uv_bios_call_reentrant() has no callers nor is it exported, kill it. > > Signed-off-by: Hedi Berriche > Reviewed-by: Russ Anderson > Reviewed-by: Mike Travis > Reviewed-by: Dimitri Sivanich > Reviewed-by: Steve Wahl Please drop these reviewed-bys Acked-by: Ard Biesheuvel > --- > arch/x86/include/asm/uv/bios.h | 1 - > arch/x86/platform/uv/bios_uv.c | 12 ------------ > 2 files changed, 13 deletions(-) > > diff --git a/arch/x86/include/asm/uv/bios.h b/arch/x86/include/asm/uv/bios.h > index e652a7cc6186..4eee646544b2 100644 > --- a/arch/x86/include/asm/uv/bios.h > +++ b/arch/x86/include/asm/uv/bios.h > @@ -140,7 +140,6 @@ enum uv_memprotect { > */ > extern s64 uv_bios_call(enum uv_bios_cmd, u64, u64, u64, u64, u64); > extern s64 uv_bios_call_irqsave(enum uv_bios_cmd, u64, u64, u64, u64, u64); > -extern s64 uv_bios_call_reentrant(enum uv_bios_cmd, u64, u64, u64, u64, u64); > > extern s64 uv_bios_get_sn_info(int, int *, long *, long *, long *, long *); > extern s64 uv_bios_freq_base(u64, u64 *); > diff --git a/arch/x86/platform/uv/bios_uv.c b/arch/x86/platform/uv/bios_uv.c > index 4a6a5a26c582..cd05af157763 100644 > --- a/arch/x86/platform/uv/bios_uv.c > +++ b/arch/x86/platform/uv/bios_uv.c > @@ -66,18 +66,6 @@ s64 uv_bios_call_irqsave(enum uv_bios_cmd which, u64 a1, u64 a2, u64 a3, > return ret; > } > > -s64 uv_bios_call_reentrant(enum uv_bios_cmd which, u64 a1, u64 a2, u64 a3, > - u64 a4, u64 a5) > -{ > - s64 ret; > - > - preempt_disable(); > - ret = uv_bios_call(which, a1, a2, a3, a4, a5); > - preempt_enable(); > - > - return ret; > -} > - > > long sn_partition_id; > EXPORT_SYMBOL_GPL(sn_partition_id); > -- > 2.20.0 >