Message ID | 20210818121426.195205-4-dimitri.ledkov@canonical.com |
---|---|
State | New |
Headers | show
Return-Path: <kernel-team-bounces@lists.ubuntu.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=ouS/194P; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GqRfw5r67z9sX2; Wed, 18 Aug 2021 22:15:04 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from <kernel-team-bounces@lists.ubuntu.com>) id 1mGKTF-0005mS-4O; Wed, 18 Aug 2021 12:15:01 +0000 Received: from smtp-relay-canonical-0.internal ([10.131.114.83] helo=smtp-relay-canonical-0.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from <dimitri.ledkov@canonical.com>) id 1mGKTC-0005l7-Ly for kernel-team@lists.ubuntu.com; Wed, 18 Aug 2021 12:14:58 +0000 Received: from mail-pf1-f200.google.com (mail-pf1-f200.google.com [209.85.210.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-0.canonical.com (Postfix) with ESMTPS id EFCDC40CAC for <kernel-team@lists.ubuntu.com>; Wed, 18 Aug 2021 12:14:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1629288897; bh=8YVkmuIQ64CtAoAp6d8HWWI9aYL7/NNk5c3+M6k2hgE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ouS/194PK+iMmaPiS1XgvIHKZFMLIl2AsdzCevI6Ye2ZH1fHy8f8QWO6QgeCHnuPi qBSulVVoCluJK9B8PIC8FbFmPaJksuEISfGImar9zNTygODuE+ZniSoFDao4n8Nven BvSXxC1lwiGnbIZa6MMDvlElfgXUGkrHSl8H1aDfgY2UIn1NnqEeZVWV36o/dQpFas SrfLcdgl58gntro/a7bl5v1ChpFoBTSWgDin4kTcalghb+9ZQOtIQvJzafq6ijMtfp /v/wjf8MZ1iUjOQjuprEHrcWQGazN85Wi4u8M0QwHTOMZ/7wgHRIaFR4mA/VTLfW4+ 9ZZ9pZ3cxwYdw== Received: by mail-pf1-f200.google.com with SMTP id p40-20020a056a0026e8b02903e08239ba3cso1170923pfw.18 for <kernel-team@lists.ubuntu.com>; Wed, 18 Aug 2021 05:14:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=8YVkmuIQ64CtAoAp6d8HWWI9aYL7/NNk5c3+M6k2hgE=; b=LSDguhbVJrQO1SXgzmGJXw4gTDyXtR/Nwj9CbRXUS6QecuYRhZepyF6Qz9+8+aH2vh lbgwCTCVXbS9lg9ZRH3OkzcsyjsLXd4rbS99kvEVW2wddV01JfF1y3frBHZ4RNdukqLX KpoXykQE6Epj8bQvEuFLjosl3hdRyb74YGP/fCZ8pPjpANs4z/5wrUgH5D/qFaf2WnGh t7jdGRbtxdsL3WxUxejbvSrm3yxsRhrA1CzW6vi4yghlfHCA5q1E2XSLmIslf+mAn3xL uq3UAyjyQAWH8ANtu1WR8oQ+7fMEk/bCqutC4W8eHCykANF3bN3gFPBopEwMUo/pULWc LU0A== X-Gm-Message-State: AOAM533zjyFCVtsbk3posA+4UXo725FK1PRYtQoVz9zMXNI+ZJBrmiPD LoDkkPipK1IbizrWcydYX5JfEhLwy9bpkE4okssGA7ARieEQN6oDfy4sr1JrHUKgc8uT109xQPA +pwwRiD3iaa7vZR0xIRaM9qbEc0MPt/ZQvV7XRHl6SQ== X-Received: by 2002:a17:902:a710:b029:12b:9b9f:c461 with SMTP id w16-20020a170902a710b029012b9b9fc461mr6974740plq.59.1629288896316; Wed, 18 Aug 2021 05:14:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyXofoMvf7V+TG7Z6Iy4KgqzBjq4PuX0uJlzdNUGCaC/fj90dKlYWpTyQe1rrJmv1wS45Tn9Q== X-Received: by 2002:a17:902:a710:b029:12b:9b9f:c461 with SMTP id w16-20020a170902a710b029012b9b9fc461mr6974725plq.59.1629288896079; Wed, 18 Aug 2021 05:14:56 -0700 (PDT) Received: from localhost ([2a01:4b00:85fd:d700:1397:609:e787:2244]) by smtp.gmail.com with ESMTPSA id o75sm1562749pfd.211.2021.08.18.05.14.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Aug 2021 05:14:53 -0700 (PDT) From: Dimitri John Ledkov <dimitri.ledkov@canonical.com> To: kernel-team@lists.ubuntu.com Subject: [HIRSUTE][linux-riscv][PATCH v2 3/3] Revert "UBUNTU: SAUCE: RISC-V: prevent sbi_send_cpumask_ipi race with ftrace" Date: Wed, 18 Aug 2021 13:14:26 +0100 Message-Id: <20210818121426.195205-4-dimitri.ledkov@canonical.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210818121426.195205-1-dimitri.ledkov@canonical.com> References: <20210818121426.195205-1-dimitri.ledkov@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions <kernel-team.lists.ubuntu.com> List-Unsubscribe: <https://lists.ubuntu.com/mailman/options/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=unsubscribe> List-Archive: <https://lists.ubuntu.com/archives/kernel-team> List-Post: <mailto:kernel-team@lists.ubuntu.com> List-Help: <mailto:kernel-team-request@lists.ubuntu.com?subject=help> List-Subscribe: <https://lists.ubuntu.com/mailman/listinfo/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=subscribe> Cc: cascardo@canonical.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" <kernel-team-bounces@lists.ubuntu.com> |
Series |
Disable ftrace of sbi functions
|
expand
|
diff --git a/arch/riscv/kernel/sbi.c b/arch/riscv/kernel/sbi.c index 9f85f0656f..b8f82c73de 100644 --- a/arch/riscv/kernel/sbi.c +++ b/arch/riscv/kernel/sbi.c @@ -562,7 +562,7 @@ long sbi_get_impid(void) return __sbi_base_ecall(SBI_EXT_BASE_GET_MIMPID); } -static void notrace sbi_send_cpumask_ipi(const struct cpumask *target) +static void sbi_send_cpumask_ipi(const struct cpumask *target) { struct cpumask hartid_mask;
Superseded by removing ftrace support from all sbi.c functions. This reverts commit 1f5805ebfb2e783e16e91644501749a4771500db. BugLink: https://bugs.launchpad.net/bugs/1940426 Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com> --- arch/riscv/kernel/sbi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)