From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 58FEEC43603 for ; Thu, 19 Dec 2019 23:24:52 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2BB1F24676 for ; Thu, 19 Dec 2019 23:24:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="pO+XPfkh"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="XAspA5fA" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2BB1F24676 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-riscv-bounces+infradead-linux-riscv=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To: Content-Type:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To :Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=oIabokvIVveq8OGVg0G3GAm6aBk0zatOiwp9GBUoq5U=; b=pO+XPfkhVxvdgIYdO8mzqocQG 1ODBOhgZGPyelFFpkr9+I9IheZcPrLjylyexkAWu5TbDemw1ZOEXPGx0xr1vLAuE81yeffSw9kRUn 81jhdKpOxQVP/JQmBau5qdpl9rgVMHptg1koyYcYJL92u0UCVmw13RpJEfqaMjLboUk0l/Ex5VUkC X7Zy+Ok2tKjQM02cev1h5CteCVQ2VCX7mtUMsu5io5GDp9am+70TN0Cms3AnVNDUmt8shq2tROOaQ 2DKqPGl8pQzZgkuddmCglsXLfIh+zO7P5dfKIwaac0Yd8ooCipDd/2H+kQblXU+xdvhoWGMxFKE/h KcehhblbA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1ii5A1-0001HZ-UW; Thu, 19 Dec 2019 23:24:49 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1ii59p-00017U-1U; Thu, 19 Dec 2019 23:24:38 +0000 Received: from localhost (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 20EC624676; Thu, 19 Dec 2019 23:24:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1576797876; bh=K3CvbaB8eN/Eb3ZiDlzpb2f2O7TIhZPxnGG8BvCApZA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XAspA5fA3wS6cyzuttDwywfqalB85K4DEU1gYdSGJKg97fof11phNpx85w8Z6Rwc+ mhpmUK7TrloulsZiMb/hnrx297BtyaM0DEwZVHp97YKu27zY2uQVJiHo/LLPws1Vay ll3fTOlmTdBw9u4lL/Lwt9f+viCPxQWQgBa9LnXU= Date: Thu, 19 Dec 2019 18:24:35 -0500 From: Sasha Levin To: Ard Biesheuvel Subject: Re: [PATCH AUTOSEL 5.4 316/350] int128: move __uint128_t compiler test to Kconfig Message-ID: <20191219232435.GU17708@sasha-vm> References: <20191210210735.9077-1-sashal@kernel.org> <20191210210735.9077-277-sashal@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191219_152437_103852_88ED3672 X-CRM114-Status: UNSURE ( 9.47 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Herbert Xu , Linux Kernel Mailing List , stable , Masahiro Yamada , "open list:HARDWARE RANDOM NUMBER GENERATOR CORE" , linux-riscv@lists.infradead.org, Ard Biesheuvel , linux-arm-kernel Sender: "linux-riscv" Errors-To: linux-riscv-bounces+infradead-linux-riscv=archiver.kernel.org@lists.infradead.org On Wed, Dec 11, 2019 at 10:07:54AM +0000, Ard Biesheuvel wrote: >On Tue, 10 Dec 2019 at 22:13, Sasha Levin wrote: >> >> From: Ard Biesheuvel >> >> [ Upstream commit c12d3362a74bf0cd9e1d488918d40607b62a3104 ] >> >> In order to use 128-bit integer arithmetic in C code, the architecture >> needs to have declared support for it by setting ARCH_SUPPORTS_INT128, >> and it requires a version of the toolchain that supports this at build >> time. This is why all existing tests for ARCH_SUPPORTS_INT128 also test >> whether __SIZEOF_INT128__ is defined, since this is only the case for >> compilers that can support 128-bit integers. >> >> Let's fold this additional test into the Kconfig declaration of >> ARCH_SUPPORTS_INT128 so that we can also use the symbol in Makefiles, >> e.g., to decide whether a certain object needs to be included in the >> first place. >> >> Cc: Masahiro Yamada >> Signed-off-by: Ard Biesheuvel >> Signed-off-by: Herbert Xu >> Signed-off-by: Sasha Levin > >This does not fix a bug so no need to put it in -stable Dropped, thanks! -- Thanks, Sasha