Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp4607756rwb; Tue, 8 Aug 2023 10:53:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEfxsTvL8qdT5jgZvA2xgQld825XjMQBdTrQU8Z+WKJg9FFpMT4hZiCNopLVo8CySJ9NiHY X-Received: by 2002:a05:6a20:9146:b0:140:3554:3f41 with SMTP id x6-20020a056a20914600b0014035543f41mr244589pzc.54.1691517226733; Tue, 08 Aug 2023 10:53:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691517226; cv=none; d=google.com; s=arc-20160816; b=GSOIW31QuWrRByatVO/i08Ipbl8pVizSt1PlIbouARYLExnHWxdSeG6ko6qwm6KYlY T5Yu6/ZQLOlsCebu0dNRmGQl92XGBcc2WA0b8rJna/pUZkddCsLcWqxDnDV94xcQBsh5 7n/9hjhYmsyJOPzGErNDMaRW+ryaqyGqFPqmZ/AdFVSkKiTLJEPRRv08NhciLoe7qASx VvSnPJ6ztZPy0Bk3kWe3Uj4+hSAdhz2+rnuuIEeqGyDOnJrrV1j19/fvlEnDOAX9rLHJ oniyUFt31Y2HU4AQjT689FIxVPoUsM8HNbiEyu3gh0XgI2RlsmDz0ekqn/nOUCzLEvOA 28jQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date; bh=5hqeDawG0ytvf98xEa+hqSkKgXYnmtPnPMY9JEPxvaU=; fh=aqlEeOKlfLjN7M3ZoUwZ+f4z5XPdJJqm3K72hkC8qzU=; b=qS/3R98BNAiCbI/mbVtkRYEq+wDx3KpEkKH/9vMUMf9Ymk5or60alO39r7MGwMs+07 BnjYu71L6fLl5M1+simrSTKJCeOSzIxSvxWUfdiHl5oI7QPWFUBjJ2xMCXJHBjW3gykQ 6bdGTJv79+7wEEHSLrGUo5hyPCYsy+Kl4z4gk6KUFDs49nKeHMx6fNqJ6KoUe0CugxWO jfs+fNE+/aqX8JIzoQg7Y7ZTTkca/Q4RZ3TNbk3um13tIy+Gcdl4tNeMTeDw3rnqhA7V DRLXwZlZVwfvrZr7rlK6RdTx8cmXyHS2L/5VQfiS9EgTS5eu8ilq/RZoZQkrs+qv0Xt1 2kfQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n1-20020a632701000000b0055aeedd94d3si7651872pgn.58.2023.08.08.10.53.29; Tue, 08 Aug 2023 10:53:46 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233272AbjHHQqK (ORCPT + 99 others); Tue, 8 Aug 2023 12:46:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232536AbjHHQpM (ORCPT ); Tue, 8 Aug 2023 12:45:12 -0400 Received: from angie.orcam.me.uk (angie.orcam.me.uk [IPv6:2001:4190:8020::34]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B294C16BFF; Tue, 8 Aug 2023 08:56:16 -0700 (PDT) Received: by angie.orcam.me.uk (Postfix, from userid 500) id 3D5979200C3; Tue, 8 Aug 2023 17:55:50 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id 3850C9200BB; Tue, 8 Aug 2023 16:55:50 +0100 (BST) Date: Tue, 8 Aug 2023 16:55:50 +0100 (BST) From: "Maciej W. Rozycki" To: Zhangjin Wu cc: tanyuan@tinylab.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, linux@weissschuh.net, Thomas Bogendoerfer , w@1wt.eu Subject: Re: [RFC 0/1] mips: malta: Select PCI_QUIRKS if POWER_RESET_PIIX4_POWEROFF is enabled In-Reply-To: <20230805191407.45290-1-falcon@tinylab.org> Message-ID: References: <686dbb3128ad4e413b22685cd466a68e1adf670b.1690968173.git.tanyuan@tinylab.org> <20230805191407.45290-1-falcon@tinylab.org> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE autolearn=ham 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 On Sun, 6 Aug 2023, Zhangjin Wu wrote: > To simplify the enablement of the poweroff support, selecting the required > options for CONFIG_POWER_RESET=y may make many people happy especially when > they are using a customized config (maybe tinyconfig based) for a target qemu > board. Without normal poweroff support from the kernel side, qemu will simply > hang there after a 'poweroff' command, which is a very bad experience for the > automatical tests. Currently, based on tinyconfig, it is very hard to find the > exact poweroff options, some architectures simply enable poweroff support by > default, the others' poweroff options are hidden deeply, which make things very > hard. The settings are a bit buried indeed and I was hit by that myself at one point when upgrading the kernel using old .config, but honestly I think we want to let people strip the kernel from options they don't want or need, so I think it will best be sorted by presetting the useful options in the respective defconfigs and then maybe guard the more critical ones with `if EXPERT'. Maciej