Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4308617ybl; Mon, 9 Dec 2019 08:42:42 -0800 (PST) X-Google-Smtp-Source: APXvYqxeB2YvK+l0U9BR9+dkfWd9Cy1oq6XGmsiS5ujcQpV5TWpEwaGNAK7OsAwF1GCFDDeIzGlH X-Received: by 2002:a9d:67d8:: with SMTP id c24mr6667175otn.172.1575909762322; Mon, 09 Dec 2019 08:42:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575909762; cv=none; d=google.com; s=arc-20160816; b=f3Y2yZ/8fguElmWEqY6UB8GEO6AQRiejEUS/iZjdDn6gya9LeLWnGJFHk+lyFwoNT8 c1XS/pMPj7dtPpJgkveMPmhN9U0qR0FNWAdi1axg4F7iSs2fTg6Eel+q0DIyzp0Kgsr+ 10POwrRxFyWTF5jscsiuESaOaAE52srYo0EPFX4OQFTO1RNNGyoJf5mWR3VU7577JrLu Dh86TxsUsorVtnOZqaWkxpelRh6exJGYnmTT0PhvCdXdKaHVSHtdOyWAB3Ih31b1j56H jHrOmjv5aG1pZAy8TLwO5ZpHstwgqMBQ9MiQUsudQtCwI30JN9Iewf3kvLep34aXu0m/ qxPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:user-agent:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=IOIs+T0JPjFAhSLIWFD9VPKRUMGW1/PSSpZsJupmtqs=; b=ovNNPqZiCu6YFE5IUZsOFXSkkn+RiA+MoOdbm/yqOTPyZn8TkorvDF4YCLTwMvS//S DDHki9lHlS8yPlnwG9NNKRqIKm/zbX+fqZ+SJQCDZud8d8W1XxaR7bbQVprpnU8anMCS v8jSKWO/Ms3ehwRG7nDzIrkJYU1QGAlHboGe/mRfkVsSw7u7D0Jw5P18PVCQXWZJnFxb FDBMYzFB9c/aoVZUit/FjPzKoJ1Zuh7aiouSsW8Tka98hXkuGd58Z0BEvz6TV/ODYl71 ubbk01YSuYb5qF6eiLc5JUMaXpQWRUNBGIJ0sKQZzzCfMmyEOgXhQtLfY+9GNs7ka5Y9 1rfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=DprpQ0o3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w15si79567otm.263.2019.12.09.08.42.30; Mon, 09 Dec 2019 08:42:42 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=DprpQ0o3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726607AbfLIQmB (ORCPT + 99 others); Mon, 9 Dec 2019 11:42:01 -0500 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:48753 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725904AbfLIQmB (ORCPT ); Mon, 9 Dec 2019 11:42:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1575909720; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=IOIs+T0JPjFAhSLIWFD9VPKRUMGW1/PSSpZsJupmtqs=; b=DprpQ0o346JRQYdLWSffallMBtaM231p6ge3GrPx+cCa6Bj8GZ560u9NcD2BwessbufJUd KlrEr1JYPYYU17IkFGv8rziiVqOk+hary0q5+dZQyXa+skbKgmGTMybA356V1MJQgOimKG WHFZuDZDncqI/ehJTrlEalxoKrL/3Ik= Received: from mail-yb1-f197.google.com (mail-yb1-f197.google.com [209.85.219.197]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-411-ozR-9nQwNPK11AmK3iSQFA-1; Mon, 09 Dec 2019 11:41:58 -0500 Received: by mail-yb1-f197.google.com with SMTP id o85so6312968yba.13 for ; Mon, 09 Dec 2019 08:41:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=7O3guB7wOY3MrLnldmdm9BIXXTqe2JfD4cDZWNKwU28=; b=ZMu0ekQeUSwpgGuMGC8d6eNdN+pylnmktb5/XLgYkx9YH5podqAKnph7nAZgyEnIQ0 ddFWhzlJJYKTbwPAp1hKDRCi5v6sqNN9GWagzeTxS83QWQTkVgOJqnxsavZA/pT/SsiS zjnfT2abHqRz0pfsjZEdffg/uMev9WYGb1hCy1QrCnoMCA7nvy9bAWSzoUFc3hIklzJ0 6/c3cgAwzi/HTbdYg+IwfMTGvoeXUJhS/Hq7lbl+TsRG78MfdPAty9jlmVMzldwyCz63 Zq3bY5srOSK76VBB0kNaUpdyegn8UHXPyH+2abp3g0YUcJIxbAKBtK2P9PsBAj29p3KO EsyA== X-Gm-Message-State: APjAAAV9/CUwa75UmnUmo6vb2jo4QaFK8M7GvG8CH/B9WJbSuhZaCaC2 h8qcgPVoUxVKjIqmo+qH+kX7GPMzWV/TfY5FjjwiKKE77BFJ99GxUY7AdnAgEWgPBn69eOAU1Pn FWpCW8fgIU7jxF9Hycd2J7T77 X-Received: by 2002:a81:2781:: with SMTP id n123mr22719234ywn.70.1575909717689; Mon, 09 Dec 2019 08:41:57 -0800 (PST) X-Received: by 2002:a81:2781:: with SMTP id n123mr22719219ywn.70.1575909717409; Mon, 09 Dec 2019 08:41:57 -0800 (PST) Received: from dev.jcline.org ([136.56.87.133]) by smtp.gmail.com with ESMTPSA id d186sm144163ywe.0.2019.12.09.08.41.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Dec 2019 08:41:56 -0800 (PST) Date: Mon, 9 Dec 2019 11:41:55 -0500 From: Jeremy Cline To: Heiko Carstens , Vasily Gorbik Cc: linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org Subject: s390 depending on cc-options makes it difficult to configure Message-ID: <20191209164155.GA78160@dev.jcline.org> MIME-Version: 1.0 User-Agent: Mutt/1.12.1 (2019-06-15) X-MC-Unique: ozR-9nQwNPK11AmK3iSQFA-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi folks, Commit 5474080a3a0a ("s390/Kconfig: make use of 'depends on cc-option'") makes it difficult to produce an s390 configuration for Fedora and Red Hat kernels. The issue is I have the following configurations: CONFIG_MARCH_Z13=3Dy CONFIG_TUNE_Z14=3Dy # CONFIG_TUNE_DEFAULT is not set When the configuration is prepared on a non-s390x host without a compiler with -march=3Dz* it changes CONFIG_TUNE_DEFAULT to y which, as far as I can tell, leads to a kernel tuned for z13 instead of z14. Fedora and Red Hat build processes produce complete configurations from snippets on any available host in the build infrastructure which very frequently is *not* s390. I did a quick search and couldn't find any other examples of Kconfigs depending on march or mtune compiler flags and it seems like it'd generally problematic for people preparing configurations. Regards, Jeremy