Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp993928imu; Fri, 11 Jan 2019 12:55:20 -0800 (PST) X-Google-Smtp-Source: ALg8bN7nVIehIFYMu4sNsXQS9wtLCbziecv2IyrptzCwOxlY3fW4/cF0MnqAv4x5SI/miaBchGfu X-Received: by 2002:a62:8893:: with SMTP id l141mr15894880pfd.1.1547240120838; Fri, 11 Jan 2019 12:55:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547240120; cv=none; d=google.com; s=arc-20160816; b=xTq9NpuXzpIHF4u7Uy2wm41eW4oPBr1BI1vZcECDPw1CZeg/d+Y2Dzwr7xEamsxdKJ cLzPCfHR4N0ofWV/lz3RBkpXyC+dOrprn+8MCBy+eH+bgLwNwVKM6ZdbXI7RxjXGK+7P S6wrwNrfDdxIU+OGySF/INOye6TXA+Zt/IuRHv56v/R2ib14FSlTPlrCJOZ37UUujXpj 9Igd5SnhXNKSjlKlJcmRO8PR6+lRcM98l3d35IMAvTgjK2JXyP9Q8VobEHOK2BgzBBOV zT+uQ40NmFsyfPNQCVjexaBcVa7H2XP2hnk9F56DnVperijlP+Or3if0WALz0MCy7v1X brdw== 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; bh=fQyA7PYCxQENfWhPz6dSiDsgSet3p+Oi1/3rkGt1iow=; b=CWE9or4E39bYEzxeAeWoSPmluywPCdAtqgyAtYxApal0VGb9SCGWjZk+KEcBtOg1+b XwdwiC5foyg9m502QniIC8tIVuHCqoe9nTdZTGaMtKhBzspxH9rKRBZ8VpAruDkZFVA1 yPYsiuozxre7/bQcctSFgAQ7VS9Ag2+YRKqgEUjfjxbX+UnTFZGA2grA1Km81Swqin3o RW8vTuHSAOKCofaKqj4X0NaFBlH3KurPVv2r61ZqoufcRnn4rlH7oLsPKQezF7pNi0wT Ia7UmGICV+LpNzZ1z3Z9j0MYW1Pt+DHdIO05AJSXUziVaT+jpWnMue4v7J5pjKQXgxrr Ib5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=PMmkBmSD; 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 b21si921532pfb.89.2019.01.11.12.55.05; Fri, 11 Jan 2019 12:55:20 -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=PMmkBmSD; 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 S2388533AbfAKRKW (ORCPT + 99 others); Fri, 11 Jan 2019 12:10:22 -0500 Received: from mail-pl1-f195.google.com ([209.85.214.195]:44231 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732737AbfAKRKU (ORCPT ); Fri, 11 Jan 2019 12:10:20 -0500 Received: by mail-pl1-f195.google.com with SMTP id e11so7020095plt.11 for ; Fri, 11 Jan 2019 09:10:19 -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=fQyA7PYCxQENfWhPz6dSiDsgSet3p+Oi1/3rkGt1iow=; b=PMmkBmSD+Vz9RzlWKxX9RNTWDg04GgYGQW2Gs/jo17kBjMjKeawGhAaj8qhmBYnSoX zWzANO6mvvAJ+ZQg9f/nHWpUHOx9PRX5cDv7NBbBE82bLl8JjDpi1/8kkE3KRlbCqWG3 fOqiWj+RSTGpycSTmZuPr+03D7NvPDUi2ca/3gULeCIkCiV9xdXJEKUJhbN/kmuL5s8r 5HE6CEgAmFwzafAjSrfuH2mCRbIS8tpJXSn1JAyM3RAQ5UNUbgG43T5ZXSllne6LtIwJ tLkDreprYADo6EO37z9msrFrXtc3oXeIcFSrVwwg3F2SSIAKaayuP2lZncI381vhw2lk CCpg== 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=fQyA7PYCxQENfWhPz6dSiDsgSet3p+Oi1/3rkGt1iow=; b=dYCDn0Ud2V0OovkdGFCgi0we3qg85CXYJaNWwYToMp0rh5a52LMZDSvIgoDd8+giLw 1NQLvxXcDyVVYhXM3RXYJcV672zspPKuAyVlpZ3Jt0kJX8fcgqWJ+scSr7k9Lj0Tf8Sj XVJj9Lu4z+YRFw3+5jN51LtmN1Z5GE+b6lWvXYIGZ1l904M6Q538DOA6YKW6rlcimPkN PUzXMAtHWeNok24lQMX6P0A61J9H2pyrZlOLd3mEEW6jtgRCmjnt/aq04YBOT5rZAtcY Ixscay8EZWgjXFfSzB2ZMhTniTYYwsWdm7oDsTu012GHgDLG3LXS9bAIJHe/jS9Dm1lY swUQ== X-Gm-Message-State: AJcUukesDnpnrEdoTOy1JHAKMV5A7hJ8ChOELtLt23EU1pOw86g/Qiu0 JMlgKn3Pd4k0z9Tl9fv70puurg== X-Received: by 2002:a17:902:b20e:: with SMTP id t14mr15538357plr.128.1547226619481; Fri, 11 Jan 2019 09:10:19 -0800 (PST) Received: from localhost ([12.206.222.5]) by smtp.gmail.com with ESMTPSA id d6sm109441915pgc.89.2019.01.11.09.10.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Jan 2019 09:10:14 -0800 (PST) Date: Fri, 11 Jan 2019 09:10:14 -0800 (PST) X-Google-Original-Date: Fri, 11 Jan 2019 09:10:03 PST (-0800) Subject: Re: [PATCH v2] RISC-V: defconfig: Enable Generic PCIE by default In-Reply-To: <20190110193451.29016-1-alistair.francis@wdc.com> CC: Palmpalmer@sifive.com, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Alistair Francis From: Palmer Dabbelt To: Alistair Francis 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 Thu, 10 Jan 2019 11:35:01 PST (-0800), Alistair Francis wrote: > Enable generic PCIe by default in the RISC-V defconfig, this allows us > to use QEMU's PCIe support out of the box. > > Signed-off-by: Alistair Francis > --- > arch/riscv/configs/defconfig | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig > index f399659d3b8d..ccfd3f05223c 100644 > --- a/arch/riscv/configs/defconfig > +++ b/arch/riscv/configs/defconfig > @@ -14,6 +14,8 @@ CONFIG_EXPERT=y > CONFIG_BPF_SYSCALL=y > CONFIG_SMP=y > CONFIG_PCI=y > +CONFIG_PCIEPORTBUS=y > +CONFIG_PCI_HOST_GENERIC=y > CONFIG_PCIE_XILINX=y > CONFIG_MODULES=y > CONFIG_MODULE_UNLOAD=y > @@ -77,5 +79,6 @@ CONFIG_NFS_V4_1=y > CONFIG_NFS_V4_2=y > CONFIG_ROOT_NFS=y > CONFIG_CRYPTO_USER_API_HASH=y > +CONFIG_CRYPTO_DEV_VIRTIO=y > CONFIG_PRINTK_TIME=y > # CONFIG_RCU_TRACE is not set > -- > 2.19.1 Odd -- when your QEMU patches came through I tried doing this, which resulted in a non-booting kernel. For some reason this patch is fine, though. I'm going to just assume I screwed this up the first time, so it looks like this and the QEMU patch are good to go. Thanks!