Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp163330imw; Wed, 13 Jul 2022 22:00:30 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v+KQFjV/euZpkYYLYsa+8tsWn0YkabL1hAg6tCugPvGrgL+W4UYW5Z1eZlSPbIHSK2GegV X-Received: by 2002:a17:902:ce05:b0:16b:e725:6f6c with SMTP id k5-20020a170902ce0500b0016be7256f6cmr6773859plg.110.1657774830720; Wed, 13 Jul 2022 22:00:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657774830; cv=none; d=google.com; s=arc-20160816; b=P0ugzORJfPNDs9+QXsxfsp5jqcAMR7PglpBTeyvNB/n9C54HMbDHw+ncg8jBxqUrtS PRFTFSB7flujoWCMZKzha/ntDacPY+3dGIP/Y9HiOE2KSdlhKDIh8sGCJ8sg5ch5BLWA RV02FTWEu6JvcVuEyFeziHz2PEQXsok+9XztuFeac4do3jL/zZSKYrDvtbY/xJobvhsS A85+s8qHadgmp+bGaBvKucMRkzyDCQJcUxDwEkuAfCZhIsDt873tAAa/OSHv6sGEKF0J 7CnaQ86ovdCAmZtDsKVpKrpNSdHe6PtBfXk9GoUZ6wSpHTC0R/Mo5IeqM+yWDupGyOpm dTbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ZWuX6ov4197gAn7zaYMbI8DUTRJY83Rd6vcUzJETd9g=; b=FynW8uya9HQiUJVS0RsI/tiCauOC4BMPTk46edHOSBX871JzXfGYdyrXcjiKFw3pzA tM7WwyR+cKnBrHQqWwXgUyQsGyGn8+scm3IoRhBLXn8gg1W67z6F4Xn6iEddcw8mjShN CGEMCLorcBOKoEM4Xh9nDdiIqzvm7UMgafZ00Las2z5RZjVFM7c+bwJaei8xFDsl0tt5 lUj5N0i8A9Q4wKUUtNnbcgzFs3iis2wDnK1wumtU0zyJ8FFMyB0/8YxYZ2lNBWaxOfz0 MAhfY0HHTp/1sngMLkUwi1U9ZP9pje6yvd0adyqxClb6beHMg5Lp7ejLuBdclQsYzM40 q2bw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Ua3dc38H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y12-20020a63494c000000b003ff3d0bc82asi646013pgk.325.2022.07.13.22.00.17; Wed, 13 Jul 2022 22:00:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Ua3dc38H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S237691AbiGNEkl (ORCPT + 99 others); Thu, 14 Jul 2022 00:40:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237687AbiGNEkF (ORCPT ); Thu, 14 Jul 2022 00:40:05 -0400 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 312C240BCA for ; Wed, 13 Jul 2022 21:27:56 -0700 (PDT) Received: by mail-pj1-x1029.google.com with SMTP id q5-20020a17090a304500b001efcc885cc4so1422243pjl.4 for ; Wed, 13 Jul 2022 21:27:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ZWuX6ov4197gAn7zaYMbI8DUTRJY83Rd6vcUzJETd9g=; b=Ua3dc38Hbc65M6quhX/3f0MkSCWwVwSy1uos75L73bLQo9YOkV/ouWet0LzjrrwCC4 7TZWVHIrXc3GzXr/bDq0x/Vg+7g151sJY1c564aIk1bV3mpPHaqWOGQkr7vMuqYxJUV9 wU5EeVMBlQk1NqzxdDYwPGdaVCuiWdZGcPU85jII6EcRQ7/K+hyH/jw1mG4tDZqLKrbZ 45S3kjiKmeZ4TauWOrjKizVBNeRk6ddu05eo+L+ovbzTSoby8ZD31UiRD8OA/wnCYdU0 xFeF8IeefmGh2UTI7sfeuyifpe9WtY9Z1faqvKhwl1ms4cl60s+ym0BkyO5hsJIVJIeK tTWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ZWuX6ov4197gAn7zaYMbI8DUTRJY83Rd6vcUzJETd9g=; b=RC4tNkqcO9quA7RvcJK9i0ZMIEOLuhSkJ4N6E8QaMQzLdXiGPhqe5za7qd7iL97gn0 ClR6AmndCsqvsmkluck5JD5zYIIy3J+ZZlBeOOU5dNt8fYh4YUiJLpweiwth9b1fdiNu z6cyT3mE1LEsLjQGchwe/GhTaeSamq0XUGLsd3MIdf2OSLpjXHvLnHUtS2pXGhDbs4dA 7kdZDL063c8nN+5215KLZbntHYjMzk2OF32vV/HMYfMAALjldvJk93Z5LPJbhV6FIyme X+0rk48rs3C757/W1xp/AUX6cS0MDptf5ULxVkYrltzazOg8Ncf8a9se9o3ZmRdgcNRV +W/g== X-Gm-Message-State: AJIora+CTvd8ndlczU23g8lmp+F0XprTu9j5ksK8dWoaSmULXgyo6YrA glops1HfpXWhhT56zwPfcDkatcN6hbc= X-Received: by 2002:a17:902:6a81:b0:16b:d807:9acd with SMTP id n1-20020a1709026a8100b0016bd8079acdmr6595961plk.40.1657772875392; Wed, 13 Jul 2022 21:27:55 -0700 (PDT) Received: from localhost ([2409:10:24a0:4700:e8ad:216a:2a9d:6d0c]) by smtp.gmail.com with ESMTPSA id y14-20020a17090aa40e00b001eee7950428sm318181pjp.44.2022.07.13.21.27.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jul 2022 21:27:55 -0700 (PDT) From: Stafford Horne To: LKML Cc: Openrisc , Stafford Horne , Jonas Bonn , Stefan Kristiansson Subject: [PATCH v2 2/2] openrisc: Add virt defconfig Date: Thu, 14 Jul 2022 13:27:35 +0900 Message-Id: <20220714042736.2133067-3-shorne@gmail.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220714042736.2133067-1-shorne@gmail.com> References: <20220714042736.2133067-1-shorne@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, UPPERCASE_50_75 autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I have been developing a new qemu virt platform to help with more efficient toolchain and kernel testing [1]. This patch adds the defconfig which is needed to support booting linux on the platform. [1] https://lore.kernel.org/qemu-devel/YpwNtowUTxRbh2Uq@antec/T/#m6db180b0d682785fb320e4a05345c12a063e0c47 Signed-off-by: Stafford Horne --- arch/openrisc/configs/virt_defconfig | 108 +++++++++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 arch/openrisc/configs/virt_defconfig diff --git a/arch/openrisc/configs/virt_defconfig b/arch/openrisc/configs/virt_defconfig new file mode 100644 index 000000000000..c1b69166c500 --- /dev/null +++ b/arch/openrisc/configs/virt_defconfig @@ -0,0 +1,108 @@ +CONFIG_SYSVIPC=y +CONFIG_POSIX_MQUEUE=y +CONFIG_NO_HZ_IDLE=y +CONFIG_LOG_BUF_SHIFT=14 +CONFIG_CGROUPS=y +CONFIG_BLK_DEV_INITRD=y +CONFIG_OPENRISC_HAVE_INST_CMOV=y +CONFIG_OPENRISC_HAVE_INST_ROR=y +CONFIG_OPENRISC_HAVE_INST_RORI=y +CONFIG_OPENRISC_HAVE_INST_SEXT=y +CONFIG_NR_CPUS=8 +CONFIG_SMP=y +CONFIG_HZ_100=y +# CONFIG_OPENRISC_NO_SPR_SR_DSX is not set +# CONFIG_COMPAT_BRK is not set +CONFIG_NET=y +CONFIG_PACKET=y +CONFIG_UNIX=y +CONFIG_INET=y +# CONFIG_INET_DIAG is not set +CONFIG_TCP_CONG_ADVANCED=y +# CONFIG_TCP_CONG_BIC is not set +# CONFIG_TCP_CONG_CUBIC is not set +# CONFIG_TCP_CONG_WESTWOOD is not set +# CONFIG_TCP_CONG_HTCP is not set +# CONFIG_IPV6 is not set +# CONFIG_WIRELESS is not set +CONFIG_PCI=y +CONFIG_PCIEPORTBUS=y +CONFIG_PCI_HOST_GENERIC=y +CONFIG_DEVTMPFS=y +CONFIG_DEVTMPFS_MOUNT=y +# CONFIG_PREVENT_FIRMWARE_BUILD is not set +CONFIG_BLK_DEV_LOOP=y +CONFIG_BLK_DEV_NBD=y +CONFIG_VIRTIO_BLK=y +CONFIG_NETDEVICES=y +CONFIG_VIRTIO_NET=y +CONFIG_ETHOC=y +CONFIG_MICREL_PHY=y +# CONFIG_WLAN is not set +CONFIG_INPUT_MOUSEDEV=y +# CONFIG_LEGACY_PTYS is not set +CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_SERIAL_OF_PLATFORM=y +CONFIG_VIRTIO_CONSOLE=y +# CONFIG_HW_RANDOM is not set +CONFIG_POWER_RESET=y +CONFIG_POWER_RESET_SYSCON=y +CONFIG_POWER_RESET_SYSCON_POWEROFF=y +CONFIG_SYSCON_REBOOT_MODE=y +# CONFIG_HWMON is not set +CONFIG_DRM=y +# CONFIG_DRM_FBDEV_EMULATION is not set +CONFIG_DRM_VIRTIO_GPU=y +CONFIG_FB=y +CONFIG_FIRMWARE_EDID=y +CONFIG_FRAMEBUFFER_CONSOLE=y +CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y +CONFIG_LOGO=y +CONFIG_SOUND=y +CONFIG_SND=y +CONFIG_SND_INTEL8X0=y +CONFIG_SND_INTEL8X0M=y +CONFIG_SND_SOC=y +CONFIG_SND_VIRTIO=y +# CONFIG_HID_A4TECH is not set +# CONFIG_HID_BELKIN is not set +# CONFIG_HID_CHERRY is not set +# CONFIG_HID_CHICONY is not set +# CONFIG_HID_CYPRESS is not set +# CONFIG_HID_EZKEY is not set +# CONFIG_HID_ITE is not set +# CONFIG_HID_KENSINGTON is not set +# CONFIG_HID_REDRAGON is not set +# CONFIG_HID_MICROSOFT is not set +# CONFIG_HID_MONTEREY is not set +CONFIG_USB=y +CONFIG_USB_XHCI_HCD=y +CONFIG_USB_XHCI_PLATFORM=y +CONFIG_USB_EHCI_HCD=y +CONFIG_USB_EHCI_HCD_PLATFORM=y +CONFIG_USB_OHCI_HCD=y +CONFIG_USB_OHCI_HCD_PLATFORM=y +CONFIG_USB_SERIAL=y +CONFIG_USB_GADGET=y +CONFIG_TYPEC=y +CONFIG_RTC_CLASS=y +CONFIG_RTC_DRV_GOLDFISH=y +CONFIG_VIRT_DRIVERS=y +CONFIG_VIRTIO_PCI=y +# CONFIG_VIRTIO_PCI_LEGACY is not set +CONFIG_VIRTIO_INPUT=y +CONFIG_VIRTIO_MMIO=y +CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y +CONFIG_EXT3_FS=y +CONFIG_EXT3_FS_POSIX_ACL=y +# CONFIG_DNOTIFY is not set +CONFIG_MSDOS_FS=y +CONFIG_VFAT_FS=y +CONFIG_EXFAT_FS=y +CONFIG_TMPFS=y +CONFIG_NFS_FS=y +CONFIG_UNICODE=y +CONFIG_PRINTK_TIME=y +CONFIG_DYNAMIC_DEBUG=y +CONFIG_FTRACE=y -- 2.36.1