Message ID | 20240409100216.263256-1-cleger@rivosinc.com |
---|---|
Headers | show
Return-Path: <opensbi-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=WC5Ccuju; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=rivosinc-com.20230601.gappssmtp.com header.i=@rivosinc-com.20230601.gappssmtp.com header.a=rsa-sha256 header.s=20230601 header.b=xtlUWnYM; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=opensbi-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VDM2q6Gq9z1yYH for <incoming@patchwork.ozlabs.org>; Tue, 9 Apr 2024 20:02:43 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=eKIAQmPEAeiAbOFpbnJR/oc13QTU8g39g7yucA8F/tk=; b=WC5CcujuG6E4lB hGb1a4DrwbUdI+WODXTyKVs7yGGgzvXZXHGukIURkU9VcYeccxWExFDBDeBjHXVTvNfE12cleN1RW 1zdY4ZyaSbK8eQjtA1HVVsjK/l/6xnIhTe4qWJ5bwV3Bi9HE9Sbe+Tco82VTDgcYaAdB0nETo26VA BeSr4yt8Hp2fzmNYEgWp6Gin3AdhQUCnJlcoE6PPI86scS/N6Bbg9eD2z7W9L7+SgNoVYVAoW6/gy Ogxgjy/VBH5ugt5zdNeu7I49K160a8or/KiMRQUkqc8pPhc4LlFgNGq4vuc39DeDWtdGI+TKijjoN U4uhT6WoxBDzpKbRjorg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1ru8JH-00000001KPw-2TBu; Tue, 09 Apr 2024 10:02:35 +0000 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1ru8JD-00000001KNM-2O8C for opensbi@lists.infradead.org; Tue, 09 Apr 2024 10:02:33 +0000 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-416902dfb4bso2657445e9.1 for <opensbi@lists.infradead.org>; Tue, 09 Apr 2024 03:02:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1712656940; x=1713261740; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=1LpbYpzQ+gnpmw5TYidFyaNvgd3235WLgrP7pkiD9CQ=; b=xtlUWnYMbRuMIH5htrtmfXrmPlE6uDicMT3nP8S2qe1rxFK/oNQuJeHoo6j7kN3VQt JPRp93Mgt6Jgh799Yg+snlXXqNyrYj2J1FufmmjNBbqLL/Qio51GUue9BO3/WJm3Q7OO lQpwKHOwWwEqrqolwzp7MjHDa/9anCdW496RHG3wZT5+kZIawsBoW2JRo4ll3mp6Qo9n 5C8VgVDtv8ilA8wPy5XUyw+9jf4sSxEea+Yu3kdptxvTgm/qW6nqBsxfKhjPD8ocm5hP B4bOOETaGlZdUS8EmILVbyI7gPzhhFfzNpM5UmeLCsER1GlOfc+8pRyxAc2ZSAjS+SuI Co/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712656940; x=1713261740; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=1LpbYpzQ+gnpmw5TYidFyaNvgd3235WLgrP7pkiD9CQ=; b=iI2NMxMUkc6n3jAts1+kOEEWun1fZCw+7n6J/KEo0zFddjfuj3oHLsgyUIq/lKgdRg 6/o1mr9AAx9iZcXi80Hzv/tBUfils/KWXDgpUP8a9yDl0cVfhNsi2bQKNcYSQsAa3H89 T82aS3LS3RfWXCTFxkvdq874toMn0DZ7UAs0yPF6vd8AnqDS2e4LcQuaPQxN2xpapdht 3hPBrf1GN346HyMeGyigTVxfLmGAH2kCF+svt8/VfwUYKLrIOKSSfaIBIqWBl8DcAfSk +5GmdwzgzKMvv1bi8hxXGKjwk6H+92tZvSt3s5VptzG6oNXnfVA2RywN/OOuuzmtrKs6 ZEkg== X-Gm-Message-State: AOJu0Ywpqn6q45wvvaYRSu+uEAFG7WfMyc8zlWH2dkmwF+ypI33daFaM 9QaHUknbZ7YCld+0oTDw89LwH90wgkg0K0R0xJr/soRXGaLIjo0KQktQUJfoRnQAsBXWYn/QTKU +KzA= X-Google-Smtp-Source: AGHT+IETK4XFjg47C2Ab6u217Tq6pOtAuNx0U2iVQ4tc0tks8PxAckrDPlGtZiXG7/oc53VvJXizWA== X-Received: by 2002:a05:600c:4f46:b0:416:b5f7:7ceb with SMTP id m6-20020a05600c4f4600b00416b5f77cebmr322964wmq.0.1712656940045; Tue, 09 Apr 2024 03:02:20 -0700 (PDT) Received: from carbon-x1.. ([2a01:e0a:999:a3a0:322c:7eda:35fd:4614]) by smtp.gmail.com with ESMTPSA id a20-20020a05600c349400b00416b28651e1sm862972wmq.36.2024.04.09.03.02.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 03:02:19 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgTMOpZ2Vy?= <cleger@rivosinc.com> To: opensbi@lists.infradead.org Subject: [PATCH 0/7] lib: sbi: sse: fixes after review Date: Tue, 9 Apr 2024 12:02:01 +0200 Message-ID: <20240409100216.263256-1-cleger@rivosinc.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240409_030231_826405_5CBD6CB9 X-CRM114-Status: UNSURE ( 5.30 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: =?unknown-8bit?q?Spam_detection_software=2C_running_on_the_sy?= =?unknown-8bit?q?stem_=22bombadil=2Einfradead=2Eorg=22=2C?= =?unknown-8bit?q?_has_NOT_identified_this_incoming_email_as_spam=2E__The_ori?= =?unknown-8bit?q?ginal?= =?unknown-8bit?q?_message_has_been_attached_to_this_so_you_can_view_it_or_la?= =?unknown-8bit?q?bel?= =?unknown-8bit?q?_similar_future_email=2E__If_you_have_any_questions=2C_see?= =?unknown-8bit?q?_the_administrator_of_that_system_for_details=2E?= =?unknown-8bit?q?_?= =?unknown-8bit?q?_Content_preview=3A__This_small_series_addresses_a_few_comm?= =?unknown-8bit?q?ents_from_Samuel_that?= =?unknown-8bit?q?_were_made_after_the_series_was_merged=2E_Cl=C3=A9ment_L=C3?= =?unknown-8bit?q?=A9ger_=287=29=3A_lib=3A_sbi=3A_sse=3A?= =?unknown-8bit?q?_fix_typos=2C_comments_and_spacing_errors_lib=3A_sbi=3A_sse?= =?unknown-8bit?q?=3A_rename_sse=5Fhart=5Funlock=28=29?= =?unknown-8bit?q?_to_sse=5Fenabled=5Fevent=5Funlock=28=29_lib=3A_sbi=3A_sse?= =?unknown-8bit?q?=3A_simplify_32bits_overflow_check?= =?unknown-8bit?b?IGxpYjogc2JpOiBbLi4uXSA=?= =?unknown-8bit?q?_?= =?unknown-8bit?q?_Content_analysis_details=3A___=280=2E0_points=2C_5=2E0_req?= =?unknown-8bit?q?uired=29?= =?unknown-8bit?q?_?= =?unknown-8bit?q?_pts_rule_name______________description?= =?unknown-8bit?q?_----_----------------------_------------------------------?= =?unknown-8bit?q?--------------------?= =?unknown-8bit?q?_-0=2E0_RCVD=5FIN=5FDNSWL=5FNONE_____RBL=3A_Sender_listed_a?= =?unknown-8bit?q?t_https=3A//www=2Ednswl=2Eorg/=2C_no?= =?unknown-8bit?q?_trust?= =?unknown-8bit?b?IFsyYTAwOjE0NTA6NDg2NDoyMDowOjA6MDozMzYgbGlzdGVkIGluXQ==?= =?unknown-8bit?b?IFtsaXN0LmRuc3dsLm9yZ10=?= =?unknown-8bit?q?_0=2E0_SPF=5FHELO=5FNONE__________SPF=3A_HELO_does_not_publ?= =?unknown-8bit?q?ish_an_SPF_Record?= =?unknown-8bit?q?_-0=2E0_SPF=5FPASS_______________SPF=3A_sender_matches_SPF_?= =?unknown-8bit?q?record?= =?unknown-8bit?q?_-0=2E1_DKIM=5FVALID_____________Message_has_at_least_one_v?= =?unknown-8bit?q?alid_DKIM_or_DK_signature?= =?unknown-8bit?q?_0=2E1_DKIM=5FSIGNED____________Message_has_a_DKIM_or_DK_si?= =?unknown-8bit?q?gnature=2C_not_necessarily_valid?= X-BeenThere: opensbi@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <opensbi.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/opensbi>, <mailto:opensbi-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/opensbi/> List-Post: <mailto:opensbi@lists.infradead.org> List-Help: <mailto:opensbi-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/opensbi>, <mailto:opensbi-request@lists.infradead.org?subject=subscribe> Cc: Anup Patel <apatel@ventanamicro.com>, =?utf-8?b?Q2zDqW1lbnQgTMOpZ2Vy?= <cleger@rivosinc.com>, Atish Patra <atishp@rivosinc.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "opensbi" <opensbi-bounces@lists.infradead.org> Errors-To: opensbi-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org |
Series |
lib: sbi: sse: fixes after review
|
expand
|
On Tue, Apr 9, 2024 at 3:32 PM Clément Léger <cleger@rivosinc.com> wrote: > > This small series addresses a few comments from Samuel that were made > after the series was merged. > > Clément Léger (7): > lib: sbi: sse: fix typos, comments and spacing errors > lib: sbi: sse: rename sse_hart_unlock() to sse_enabled_event_unlock() > lib: sbi: sse: simplify 32bits overflow check > lib: sbi: sse: remove superfluous sbi_list_empty() check > lib: sbi: sse: call enable callback before sending IPI > lib: sbi: sse: use PRV_S instead of hardcoded value for mode > lib: sbi: sse: check handler entry to belong to supervisor mode Applied this series to the riscv/opensbi repo. Thanks, Anup > > include/sbi/sbi_ecall_interface.h | 24 +++++++------- > lib/sbi/sbi_sse.c | 53 ++++++++++++++++--------------- > 2 files changed, 40 insertions(+), 37 deletions(-) > > -- > 2.43.0 > > > -- > opensbi mailing list > opensbi@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/opensbi