From patchwork Wed Aug 2 09:25:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yuan Tan X-Patchwork-Id: 13337913 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7159EC001DF for ; Wed, 2 Aug 2023 09:25:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234096AbjHBJZY (ORCPT ); Wed, 2 Aug 2023 05:25:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234100AbjHBJZW (ORCPT ); Wed, 2 Aug 2023 05:25:22 -0400 Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.154.54.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F5CE1FD6; Wed, 2 Aug 2023 02:25:20 -0700 (PDT) X-QQ-mid: bizesmtp67t1690968314tl3p7s9u Received: from dslab-main2-ubuntu.tail147f4.ts ( [202.201.15.117]) by bizesmtp.qq.com (ESMTP) with id ; Wed, 02 Aug 2023 17:25:12 +0800 (CST) X-QQ-SSF: 01200000000000804000000A0000000 X-QQ-FEAT: wPivafIDGPPXhAHho0Muas8HnUk4sF+JAE3AFbaIFlPHknNCErQUhmtpTYqoI rJsCHh1eYkcArPZdt2TDBwUvaTPxKOWHQ6picGSP9qEDt5qaE4a25sl1EAy3zVtxi77vmgo RO+kPm8dMIjo2WzDGcjvWazQ/csrW9n1njcjw5QYwQSsn1gm8xhE1XB2olFbYZSaSc7XtKi XGMX2rvevvX0ZmhrJlnTVawHeS64NrIu3fiEGkB9+ykAR0JAHYGg3/C2yqzszPiA/e9L4r+ BCZd30Xb7NLiaonhYVjBSBCD1rmTMx11YaUadOHBn4+sDyKCrIo/v61nMQP3HkLrzoyUrrQ 86KRHmLHj+a+CzguM2+VrzadRtO69f7+f3/+e6iwVXPDfZj9Lw= X-QQ-GoodBg: 0 X-BIZMAIL-ID: 859180589417831823 From: Yuan Tan To: tsbogend@alpha.franken.de Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, linux@weissschuh.net, w@1wt.eu, falcon@tinylab.org, tanyuan@tinylab.org Subject: [RFC 1/1] mips: malta: select PCI_QUIRK for POWER_RESET_PIIX4_POWEROFF Date: Wed, 2 Aug 2023 17:25:11 +0800 Message-Id: <686dbb3128ad4e413b22685cd466a68e1adf670b.1690968173.git.tanyuan@tinylab.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:tinylab.org:qybglogicsvrgz:qybglogicsvrgz5a-1 Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org Select PCI_QUIRKS for malta if POWER_RESET_PIIX4_POWEROFF enabled. Syscall reboot relies on PCI_QUIRKS, or else the reboot will hang. Signed-off-by: Yuan Tan --- arch/mips/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index fc6fba925aea..a2827488efef 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -547,6 +547,7 @@ config MIPS_MALTA select MIPS_L1_CACHE_SHIFT_6 select MIPS_MSC select PCI_GT64XXX_PCI0 + select PCI_QUIRKS if POWER_RESET_PIIX4_POWEROFF select SMP_UP if SMP select SWAP_IO_SPACE select SYS_HAS_CPU_MIPS32_R1