Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1590739rdh; Mon, 25 Sep 2023 18:53:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFEeAsFlYJzKkfJXrQJ9EThDGqkQsUmVmJTJ4GmcvTKfhimw7LizPn354lYxFWR+WLJgao8 X-Received: by 2002:a05:6a00:1702:b0:68a:5cf8:dae4 with SMTP id h2-20020a056a00170200b0068a5cf8dae4mr1936374pfc.3.1695693192004; Mon, 25 Sep 2023 18:53:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695693191; cv=none; d=google.com; s=arc-20160816; b=A1H13Knl4rIdjK2+Hg6JFJ5e2XAhouS/YhNQWgs3+QdKPvUuN10iCJW+/gHC9aFO7q 9RmQL1Q1X7zOLUvTLvhPnckAavkWYtAUqmJikQnahGD5CuYs9AKC7+K9c+f/SuCTH4EQ J5s055MRgnzjE7C1mWnJm+Qm3w0mryvGEsyk3lRUaZIC1LZFe7nIOykDH/SGohUIkrWk Ogv3Oy6TVJnejsMryU7+D85VRwmzvDSdoLftnjDDaFG1CtvFLD9AUeMoAzDG/yNucRlN 1rLFUWM/CCP5AhNGK3Qsw/PT4gxaLoBCsXrfQlLP+UTa9h6vdpzJbhmAes+jMBRWIhPK JPSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=zI4xebzYU4bFfFhG1gQnF1IxqTyPLKeseQ7Q+EIyte4=; fh=/bWJyRNIbL5ywkaEjkSKBD9dnolnNp6oN8hK9pDShdk=; b=v9moihiAAzala6bigy8vfSn1GfAYgOwdaUJmlC0aaZGvoOBbidDEf87neCJpDUWUEV TNXwX5ylBm06fxg6FuTkK5t1wiVO44HH0h0Xzr564p49n/b5OyNZivWVfyCob/UFXBUK 1mi5gSfOBdMdSPqLNsOaOj7i76kD8BjrHL9iPdl11uA4tccu55/a10f2wBqvP8sYJwOz vBi3gpKyO20e5gdGMLZJfw3Ey8yyRIrsAnAs7Ew1on+zzQruhuXczkjUh9VG8oVMvZEw GKOdZOPQaZjeji27vYtmCa8LQp5fgji4dj1LC7wjiv+krIr7LPCQbMroldxRQfBqYxSN oYCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=k0aGgrIC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id cn1-20020a056a020a8100b005774cf04028si10662699pgb.764.2023.09.25.18.53.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 18:53:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=k0aGgrIC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 32E948040900; Mon, 25 Sep 2023 08:39:31 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229865AbjIYPjb (ORCPT + 99 others); Mon, 25 Sep 2023 11:39:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229458AbjIYPja (ORCPT ); Mon, 25 Sep 2023 11:39:30 -0400 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63AB0B6; Mon, 25 Sep 2023 08:39:24 -0700 (PDT) Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-40566f89f6eso36678995e9.3; Mon, 25 Sep 2023 08:39:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695656363; x=1696261163; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=zI4xebzYU4bFfFhG1gQnF1IxqTyPLKeseQ7Q+EIyte4=; b=k0aGgrICmgxFGWvgmwgLhoyrQIqQRnkm8pso55jRzgi2Fcjlh4E76hq/SCciP4Dek/ 7DyQ8C4rqmCJvh1tsYTDoDEKEx16Fo9nU4B3THHWrOUMyXMMulMET1wgX561Bu7qtxRd DN6GzlHHTkCog87PhMFyv5kf2NLc4+TUXOT3850IYNRtzrTZNnJwzzMoMjQEuBQDRYrc zlVirzXsckgMjv8EGX242gUMwGu1YCfO1jmbAOiHBBzfizUseFaaufW2YSCrJckG/0Db shAOnK0oT0j9YpMUsYQ/C72hYsuxVg3BENCNDld5JS5nv8Vl936RAdWpuSiyv/+LKwOC KznQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695656363; x=1696261163; 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=zI4xebzYU4bFfFhG1gQnF1IxqTyPLKeseQ7Q+EIyte4=; b=rqr5fgSwQLpKctYZDXDZAcmavbo82qWaknUso+6DIMrd4Y4jAfJftbeQifV3roo6Th p+1Pwll8rQMGxLSYoQJLAdl8eRc58zY0y/0R5p8HQ1Hfi396zl0XXgGLGKlOk/2Mb/R6 dtV/8AemxaSS27DxlyJCbSuxxvEKQiCZ2v8Mpo92m/VBqB8PYpWk5jX77MusngNZZdWm PJskd9/Dw2J8EpmhtGWZ7dfsxJFNFw4bNocaHbmTM22cHP7YmcQzgngXt6hunrm/2eW6 SgXjCxKKfFnj3/gQHbPC0VrrWtSfwWiz9JDNc95JSTOPnNZvuDrUc+wLsZq/hgpPLLL6 T1iA== X-Gm-Message-State: AOJu0Yw79kEMIKd7yU4JFQJb8ymQy0vN5m/fY8hcPvkxmBwRPzfa/AWR EFiaLknLeL2jjVBrl4xpODs= X-Received: by 2002:a7b:c34c:0:b0:401:d803:6243 with SMTP id l12-20020a7bc34c000000b00401d8036243mr5996648wmj.32.1695656362475; Mon, 25 Sep 2023 08:39:22 -0700 (PDT) Received: from prasmi.home ([2a00:23c8:2501:c701:47ed:1dba:e442:ccf2]) by smtp.gmail.com with ESMTPSA id e15-20020a05600c218f00b00402ff8d6086sm12552582wme.18.2023.09.25.08.39.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 08:39:22 -0700 (PDT) From: Prabhakar X-Google-Original-From: Prabhakar To: Paul Walmsley , Palmer Dabbelt , Albert Ou , Conor Dooley , Geert Uytterhoeven Cc: linux-riscv@lists.infradead.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar , Lad Prabhakar , kernel test robot Subject: [PATCH] riscv: errata: andes: Makefile: Fix randconfig build issue Date: Mon, 25 Sep 2023 16:38:44 +0100 Message-Id: <20230925153844.26820-1-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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 morse.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 (morse.vger.email [0.0.0.0]); Mon, 25 Sep 2023 08:39:31 -0700 (PDT) From: Lad Prabhakar Compile the andes errata with cflags set to " -mcmodel=medany" when CONFIG_RISCV_ALTERNATIVE_EARLY is enabled. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202309111311.8tcq3KVc-lkp@intel.com/ Signed-off-by: Lad Prabhakar --- arch/riscv/errata/andes/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/riscv/errata/andes/Makefile b/arch/riscv/errata/andes/Makefile index 2d644e19caef..6278c389b801 100644 --- a/arch/riscv/errata/andes/Makefile +++ b/arch/riscv/errata/andes/Makefile @@ -1 +1,5 @@ +ifdef CONFIG_RISCV_ALTERNATIVE_EARLY +CFLAGS_errata.o := -mcmodel=medany +endif + obj-y += errata.o -- 2.34.1