Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1635981rdb; Wed, 20 Sep 2023 15:14:56 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGk8+UoL2fVNq0ExB2tyC91Qogm1I6ceCwKmAQLWGOgju4XctNqoJNGVg4h7F3SgyoqI93G X-Received: by 2002:a05:6870:5488:b0:1d6:4a2f:557a with SMTP id f8-20020a056870548800b001d64a2f557amr4862434oan.33.1695248095905; Wed, 20 Sep 2023 15:14:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695248095; cv=none; d=google.com; s=arc-20160816; b=jcktejRU3dwA5KBLjXn3ub21sOv4ffW/ebGlIXAZkBXRCAk41Do46MzA/pMRjCLl3O TPD3auaDRyMIfULFCfDJ1oD/9OncXbgIcDGgmx8w9R4UM0HIVt8fr7XVyYv1kfqJQSbC fEBBTHsNQ9e6KdbP+OQWprR1lwXfNjmkI8XUWHU3m36VCl9pDiMsXTNH/xC2NYvCbgj0 efDk03i7hUe68rfE7hcAuXc1W25GWNDwN2fFBJ4mFiXxOgLnS0esFvoWJP7d0kfC9bOs 1A3M5+lx2m/NEf841J3S207LCOebLBrkI+AYBsoaH6oGvOu27D5p80jSS3Y6NMO1Rm0V yaGQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=OxzrvE1JC0Hk/FxRt+ZKzqjg6DJt/qiLZ+huaIf11C8=; fh=UXf4OSnZhx9fnGMUOA/JLXL37i/SLVU9SEXkjcpWeGE=; b=sGF9P72k3cyqwVQx3jaCxavnAKvBWHSg9WTHiccNahGE8J2+/KC1DuRcxlP8KtKtUL KzL+SEOsDjZKJkiKTbY29N8ptJgTh4fn87cMnRBqddPV3eHCvEYkkOdhLYVnh1YEC5hA L7U7vdohge+E6ahU1k+50rQ/H/3URQLsLTQRKNCERbK+/zs0xgKanycTAWoBYhOp1L6p s/oiw2OUeMV2kCTEz+t0Fc2sbIo13AUckC3L+t+l+wukAHZHknFMBbRfR6gBb6Qvba13 QwYi0xRhtH9zB2bqtyw/kcr9qp8GAhBqicOKQeI6FALuT1+iJxQzhZfQUI14jNQk+PWL 4bIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=Z73rZCZb; 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 bt25-20020a056a00439900b006901504b6a3si80302pfb.153.2023.09.20.15.14.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 15:14:55 -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=@infradead.org header.s=bombadil.20210309 header.b=Z73rZCZb; 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 EEF5D8031F34; Tue, 19 Sep 2023 22:22:15 -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 S232566AbjITFWH (ORCPT + 99 others); Wed, 20 Sep 2023 01:22:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232374AbjITFVt (ORCPT ); Wed, 20 Sep 2023 01:21:49 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16E61F5 for ; Tue, 19 Sep 2023 22:21:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=OxzrvE1JC0Hk/FxRt+ZKzqjg6DJt/qiLZ+huaIf11C8=; b=Z73rZCZb2BfvYo6j5H1Sdnan/W 68wUnbgRHHAerl/zgUOlP1Rg+c4W/rA8Qh2IN+3UVeEPc5g09LegkogfUhbONCiZyGYGE69GMUfZo c7q8xrxzucgScNj60o0lLwqQ+LOEGTCYn5UoukAhw5t4vIFO7DnsZ1gcuBkRxlYmIdzOQktRR1SHN sd4E0+YbOZz49Af6MM3+DyaH9Vidl5HOeU6mL2TG0z3JdJEB/mhcEdy4EyoDtL0JH/UUoWyAS6j4O UAbiQ1FhHMPzsVSscEXJqj7/RXiQzvXAkN2uTJJ+2wFbsbnQWlf9UI6uR+eNtlfLOAfQI0fYWjiCA YwE+mS7A==; Received: from [2601:1c2:980:9ec0::9fed] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qipeg-001tym-1A; Wed, 20 Sep 2023 05:21:42 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , kernel test robot , Chris Zankel , Max Filippov Subject: [PATCH 01/16] xtensa: FSF: define XCHAL_HAVE_DIV32 Date: Tue, 19 Sep 2023 22:21:24 -0700 Message-ID: <20230920052139.10570-2-rdunlap@infradead.org> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20230920052139.10570-1-rdunlap@infradead.org> References: <20230920052139.10570-1-rdunlap@infradead.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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]); Tue, 19 Sep 2023 22:22:17 -0700 (PDT) When variant FSF is set, XCHAL_HAVE_DIV32 is not defined, so add the define for FSF to prevent build warnings: arch/xtensa/lib/divsi3.S:9:5: warning: "XCHAL_HAVE_DIV32" is not defined, evaluates to 0 [-Wundef] 9 | #if XCHAL_HAVE_DIV32 arch/xtensa/lib/modsi3.S:9:5: warning: "XCHAL_HAVE_DIV32" is not defined, evaluates to 0 [-Wundef] 9 | #if XCHAL_HAVE_DIV32 Fixes: 173d6681380a ("xtensa: remove extra header files") Signed-off-by: Randy Dunlap Reported-by: kernel test robot Closes: lore.kernel.org/r/202309150556.t0yCdv3g-lkp@intel.com Cc: Chris Zankel Cc: Max Filippov --- arch/xtensa/variants/fsf/include/variant/core.h | 1 + 1 file changed, 1 insertion(+) diff -- a/arch/xtensa/variants/fsf/include/variant/core.h b/arch/xtensa/variants/fsf/include/variant/core.h --- a/arch/xtensa/variants/fsf/include/variant/core.h +++ b/arch/xtensa/variants/fsf/include/variant/core.h @@ -41,6 +41,7 @@ #define XCHAL_HAVE_MUL16 0 /* MUL16S/MUL16U instructions */ #define XCHAL_HAVE_MUL32 0 /* MULL instruction */ #define XCHAL_HAVE_MUL32_HIGH 0 /* MULUH/MULSH instructions */ +#define XCHAL_HAVE_DIV32 0 /* QUOS/QUOU/REMS/REMU instructions */ #define XCHAL_HAVE_L32R 1 /* L32R instruction */ #define XCHAL_HAVE_ABSOLUTE_LITERALS 1 /* non-PC-rel (extended) L32R */ #define XCHAL_HAVE_CONST16 0 /* CONST16 instruction */