Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1113572rda; Mon, 23 Oct 2023 03:03:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEtmC+QIRX8fYDnKxYO5aA5ls8LAC0Wi1v8K6/uEx19GjBB03Jp+dGfhKqGZgcDQmvfZd+8 X-Received: by 2002:a05:6a00:2d86:b0:68a:59c6:c0a6 with SMTP id fb6-20020a056a002d8600b0068a59c6c0a6mr10231774pfb.24.1698055407386; Mon, 23 Oct 2023 03:03:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698055407; cv=none; d=google.com; s=arc-20160816; b=CiXZQQcPQUJAqEArDGNzKEetJANMYjKInAq8XaLb+5AbJ472akqSZuVXaT+dsXYmHU eEFuvSqirHmcPdKItZSckp6/WwFVjaGxfLvj1KUXVZl6slqTfSwhhnP9e8c0g/hXq3bS 3QhZAOrSnqVA58NHKocfKcMbt2POybAOAr7qFu7ip1gQsLmyOC+J9MK+oJbxAcPP/R0G zGkoGD4QGz9+OF3gd6G0ti+QWcRlKymPn7wK+CiSj92DMGJydJuQ+FBs0GQfaHebNHiu vM186z7jKgPANVVHhfsESvJ+e5W7QnWdF3ckFkJMSIRVPmK3gTOdKS7CGGcku+Q7pHWe qjcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Ip92rbHjEjBMgAx7FNr3A0maZqLC50ltIPpQtdwaJ28=; fh=2M58xexEgYMOkKj9+FLh7crHdCkIeKqoS96089cM1y8=; b=Rk2k+x417uFkYe/lscfhRPd9qFpuOU3xJA5iOUKHpbrLeCp3JXnorDPnJoi4fPklnu GCsSEoZMLokw01nkT4GH+xSfr+chT3nrW4YUK3iqIZWjQY5FI4EBgwvqGRnaIaX4lbc2 qBFmRrP7SYQTYI/K2aYTo/3O1fF0uyF8fUSBtcwtN+Oee3y3w1rHb+zip3sI2YOx2oI+ mWplstUYw0easnjF/2RsgDiPjAsd6WQ8CbHmv9t5xGiPq1EQdkojWCDsOo08mHWs82FK 9Lp7ir6v9cWiuEt8CabfOpobKKVEGLq/BdavYbvxjAhArRffSadX/bqSJYu9MHFKDIq1 XmTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=iwdzWjLq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id t17-20020aa79471000000b006901504b6a3si6010850pfq.153.2023.10.23.03.03.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 03:03:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=iwdzWjLq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id BC70180664E8; Mon, 23 Oct 2023 03:03:24 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229671AbjJWKDJ (ORCPT + 99 others); Mon, 23 Oct 2023 06:03:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35134 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229613AbjJWKDI (ORCPT ); Mon, 23 Oct 2023 06:03:08 -0400 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D807DF5 for ; Mon, 23 Oct 2023 03:03:05 -0700 (PDT) Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-53f6ccea1eeso4645109a12.3 for ; Mon, 23 Oct 2023 03:03:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1698055384; x=1698660184; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=Ip92rbHjEjBMgAx7FNr3A0maZqLC50ltIPpQtdwaJ28=; b=iwdzWjLqRcJDEE6EiAYlfHeoXZW0f2G1ZaRFE5/9fa+UVRCfSXiIbf5HmsBm4nttqV 1w9iSdeEIqcW7fo36L+4KQWJfohTe5O5AWZFlG+qZ0a83yyhIgCB4ITaXE8CVqK1SUDn UpPNrnG2C5bGfTsQ2UGc89hmF3g+XG7x9slyEnxJkI2sW3MncUHNX7scPVjPYKeE2UHD 0dI2XyJjC8M9NMEXGFcjO6Fgv5BdODaucjmtJSWqK3upGy/uysIASayjqqH8euraW5xO duUk2BUe2EDga7S/wHzqYYI2LIQwZ9DDejtJL7AuXRa/BYLaK2GC/ZliJ+GLFYWQnWHG HCAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698055384; x=1698660184; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Ip92rbHjEjBMgAx7FNr3A0maZqLC50ltIPpQtdwaJ28=; b=nEJNeVAmuDmpcLrumc0rJFD6uFWsT+FmDgyVcQ0dsg4wfNxHtjxrdRH17TPgQSlsRo ynkxub+dGUBt1eaX3oFxzLkwYa1HTXl+pK9/rWFh03cwXdTimqqxQUsmRLTHB+SUkDNF K6mZ8R87CmrwY75sdekEPo3FYyWRYSp7X/zmXzMXcXZ7ObACeCg5ZpygB8WU2i/KZtEh 4qP/Vkug01Vlg82wK8NmTFhILadwf7xuZNLnm3gB24rpI7iUUZkBtMEEnR/NdObNHgxJ mEQey5tzgzgtuuV/xbM32u8eQx7kFRXOox6+H84KPpa2AU1ypWzHOYs/0rvqNGKIi8ae kbSQ== X-Gm-Message-State: AOJu0YzejKwPhKmq5EonW961DjSX72mqZlsvQ++7ng8iTqDgtmhg4YJU ynrF/c5UAqAdX8ngXAlhr0FSqg== X-Received: by 2002:a17:907:1b11:b0:9bf:d70b:9873 with SMTP id mp17-20020a1709071b1100b009bfd70b9873mr7388887ejc.39.1698055384364; Mon, 23 Oct 2023 03:03:04 -0700 (PDT) Received: from localhost (2001-1ae9-1c2-4c00-20f-c6b4-1e57-7965.ip6.tmcz.cz. [2001:1ae9:1c2:4c00:20f:c6b4:1e57:7965]) by smtp.gmail.com with ESMTPSA id p26-20020a170906229a00b009b65a698c16sm6401969eja.220.2023.10.23.03.03.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 03:03:04 -0700 (PDT) Date: Mon, 23 Oct 2023 12:03:03 +0200 From: Andrew Jones To: =?utf-8?B?Q2zDqW1lbnQgTMOpZ2Vy?= Cc: Paul Walmsley , Palmer Dabbelt , Albert Ou , Anup Patel , Atish Patra , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, kvm-riscv@lists.infradead.org Subject: Re: [PATCH 3/5] riscv: kernel: Use correct SYM_DATA_*() macro for data Message-ID: <20231023-153a19dd516176d3d3b9334e@orel> References: <20231004143054.482091-1-cleger@rivosinc.com> <20231004143054.482091-4-cleger@rivosinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20231004143054.482091-4-cleger@rivosinc.com> X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 23 Oct 2023 03:03:24 -0700 (PDT) On Wed, Oct 04, 2023 at 04:30:52PM +0200, Cl?ment L?ger wrote: > Some data were incorrectly annotated with SYM_FUNC_*() instead of > SYM_DATA_*() ones. Use the correct ones. > > Signed-off-by: Cl?ment L?ger > --- > arch/riscv/kernel/entry.S | 9 ++++----- > 1 file changed, 4 insertions(+), 5 deletions(-) > > diff --git a/arch/riscv/kernel/entry.S b/arch/riscv/kernel/entry.S > index 64ac0dd6176b..a7aa2fd599d6 100644 > --- a/arch/riscv/kernel/entry.S > +++ b/arch/riscv/kernel/entry.S > @@ -324,7 +324,7 @@ SYM_FUNC_END(__switch_to) > .section ".rodata" > .align LGREG > /* Exception vector table */ > -SYM_CODE_START(excp_vect_table) > +SYM_DATA_START_LOCAL(excp_vect_table) > RISCV_PTR do_trap_insn_misaligned > ALT_INSN_FAULT(RISCV_PTR do_trap_insn_fault) > RISCV_PTR do_trap_insn_illegal > @@ -342,12 +342,11 @@ SYM_CODE_START(excp_vect_table) > RISCV_PTR do_page_fault /* load page fault */ > RISCV_PTR do_trap_unknown > RISCV_PTR do_page_fault /* store page fault */ > -excp_vect_table_end: > -SYM_CODE_END(excp_vect_table) > +SYM_DATA_END_LABEL(excp_vect_table, SYM_L_LOCAL, excp_vect_table_end) > > #ifndef CONFIG_MMU > -SYM_CODE_START(__user_rt_sigreturn) > +SYM_DATA_START(__user_rt_sigreturn) > li a7, __NR_rt_sigreturn > ecall > -SYM_CODE_END(__user_rt_sigreturn) > +SYM_DATA_END(__user_rt_sigreturn) > #endif > -- > 2.42.0 > Reviewed-by: Andrew Jones