Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp262031rdb; Tue, 31 Oct 2023 07:00:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH3Dq66xxAVvJF5pLuij+z/uCyO3RslAodkjxBUjfe6c1S/i5tviNWQU+aG0+HfhUbfhc6l X-Received: by 2002:a05:6a00:2da4:b0:68f:fa05:b77a with SMTP id fb36-20020a056a002da400b0068ffa05b77amr11647551pfb.31.1698760803274; Tue, 31 Oct 2023 07:00:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698760803; cv=none; d=google.com; s=arc-20160816; b=HH70NuKyj3BoiMsfc8JrS8dwtCoHFKMYPsKy8iY2spmAY9Zm20LGJ9zUthRLw7nt4J MP8L60OPGUBJjrBVIKpKYQlLAqZrpI3nwtl4Bjj+gEHOOiX31JFo5P/iTsV399l2jaGO TRQwblzj4aPV8YJVrPQBRMkoF+HTSi2DMnQGFRpDoJllLiwMZ6SGnNkoHmw9M6756btu +qTsAv6cZtdK0iygqKxaBVO80wwyyKghMPsR0jYrWF8mzqwbGu4fqgyTd248FsgAQvzj VFxRs8stKI75j+CeOcsjzI1VuUnEUNT6Tbbmxlwrxw0GLhHxLeO7KxQ6JAaOepOShgrg nBPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id; bh=Ns4BLhDD8GkxBMhxrw6EyETfc0HoITlA0+77SzQ5i8c=; fh=Y/W5oLmsYtB0oQG9MiT08k5u5oBKSTM97y30O6lIGXE=; b=f8h8oKkJ2X2lJ6yR0gV+8AR21YdUyt8H+ve1JcqQfORMlhz18ag4zyRJutHrP0JyvB 5CqRmU6ylXhVH7zs3KDjSMMZdsZ7H0vwZhKGGNOeySgYlmpedqlHiQ9DLrNKU4Bbkixk WmxQIjSKwjMEMWXMTF1OSOV8FalaNPj7RmqA/Y5um+99Gb3DVHULgm/SJpsCGvJ+yDPz ETZkLY2vax2Jvbtu/odEmQFeqiLjKi2XvI8fil+ZcEWOeQE+q0xpsrg/6w1gmfASZUa0 Am2pnA3SK+vgGnOo0aRhYU166o3LpgvX9kCfln4Yp75cwNYus7tOilOyFABWDTSCQXBb TXKw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id x185-20020a6386c2000000b00573f885c4easi1012545pgd.753.2023.10.31.07.00.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 07:00:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id F24F280A9B14; Tue, 31 Oct 2023 07:00:00 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344719AbjJaN7r (ORCPT + 99 others); Tue, 31 Oct 2023 09:59:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344730AbjJaN7p (ORCPT ); Tue, 31 Oct 2023 09:59:45 -0400 Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 663F6FE; Tue, 31 Oct 2023 06:59:43 -0700 (PDT) Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-4083740f92dso44576115e9.3; Tue, 31 Oct 2023 06:59:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698760782; x=1699365582; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Ns4BLhDD8GkxBMhxrw6EyETfc0HoITlA0+77SzQ5i8c=; b=qKZdYSnAH8/9lGFYiSknTYPZv1C4vAxvYFU7tiFwwrMJAESc5A/c51f0AKURV/qzyc /0ibc30zunnamH+hS96gCq0Eq3wyMg5T84e/hR2BnLilBNW3WhCW9NTtq2eaDSnmzN/g zhi4GNJeXfqR+jv8OXAv08ElfdP8kPDuTfAHfeO/jKQYvkTH3lfPDNgp12N3JWgPFHNo FjhrApQuQrttatevymXSeooatyZoAXbiLWh8q/7ZOERPyAFfvKG8zAoo9mXpMNQmmo0W bIOZ6+yMlZTu2MCExcGCC2CPJ6nw47X61MY3CLHX3LzggQnyLh/mpP5eXfH9MoblkYXe vARQ== X-Gm-Message-State: AOJu0YwX951t918IGqnyMRhSzuhy3TNXgWYlLM1r9PxE9phWxSZgIT9+ KDzs6646QAsuUYL9UYKfizM= X-Received: by 2002:a5d:4049:0:b0:320:8e6:b0cf with SMTP id w9-20020a5d4049000000b0032008e6b0cfmr7489421wrp.42.1698760781527; Tue, 31 Oct 2023 06:59:41 -0700 (PDT) Received: from ?IPV6:2a0b:e7c0:0:107::aaaa:59? ([2a0b:e7c0:0:107::aaaa:59]) by smtp.gmail.com with ESMTPSA id q14-20020a05600000ce00b00326b8a0e817sm1560509wrx.84.2023.10.31.06.59.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 31 Oct 2023 06:59:40 -0700 (PDT) Message-ID: <80496187-8392-4c9e-ba05-89edea53e6e0@kernel.org> Date: Tue, 31 Oct 2023 14:59:39 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] x86: Let AS_WRUSS depend on X86_64 Content-Language: en-US To: Borislav Petkov , Masahiro Yamada Cc: peterz@infradead.org, linux-kernel@vger.kernel.org, Yu-cheng Yu , Rick Edgecombe , Dave Hansen , Kees Cook , Mike Rapoport , Pengfei Xu , John Allen , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, linux-kbuild@vger.kernel.org References: <20231031102111.32142-1-jirislaby@kernel.org> <20231031112558.GAZUDkRrkEStZqDnz4@fat_crate.local> <20231031133447.GBZUECd12o2sw7E4Re@fat_crate.local> From: Jiri Slaby Autocrypt: addr=jirislaby@kernel.org; keydata= xsFNBE6S54YBEACzzjLwDUbU5elY4GTg/NdotjA0jyyJtYI86wdKraekbNE0bC4zV+ryvH4j rrcDwGs6tFVrAHvdHeIdI07s1iIx5R/ndcHwt4fvI8CL5PzPmn5J+h0WERR5rFprRh6axhOk rSD5CwQl19fm4AJCS6A9GJtOoiLpWn2/IbogPc71jQVrupZYYx51rAaHZ0D2KYK/uhfc6neJ i0WqPlbtIlIrpvWxckucNu6ZwXjFY0f3qIRg3Vqh5QxPkojGsq9tXVFVLEkSVz6FoqCHrUTx wr+aw6qqQVgvT/McQtsI0S66uIkQjzPUrgAEtWUv76rM4ekqL9stHyvTGw0Fjsualwb0Gwdx ReTZzMgheAyoy/umIOKrSEpWouVoBt5FFSZUyjuDdlPPYyPav+hpI6ggmCTld3u2hyiHji2H cDpcLM2LMhlHBipu80s9anNeZhCANDhbC5E+NZmuwgzHBcan8WC7xsPXPaiZSIm7TKaVoOcL 9tE5aN3jQmIlrT7ZUX52Ff/hSdx/JKDP3YMNtt4B0cH6ej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gZVyIyTq3ekOuruftWL99qpP5zi+eNrMmLRQx9iecDNgFr342R9bTDlb1TLuRb+/tJ98 f/bIWIr0cqQmqQ33FgRhrG1+Xml6UXyJ2jExmlO8JljuOGeXYh6ZkIEyzqzffzBLXZCujlYQ DFXpyMNVJ2ZwPmX2mWEoYuaBU0JN7wM+/zWgOf2zRwhEuD3A2cO2PxoiIfyUEfB9SSmffaK/ S4xXoB6wvGENZ85Hg37C7WDNdaAt6Xh2uQIly5grkgvWppkNy4ZHxE+jeNsU7tg= In-Reply-To: <20231031133447.GBZUECd12o2sw7E4Re@fat_crate.local> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.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 (groat.vger.email [0.0.0.0]); Tue, 31 Oct 2023 07:00:01 -0700 (PDT) On 31. 10. 23, 14:34, Borislav Petkov wrote: > On Tue, Oct 31, 2023 at 09:20:33PM +0900, Masahiro Yamada wrote: >> Please note "depends on X86_64" cannot prevent gcc >> from running here. >> >> $(as-instr,wrussq %rax$(comma)(%rbx)) is replaced with 'y' >> while parsing the Kconfig files. >> > Then what is this fixing? > > Jiri, what openSUSE kernel build issues were you referring to on IRC? As I wrote, we have a config which maintainers feed through oldconfig when updating the kernel. This time we got WRUSS=y. It was stored in git and later passed to build the kernel. And we received a different config from the build (WRUSS=n). We diff the two and error out if the built kernel differs from the passed configuration. Which is the case here. hth, -- js