Received: by 10.223.176.5 with SMTP id f5csp2367713wra; Thu, 8 Feb 2018 12:52:41 -0800 (PST) X-Google-Smtp-Source: AH8x226WeBPmYjnDHc7AQFgF9rq5SvHoOwL0Emv9GdrKhgSjbiLXB5usBMoeDF1lRXRleSUKPzau X-Received: by 2002:a17:902:481:: with SMTP id e1-v6mr288841ple.228.1518123161625; Thu, 08 Feb 2018 12:52:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518123161; cv=none; d=google.com; s=arc-20160816; b=RvRBQX6Ct+xAFZFMH+fTnhBADHfjoNO3UthOW6/zHIOWuCyAmKthKZsbyE7t7j7lZj +egl6BR5Jwp3puAk8yOmA4IPYVJ+IuyyVqitSYBK8fPILnMW/6xjlQJlNQofdNd3u88E 8l8R0Xsr6jC6N50HejU9sCvJLl4dfjKYIz6DaDWj/GlsMq47i/QGAbT3ZGJBveN/shgk Hqh71eHrrTHkFo2n3BQKxuho5X2jqgQz4nLgWiPClRYkSUucmu/bAS4rTT2F/pON+ali 1nGNFRlWd/m3uMGYJ9p8RQ1+0u/mRKLS1BIGzNHtmTsX2ktic035KalPUz/Gl36xpREK N/Jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature :arc-authentication-results; bh=SQ0uNznC1BngPIiXreVGXEf6ksO8qn7sRICrxXhxTts=; b=PUmesbj2xRfJrhGOF0DCFf17sg0CEoG9DodGnwN0oT2WNb4Aza+P8OewhBWtt8qCtC VE+OWgPi4tJN3UBGA9NnQhqs9WQUo8IO/S4Xmip32ktpSkTrVAlMIJPMCr+dNBUxSO4R i8JRzPDlS5dT7uF1X0TqhOhlbgXx0BtQwu6r0/v+yf6GYwjxUrKSZ42RXxq7okbhzT64 DImHJMgFZLqx/HMB4DiTVJ/thxMQQcivRA64tduA8tFm65/VKeS2cH3HqwaCqabhOAuj 9TgATdLXcwxv4+WKvoxtFwFGL3MRsGKZ/EUl36GgsrwHFVBJcIRNDhjuy5mSii2ori1Q ugmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=jgA9a+PA; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z62si495984pff.332.2018.02.08.12.52.21; Thu, 08 Feb 2018 12:52:41 -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=@sifive.com header.s=google header.b=jgA9a+PA; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752181AbeBHUvh (ORCPT + 99 others); Thu, 8 Feb 2018 15:51:37 -0500 Received: from mail-pl0-f66.google.com ([209.85.160.66]:46871 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751544AbeBHUvf (ORCPT ); Thu, 8 Feb 2018 15:51:35 -0500 Received: by mail-pl0-f66.google.com with SMTP id 36so433156ple.13 for ; Thu, 08 Feb 2018 12:51:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=date:subject:in-reply-to:cc:from:to:message-id:mime-version :content-transfer-encoding; bh=SQ0uNznC1BngPIiXreVGXEf6ksO8qn7sRICrxXhxTts=; b=jgA9a+PAxyGq0GSEEFOOwhgXHzl1WEGo9ivQTh7msulCp7CNZvpZzVvFro8AkQvfOW ldMIeYoq50J0YOPVNRVDnqP3L+Y+3QbJO4oMMuP86f/0yN2h7lVJI8PG25ykP16xQ5HH IBgMLIZ0Ozz7QPJ901jBufzD9KnkNfNPnBgiHuZvMVyDUsVseo9lYUFkfjNHPH71/puw 6I2M6uiHTEdYQ7p4rKm5AV6ly9mlhQFn2wU8VQA25yEyp98arLI2fPoMB/Qa+wbaB2f3 Rc1/H/8HYlALXB8f84ZYHL62nJP44LvgDBpSGTCzE8bh9aHbOgt/iqP5GhScoptcPf5O odUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-transfer-encoding; bh=SQ0uNznC1BngPIiXreVGXEf6ksO8qn7sRICrxXhxTts=; b=ehNg15/s9YA/qWDsEQ4UW8JbWHiYVD5qfmTbnN2Dk9ABmChtinOzG+ElRjEbRIjbkc UVZirEAkexgj0jzzWtcvTzWlO53Hdc7nlVH2jiaODSpo4zYjAlcNctHjM/n886qAy834 5PwMqnaacNcmsHJzaMPfELl+0idSGUX6jLmcXg9O3/+fVbd1xdEvv3lDI9M+w6O0taxf 6PQUevSwPIV5kle+gPMUJpgBQMjLcxfUD+HRV1ZEZE1vubMemfTKe7flXOkJUGyHFcQF bfdyq5j2wth65zSGsFcpUSBZDtDYn4mt/mODzGYdeuke7VSnYEEwcJztCFDjHwfzJX1p tHTg== X-Gm-Message-State: APf1xPBx8aJXFvvEF8jHOcNpAUg+yMv53YmbHE/HNdbMoAiexBN8nGqL Dzr1H+WMDd9cOj9Bx8iD3HRa46T1sqhybQ== X-Received: by 2002:a17:902:9005:: with SMTP id a5-v6mr265808plp.251.1518123094670; Thu, 08 Feb 2018 12:51:34 -0800 (PST) Received: from localhost ([12.206.222.5]) by smtp.gmail.com with ESMTPSA id f79sm1601195pfd.103.2018.02.08.12.51.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Feb 2018 12:51:33 -0800 (PST) Date: Thu, 08 Feb 2018 12:51:33 -0800 (PST) X-Google-Original-Date: Thu, 08 Feb 2018 10:36:28 PST (-0800) Subject: Re: [PATCH 07/20] riscv: Remove ARCH_WANT_OPTIONAL_GPIOLIB select In-Reply-To: CC: linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, tfiga@chromium.org, paul.burton@mips.com, m.szyprowski@samsung.com, egtvedt@samfundet.no, linus.walleij@linaro.org, vgupta@synopsys.com, mgorman@techsingularity.net, Christoph Hellwig , mina86@mina86.com, robh@kernel.org, sboyd@codeaurora.org, paulus@ozlabs.org, Will Deacon , tony@atomide.com, npiggin@gmail.com, yamada.masahiro@socionext.com, ulfalizer@gmail.com, albert@sifive.com, linux-riscv@lists.infradead.org From: Palmer Dabbelt To: ulfalizer@gmail.com Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 04 Feb 2018 17:30:57 PST (-0800), ulfalizer@gmail.com wrote: > On Mon, Feb 5, 2018 at 2:21 AM, Ulf Magnusson wrote: >> The ARCH_WANT_OPTIONAL_GPIOLIB symbol was removed in commit 65053e1a7743 >> ("gpio: delete ARCH_[WANTS_OPTIONAL|REQUIRE]_GPIOLIB"). GPIOLIB should >> just be selected explicitly if needed. >> >> Remove the ARCH_WANT_OPTIONAL_GPIOLIB select from RISCV. >> >> See commit 0145071b3314 ("x86: Do away with >> ARCH_[WANT_OPTIONAL|REQUIRE]_GPIOLIB") and commit da9a1c6767 ("arm64: do >> away with ARCH_[WANT_OPTIONAL|REQUIRE]_GPIOLIB") as well. >> >> Discovered with the >> https://github.com/ulfalizer/Kconfiglib/blob/master/examples/list_undefined.py >> script. >> >> Signed-off-by: Ulf Magnusson >> --- >> arch/riscv/Kconfig | 1 - >> 1 file changed, 1 deletion(-) >> >> diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig >> index ff69c77b9e78..716e90e60e5c 100644 >> --- a/arch/riscv/Kconfig >> +++ b/arch/riscv/Kconfig >> @@ -19,7 +19,6 @@ config RISCV >> select GENERIC_STRNLEN_USER >> select GENERIC_SMP_IDLE_THREAD >> select GENERIC_ATOMIC64 if !64BIT || !RISCV_ISA_A >> - select ARCH_WANT_OPTIONAL_GPIOLIB >> select HAVE_MEMBLOCK >> select HAVE_MEMBLOCK_NODE_MAP >> select HAVE_DMA_API_DEBUG >> -- >> 2.14.1 >> > > There's also a select of a globally undefined symbol RISCV_IRQ_INTC > here. I couldn't dig up any historical or unmerged definition for it > either. Googling just gets you the select. It looks like this slipped through, the symbol has been renamed RISCV_INTC. A patch to remove it is Reviewed-by: Palmer Dabbelt (and like the other ones, if you want it through my tree just say something)