Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp695533ybh; Tue, 10 Mar 2020 06:37:44 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtKgMAC35N6hrk00K/UgiCVpUHf0ej2zZW3lgxs6kVlyC7cRxav3+72BnXcqCuwr4vJw78N X-Received: by 2002:aca:cf48:: with SMTP id f69mr1102303oig.122.1583847464387; Tue, 10 Mar 2020 06:37:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583847464; cv=none; d=google.com; s=arc-20160816; b=mRTUePLE8xwa9uWXQGGdWViDawESNSLj+FbsgJg3yozmrDWZvx0WiT1JzxxN69KIVX Tkzb3/aicazynFLFO9O6uZBCmfrHbgnsvskTHWitbjKU8zzVRIW4/sB53mlJrfo6s7Ck exQak393IE7Ykq0dCdcUg/V2IntmYydxJZOEczBPSH7R9CtdsBwJCCT7j5WHnaAMXHXG jGi3sJc+a1XlXNorIKgEsfW7ncwKIQ2Gr/+1nyKr0PeAje4Fpz+5Ku+jrQsv9c2GNt/z k/bc/+/WSHwZBpCxApl/47B2F0DDJD1+BxwsfEmj9qS8rNTCKd3jGSqLNXkhnzvz0r+b gYsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=X6+AR1Sm0huTiOmTHUHeBU28UDpRzfwyHTrCE/9H+0k=; b=LflkYNKyw5I7WhiUGHAml1Yv+EzdSa0FvKEFHHFoAw3WVGRpRhDZpVgs9sn1LEPmlS kl1B+Nl1MN0JQwge+gdLe1Fb02QvJ/klQkVCM8q2by/vzDF1dl0BElsQVEpAC/Z4doUa iCk9n0saESE8APG7WrnialReB+lhTwY2yKnlD9H3fJzXNL+rEZNWvmVNGx871DANBl37 0n2Ep7ik/IjWItLDMK/s9P/eQBRDLFwNTo7T0KeedM0grMFxHcwilucL4stbGbCePy7Z pJz7ME+HzmTxLv6zqL2DacrgU0DunRbQBMXddY2HlY0l7f88T2c7xT1xVlxFuF0njm1F EEMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="TO+BX/Pc"; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r3si4933370otc.58.2020.03.10.06.37.30; Tue, 10 Mar 2020 06:37:44 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b="TO+BX/Pc"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727581AbgCJNgb (ORCPT + 99 others); Tue, 10 Mar 2020 09:36:31 -0400 Received: from mail-yw1-f67.google.com ([209.85.161.67]:35323 "EHLO mail-yw1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726859AbgCJMmq (ORCPT ); Tue, 10 Mar 2020 08:42:46 -0400 Received: by mail-yw1-f67.google.com with SMTP id d79so12386287ywd.2 for ; Tue, 10 Mar 2020 05:42:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=X6+AR1Sm0huTiOmTHUHeBU28UDpRzfwyHTrCE/9H+0k=; b=TO+BX/Pc83sjyH/1clGRsJ3evPMnbZNEMBak/+efgmCETo89CvQ/ilyaBphkZIjtCB S75kPK6p+VkNIviTIMy1jqmoDgb59I+I0/3bYBkXP/jR8Ifu0C9AyiD6TaNVMJ7PM5Mx gnV91kUlK593CUGAymHMd2eSkryNRhaAHD2F5iOc7VBqwDmA7mYAQKD1eU8mP6CgAk9I tPW899+q2Lzhs97UGdAyHuyZzR3UHWTc/espqU0/UnURqJpPrV7NS66ipaKCIp9wCwQn gN1BE8OK7vCi9Pv796lbWKjELx75rWPJRX0gKTmKtPeKC5lHLmHS6cBLjuqv7OUAMdVP ZaSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=X6+AR1Sm0huTiOmTHUHeBU28UDpRzfwyHTrCE/9H+0k=; b=dPlwgo8OJtH1sUd3IxL2/rmT8KCsTcjNh/yJwgPq2B040kG/lam9BWIQgnA3+ZhCqd HTywzqoej+P7cc4EFE7gCBzzJ5uy2geAsrjl3LIieUhW7mIusBUqV+5U+mIhJgHzZaUi EJQC06s0ItK+HN07WxD+MJuqKmVawlc+4TgdSEWvd5qIgX3GDviBu0B/yGcP4BjU31M7 i1hGPbrirvjUUHLuBYIj0Qfjs5ZifN8Spk7/K7TtD/St+gjVjWS3kXeeesRUaRJkqzOd JCvJHjKycr8bunRTjfM0XQeuDLmQHfqhwKlF+jG3zR07FtoEcHWXmjrPY/JshgAZmAjJ FUoA== X-Gm-Message-State: ANhLgQ2zl2FJ/XXxupjY9lHnQv6Viz9i4JsDg4n6zhXtrm4pAmKGmtAy n4UIfAXUojToSzDWpc7HcVS2keqM9tLGzANU6dI= X-Received: by 2002:a25:614b:: with SMTP id v72mr21345190ybb.154.1583844165317; Tue, 10 Mar 2020 05:42:45 -0700 (PDT) MIME-Version: 1.0 References: <20200310115925.126174-1-anup.patel@wdc.com> In-Reply-To: <20200310115925.126174-1-anup.patel@wdc.com> From: Bin Meng Date: Tue, 10 Mar 2020 20:42:35 +0800 Message-ID: Subject: Re: [PATCH] RISC-V: Only select essential drivers for SOC_VIRT config To: Anup Patel Cc: Palmer Dabbelt , Paul Walmsley , Albert Ou , Anup Patel , linux-kernel , Atish Patra , Alistair Francis , linux-riscv Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 10, 2020 at 8:00 PM Anup Patel wrote: > > The kconfig select causes build failues for SOC_VIRT config becaus > we are selecting lot of VIRTIO drivers without selecting all required > dependencies. > Isn't this a sign of some VIRTIO Kconfig options are not correctly expressing dependencies? > Better approach is to only select essential drivers from SOC_VIRT > config option and enable required VIRTIO drivers using defconfigs. > > Fixes: 759bdc168181 ("RISC-V: Add kconfig option for QEMU virt machine") > Signed-off-by: Anup Patel > --- > arch/riscv/Kconfig.socs | 14 -------------- > arch/riscv/configs/defconfig | 16 +++++++++++++++- > arch/riscv/configs/rv32_defconfig | 16 +++++++++++++++- > 3 files changed, 30 insertions(+), 16 deletions(-) > Regards, Bin