From nobody Fri May 3 15:09:05 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VWDjF5BwSz5K9jL; Fri, 3 May 2024 15:09:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VWDjF4gx0z51d8; Fri, 3 May 2024 15:09:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714748945; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=o6/gqu/OIpdhE+FfL2F8MqrSKWIBnR5oLyovlja6TKk=; b=R4hkTTTytZO7TP/3q+JY4TnoI0mmMgq2qr8DFqVvHxkopT+N+8OKbVpeU+Rjj5ReShggjN 9uDY6cB6eMFL3RlcfjG0w4CkXtGJAi9fdnUIAvtJtflIU2LnbSI5Mz0zj88dc+oM7Ug2gI DZF9dKef8yDd8ElWM8OqAB1PXFyK2ztzzlTMoq/8KwJG4c6gnWSR6g0YaAEiVhyMrYjp7o 1kzA36PNHqTJTdUsVf2iQjvghu6aC6B7zwTZT5cvNRs6pzY5xnTSrnhlya3yqCe4kt3VJD HG7a/7xCuByWe04lxUDTr7e7rX45E7i29nTbgMMwtygNWwJZeqwvxEEtROI5sA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714748945; a=rsa-sha256; cv=none; b=XHReR5vMz+if57bfUhqARaGSkLADS1i9Njdt2YoLMoyYH6XrRdTEgfWzOTfbM6WdRc//Wa 0yAP4UTGyGJDv5W4a1MAG6ki8RbogTWNoZWJddMGm/oNcxaFq3GkNd2JCWOW5FFjbCapfx LfQmzOkGrAms86EuWbTiDwDXlByDRj+EkBKhKqS5drU1HEGxqJ9fo8ZqaIUZZsvSFFjxtY lceqGtLyIUrx4KfVybOsfrsfr11MNFHMUI8/G0cdN3B1FvjRRUJYcLgkOUG1p7/Vc0Uk7M 0J8Po6caowV5f4ReVqSluTeD29Px7Jq8SSJZspGxyDMRLWcYukpA9lyhZi4pxQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714748945; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=o6/gqu/OIpdhE+FfL2F8MqrSKWIBnR5oLyovlja6TKk=; b=HnjdEm42TI56YuYMBtIsDiT9UckF/CIkiuvUhMfVuu870XWp8w0AOcSXzJj8lzNWd+4MyZ eBKiQrTt7pT1ImnhYvz9PHJCBj1BGklRcaEbm4rfwGidcw92Hf78d9dmeNXrG2A97Z9MQd t/g+C66MNkgh8Uwr8t1phB+GBVe0JH1Kc1+3MM4kTM7pAkJ/h58wzHIOzIBMOWd5jKBPpv 31/bkbRVXwbT2SWz+6388bxRbMybAFye+cXYRkYqA1d7QuYyqs9nD5StcjFIr1g3MgwxiV XUJVjZSMOFkm1lpMzfQxRItLQHqsUL3W7NJXlzVs2kNvcUzpK2Ls1LFQ7Z04dw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VWDjF4H5rzrMx; Fri, 3 May 2024 15:09:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 443F95xV086968; Fri, 3 May 2024 15:09:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 443F95pr086965; Fri, 3 May 2024 15:09:05 GMT (envelope-from git) Date: Fri, 3 May 2024 15:09:05 GMT Message-Id: <202405031509.443F95pr086965@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 04ea5e9f84e2 - main - MINIMAL: Grow minimal to support ata, scsi and nvme List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 04ea5e9f84e2a62e874f7964fc94d10f454c7846 Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=04ea5e9f84e2a62e874f7964fc94d10f454c7846 commit 04ea5e9f84e2a62e874f7964fc94d10f454c7846 Author: Warner Losh AuthorDate: 2024-05-03 15:08:03 +0000 Commit: Warner Losh CommitDate: 2024-05-03 15:08:03 +0000 MINIMAL: Grow minimal to support ata, scsi and nvme Until the boot loader automatically loads these things (including the CAM dependency), we need to have them in the minimal kernel since they are needed to boot. These aren't strictly required to be in the kernel, since modules work, but are high enough demand items that until we sort out boot loader automation, I'm adding them here. These devices are also common in vm environments. The delta is relatively small in size. Once the boot loader automation arrives, these and a lot of other things can be trimmed. It's less than ideal, but is a good middle ground for the moment. Sponsored by: Netflix Reviewed by: kevans, emaste Differential Revision: https://reviews.freebsd.org/D45012 --- sys/amd64/conf/MINIMAL | 12 ++++++++++++ sys/i386/conf/MINIMAL | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/sys/amd64/conf/MINIMAL b/sys/amd64/conf/MINIMAL index 3447cbc366fb..191b88daca14 100644 --- a/sys/amd64/conf/MINIMAL +++ b/sys/amd64/conf/MINIMAL @@ -149,3 +149,15 @@ device xentimer # Xen x86 PV timer device options EVDEV_SUPPORT # evdev support in legacy drivers device evdev # input event device support device uinput # install /dev/uinput cdev + +# NVM Express (NVMe) support +device nvme # base NVMe driver + +# ATA controllers +device ahci # AHCI-compatible SATA controllers + +# CAM +device scbus # SCSI bus (required for ATA/SCSI) +device da # Direct Access (disks) +device cd # CD +device pass # Passthrough device (direct ATA/SCSI access) diff --git a/sys/i386/conf/MINIMAL b/sys/i386/conf/MINIMAL index c70fd27a5c69..73277c7a3cee 100644 --- a/sys/i386/conf/MINIMAL +++ b/sys/i386/conf/MINIMAL @@ -157,3 +157,15 @@ device xentimer # Xen x86 PV timer device options EVDEV_SUPPORT # evdev support in legacy drivers device evdev # input event device support device uinput # install /dev/uinput cdev + +# NVM Express (NVMe) support +device nvme # base NVMe driver + +# ATA controllers +device ahci # AHCI-compatible SATA controllers + +# CAM +device scbus # SCSI bus (required for ATA/SCSI) +device da # Direct Access (disks) +device cd # CD +device pass # Passthrough device (direct ATA/SCSI access)