From patchwork Thu Jun 20 11:02:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13705128 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 589B3C27C79 for ; Thu, 20 Jun 2024 11:03:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=8lvbiEkR1Ty45beiO+GW1PMMZ6hTnICa/6YOJZyKCgY=; b=2OAeSsIFFOIYenzPnC+nNjXt6e eVsImxPsAGZUmylM/rH34jx7TvDt5foZhbU1ld+QGVTJToZxIufmC1eOyWkvxc9D3k3RQa970JWDz M8dLreLUhWknXNqxgJtA44StY4uMxWspMFc+dK9S5rMQMPtW/FiNHRYT1aComeVwCT6HLNxOm/vqG PmGGSOIUw/P1ps5YBAPdrzjwUp94RyK2MmFRMBrj4lPKFX7o9GwoWx2B1wrALKq1MOFGtntcnoLtZ Egkuebbvgaf8uDWDDxwIIdPyZ+X1tX8xU/pLZvjvDknw8sRjgB/SVyKSZg4JQcUOGoT7p7QjCrm4k VtSr6hGw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sKFZK-00000004feQ-2wSh; Thu, 20 Jun 2024 11:03:06 +0000 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sKFZH-00000004fcu-2Fnf for linux-arm-kernel@lists.infradead.org; Thu, 20 Jun 2024 11:03:04 +0000 Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-1f737bd5cfeso863595ad.1 for ; Thu, 20 Jun 2024 04:03:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718881382; x=1719486182; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=8lvbiEkR1Ty45beiO+GW1PMMZ6hTnICa/6YOJZyKCgY=; b=LQ9rKVwmh0IWs6/M7miOQOX69nN65TuMC4oJUsD2X6OSJinDLV19AVMzgpf6LMm5y6 saJiJ01xKWogGSfB+Q6u4RJXEXBHbqTSXXw+eh2xcPitD9EZVZbE7WEGYzpHJH/LWfCr Av+1ldinC2MXHpiUvUWcILCct1YkZ40KYgTkr02rFmxIBLH1Ls/a+lPIBv/oyQRkGxyu kl81aaTO/ZfqdK3dqMIJk8dw1M6O/V6LU0QKZI4NpiTj6/+Wq63bIfnnVr64jD39n0Vl 5H00MyJiUKShbADbCQZQjqmNmlAkMynz1EVY2+V2qjgfQaNz+ZDo7RTgdO1z1U2OE4+s nd3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718881382; x=1719486182; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=8lvbiEkR1Ty45beiO+GW1PMMZ6hTnICa/6YOJZyKCgY=; b=v3ayS2E190mH499ezQvatgxkeoGkTkkAVOhWrKkoJUD7xIHjJJvlS7E3FjkC6T8Wr1 ApM7YFbWIuUBN04eEt/MbHzzrH+RzAI3U8Dv8uLIbe+jxOeRt930or0300qKYrsB1uPX 1hx7yfRJoqhT3akNMnt14BtQqHCmMyZ3khiXNMOyT9GqLj5U6Gfn0MFU97cjfH27cJa4 zu4lLA5d2Vd4Bf7e6b+cmIr59yP7hTyKY4WbeNDVZ4gybdMqHMUpTjpCmzUEa6wOOdc8 z9crMCVuu8lvqkuqP2dvF2XVBd6FPhQYje/Dw9xHGNzDwS9MPh9hTu7T0OmO2g0vAJJ1 5Xyw== X-Forwarded-Encrypted: i=1; AJvYcCV3xH1EtYvgOWc58GHagvCzsUYzkGaa1ZIAKJEWIievJpTXq4qQDGAdcjHBibqpSCQuINdvJTKg/1julptsd+duuEBskBntGXDswSXoSRtCRgRtW2U= X-Gm-Message-State: AOJu0YxtKAsnl5lDq+0f4H5cJJEHGhm3ImuYGJK3lRC1nvS3KnJLEkNp rO6FqvGptOEcmC1j+m1fPPxR36wjsl2hoGj8bX258vkMmWi6q4nm X-Google-Smtp-Source: AGHT+IEPYyiVjNS5ADH45g0I8/t1ZHt2Fg2tCclQ92QWl/2W5kHAQXtyqnaWK7ho5U/pEDUaomiVLw== X-Received: by 2002:a17:902:f68e:b0:1f9:b4eb:ce6f with SMTP id d9443c01a7336-1f9b4ebd123mr37226235ad.3.1718881382320; Thu, 20 Jun 2024 04:03:02 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:3d0:2237:cd9c:7c29]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f855f337fbsm133864365ad.263.2024.06.20.04.03.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jun 2024 04:03:01 -0700 (PDT) From: Fabio Estevam To: shawnguo@kernel.org Cc: sbabic@denx.de, linux-arm-kernel@lists.infradead.org, Fabio Estevam Subject: [PATCH] arm64: defconfig: Enable RAM block device support Date: Thu, 20 Jun 2024 08:02:41 -0300 Message-Id: <20240620110241.3457926-1-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240620_040303_608853_307F3195 X-CRM114-Status: UNSURE ( 9.12 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Fabio Estevam Booting a RAM disk is a common usecase on many boards. Enable RAM block device support with a default size of 128MB so that RAM disk boot can work by default. Signed-off-by: Fabio Estevam --- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 838b4466d6f6..1f710b998875 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -285,6 +285,8 @@ CONFIG_MTD_HYPERBUS=m CONFIG_HBMC_AM654=m CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_NBD=m +CONFIG_BLK_DEV_RAM=y +CONFIG_BLK_DEV_RAM_SIZE=131072 CONFIG_VIRTIO_BLK=y CONFIG_BLK_DEV_NVME=m CONFIG_QCOM_COINCELL=m