From nobody Sun May 5 05:10:17 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 80.81.252.135 is neither permitted nor denied by domain of seabios.org) client-ip=80.81.252.135; envelope-from=seabios-bounces@seabios.org; helo=mail.coreboot.org; Authentication-Results: mx.zoho.com; dkim=fail spf=none (zoho.com: 80.81.252.135 is neither permitted nor denied by domain of seabios.org) smtp.mailfrom=seabios-bounces@seabios.org; Return-Path: Received: from mail.coreboot.org (mail.coreboot.org [80.81.252.135]) by mx.zohomail.com with SMTPS id 1494512310878899.348491240015; Thu, 11 May 2017 07:18:30 -0700 (PDT) Received: from [127.0.0.1] (helo=ra.coresystems.de) by mail.coreboot.org with esmtp (Exim 4.86_2) (envelope-from ) id 1d8ouz-0006gf-TC; Thu, 11 May 2017 16:18:14 +0200 Received: from mail-qk0-f194.google.com ([209.85.220.194]) by mail.coreboot.org with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.86_2) (envelope-from ) id 1d8ouo-0006fc-3n for seabios@seabios.org; Thu, 11 May 2017 16:18:09 +0200 Received: by mail-qk0-f194.google.com with SMTP id y128so3828710qka.3 for ; Thu, 11 May 2017 07:18:04 -0700 (PDT) Received: from localhost ([64.9.249.1]) by smtp.gmail.com with ESMTPSA id b130sm6412qka.0.2017.05.10.13.15.47 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 10 May 2017 13:15:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=koconnor-net.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id; bh=SK83TM9EA6vnhUIBp5vfwp6caD9sRBuDkMDKw/bGdTE=; b=A5LO1svR012Fxrw795h35WEW/Y9zYReBg6mmHpNUzMMZk4EYQZZ+Fj2U6gefMjWo9q GnC6PxwH1BTyTHfv+6icngTOYmXNTBhHKFUREEJVtX9cAycI4obsZVtlLsbuSJoSGFln 8GE/d6b2HyauyudLMNBiMuhuHY92AXN6XxafTs+wsCiesP0xXuJ1c/PPaF7jB55Tl0Iq cY6+2ywoCbFELgZUm8vrx5eA9lnKfRvGwuFL+xj1f1MjelMz8G8HdpA4KBFwdK2Zw6XE EpwCD50EdkVlXt+xc+niTgFBZ111Ciofx9xYIYo4GshvQ03oupsD7gLlJ4OwzBj+YqBe s4Eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=SK83TM9EA6vnhUIBp5vfwp6caD9sRBuDkMDKw/bGdTE=; b=nDt0EUqDfH/rNz5qNhsMWi1BFmo0wQlTUInU65uhlBZXuNntArLKFSiKAj22PC4/lE INXYRJzWgVR9VJwpG9QUKAtfHkdeMypAAYMNGFzQ3xIOsaPo8lYVKvCTa5zDYg1QD7Tr Qx7gsPuEWux2X18q5B6JcmrtNdHPtbZk3DgWqQYuh6rkb+APsthZGlLrbZNBJ5DB8pJc 0daY1Si/MNHOIUr3KmrH3jmxaxQInNY3UxFOSynONrcnXUL4dRNTe9JAl466s6G6Ia44 bS+D9naWw9gzy8hnAJ/UfW9J0LKhtLBFoYhTpClxgYkQ9FD+jgK+fXLvbZmFEL8p8hYx qJBg== X-Gm-Message-State: AODbwcCCIZt0+JPUQut0c5LIk3qDPfeYA1bUFY9h1uOlmjZ5puBY/8ZJ Ae8BGut0DqzOSWrIMn8= X-Received: by 10.55.49.11 with SMTP id x11mr7901402qkx.12.1494447348670; Wed, 10 May 2017 13:15:48 -0700 (PDT) From: Kevin O'Connor To: seabios@seabios.org Date: Wed, 10 May 2017 16:15:46 -0400 Message-Id: <20170510201546.12880-1-kevin@koconnor.net> X-Mailer: git-send-email 2.9.3 X-Spam-Score: -1.2 (-) Subject: [SeaBIOS] [PATCH] NVMe: Allow NVMe to be enabled on real hardware X-BeenThere: seabios@seabios.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SeaBIOS mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: seabios-bounces@seabios.org Sender: "SeaBIOS" X-Duff: Orig. Duff, Duff Lite, Duff Dry, Duff Dark, Raspberry Duff, Lady Duff, Red Duff, Tartar Control Duff X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" A couple of users have reported success with the NVMe driver on real hardware, so allow it to be enabled outside of QEMU. Signed-off-by: Kevin O'Connor --- src/Kconfig | 2 +- src/hw/nvme.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Kconfig b/src/Kconfig index e1b83a4..77ec9c7 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -228,7 +228,7 @@ menu "Hardware support" Support floppy images stored in coreboot flash or from QEMU fw_cfg. config NVME - depends on DRIVES && QEMU_HARDWARE + depends on DRIVES bool "NVMe controllers" default y help diff --git a/src/hw/nvme.c b/src/hw/nvme.c index 60557ae..1c2bce5 100644 --- a/src/hw/nvme.c +++ b/src/hw/nvme.c @@ -618,7 +618,7 @@ void nvme_setup(void) { ASSERT32FLAT(); - if (!CONFIG_NVME || !runningOnQEMU()) + if (!CONFIG_NVME) return; =20 dprintf(3, "init nvme\n"); --=20 2.9.3 _______________________________________________ SeaBIOS mailing list SeaBIOS@seabios.org https://mail.coreboot.org/mailman/listinfo/seabios