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.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham 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 E8E8FC10DCE for ; Fri, 6 Mar 2020 11:48:47 +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 B5F1D2072A for ; Fri, 6 Mar 2020 11:48:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="VIsnVAyy" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B5F1D2072A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=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: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date: Message-ID:From:References:To:Subject:Reply-To:Content-ID:Content-Description :Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=x66sxn/Ld6cI9h6oI2UhgF7PiIbK8m8yQAoavm2l7Fs=; b=VIsnVAyyJXYrL6 jTqvmq8dXoVJ7eky6DM44DtQwdOm3G3cuUrUb2DN0SuqOHFBlLXnuUWgOtCcX4bdlBCher5ibqbyp IugFX8pWQlXpbnvG1XcpunETuaNesIMyzFryv4BZPwGI5B6xy94r/hs98U94UU/3MTmYFzo5KF7jM MSrjyvXes6e/M1ow/AzcRbpHyG1yzMlbqRGhgqo5XEPhcWRePVbmMxtal4b9uWz87LkO6iZav07Ar ypwQfrvqng09+IBFTEFxyj1xlv+iyX7rhoIyieVdAfHUPwxj6RNck+TDc3QGRx7rTjaZ1zPD5EWOA ZB5bQSQsiAh49JsBMU0g==; 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 1jABTD-00085m-DQ; Fri, 06 Mar 2020 11:48:47 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jABTA-00085E-NL for linux-arm-kernel@lists.infradead.org; Fri, 06 Mar 2020 11:48:46 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E67B131B; Fri, 6 Mar 2020 03:48:43 -0800 (PST) Received: from [10.37.12.171] (unknown [10.37.12.171]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 6294B3F6C4; Fri, 6 Mar 2020 03:48:41 -0800 (PST) Subject: Re: [PATCH v6 16/18] kconfig: Add support for 'as-option' To: Masahiro Yamada , Amit Daniel Kachhap References: <1583476525-13505-1-git-send-email-amit.kachhap@arm.com> <1583476525-13505-17-git-send-email-amit.kachhap@arm.com> From: Vincenzo Frascino Message-ID: <8a332026-9c28-f7d5-95d4-3c44275fcf72@arm.com> Date: Fri, 6 Mar 2020 11:49:03 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200306_034844_806043_892E3128 X-CRM114-Status: GOOD ( 17.16 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Kees Cook , Suzuki K Poulose , Catalin Marinas , Linux Kbuild mailing list , Kristina Martsenko , Dave Martin , Mark Brown , James Morse , Ramana Radhakrishnan , Will Deacon , Ard Biesheuvel , linux-arm-kernel Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Masahiro, On 3/6/20 11:37 AM, Masahiro Yamada wrote: > On Fri, Mar 6, 2020 at 3:36 PM Amit Daniel Kachhap wrote: >> >> From: Vincenzo Frascino >> >> Currently kconfig does not have a feature that allows to detect if the >> used assembler supports a specific compilation option. >> >> Introduce 'as-option' to serve this purpose in the context of Kconfig: >> >> config X >> def_bool $(as-option,...) >> >> Cc: Masahiro Yamada >> Cc: linux-kbuild@vger.kernel.org >> Acked-by: Masahiro Yamada >> Signed-off-by: Vincenzo Frascino >> Signed-off-by: Amit Daniel Kachhap >> --- >> Changes since v5: >> * More descriptions for using /dev/zero. > > > FYI: > > This has been fixed: > > https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=3c968de5c7d1719b2f9b538f2f7f5f5922e5f311 > > > So, this will not be a problem for the > future release of binutils. > > Anyway, we need to take care of the released ones, > so I am fine with /dev/zero. > Thank you for letting us know. I did not realize it was a compiler issue otherwise I would have reported it. I thought it was a mechanism to prevent people from trashing their code, but thinking at it more carefully, for devices does not make sense hence it is good that there is a fix already. [...] -- Regards, Vincenzo _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel