Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp731092pxm; Fri, 25 Feb 2022 18:34:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJxMaGomZscENavGlpN0PlBGCMlmrGQYeJ+vmQpqHH3RqJabcKUmjbA717gFbSZn23TA90kP X-Received: by 2002:a17:903:110c:b0:14a:f110:84e1 with SMTP id n12-20020a170903110c00b0014af11084e1mr9983363plh.7.1645842898690; Fri, 25 Feb 2022 18:34:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645842898; cv=none; d=google.com; s=arc-20160816; b=fjZWWBGVm5Gf5XVKkdn6cYbvyv9zHw18ZPTtw6HDD2z8+7oz4iWp52qBwEWNg/xNti XXsE7v1pasz7JiDmRXhbWSj0TJKrK5sUUIeYbNgaGsBI+SK6wVaKn9cRvVImxv4CeGaF 9XDEjZbOXi0aQgxwW2O/2w6wBeCIwwc44HQPPyirE9vnzuYcC3iDu9Ef2/obLkyhJFwh RKZdcFAMHjYr0JUhTqn6SjUekoFvHOf7ge04za4jeeuEs5e1PHszq6dNXhjZR4FXk0tp aLngVQx/vIQG31XCLnPYa9geHNfiO4byHJQXjzxtiybhqR5ALqe/pyMZYXhZaNwyzs/M /0fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=3OEd/VtmTJwMrSGPhOxJTg9pxuU0lX+Y7uaWoPiMDHI=; b=udbyPkuIAQm3JO3i+EQ65wdi2ciC1rdinDmOLSTEkcQK4/wNOxTYJLBOVJ9wpRQSj9 8phiySSCSQpYDFmNnPvDLhHVezIzBcpxIoLJCsrsaMGYa3NvlTSdtW/JIgKA5c7q1FxR 3ynolcu/405fVzdDwJGcFluUo/pX8iUALs2dhfiG5rLj+wlzZjDMmTazZlzpr8GTTOXI 6GO1h4Opveecd/dXzn1/lRN3y2r0dhWUknxlz7S+D8jhf749dUeyAsGqFpwEleztZOxj MfeqNQSwxAelRoqUlgTlHDAkXrt7Va9PZHOUnycdaGxFENObC/5MxaF/jVpY1Nkah+nV GNxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=dYA28GvO; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id 185-20020a6309c2000000b00374da8cad6dsi3312331pgj.635.2022.02.25.18.34.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Feb 2022 18:34:58 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=dYA28GvO; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E45382F69AF; Fri, 25 Feb 2022 18:00:59 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242752AbiBYQQm (ORCPT + 99 others); Fri, 25 Feb 2022 11:16:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242750AbiBYQQk (ORCPT ); Fri, 25 Feb 2022 11:16:40 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2A8E42556D9 for ; Fri, 25 Feb 2022 08:16:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1645805767; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3OEd/VtmTJwMrSGPhOxJTg9pxuU0lX+Y7uaWoPiMDHI=; b=dYA28GvOHcoyPVmeo6upNVASueVQlj0vd5XGzF9PwLD5sx0RPK0xHj9foSkUYcC+9qMN2F ztBXE+dd5uc65t03dsvMM2s/MeRMjZV7nssfUz+gOTktjI/NV9R/zYUiK1nRjNlZWDb4Ho UsMC+j5+E+2MskQ0GJXQOS7MdxHNdwc= Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-589-KBS0rr0pM3SlOpiKXQnKhw-1; Fri, 25 Feb 2022 11:16:06 -0500 X-MC-Unique: KBS0rr0pM3SlOpiKXQnKhw-1 Received: by mail-ed1-f72.google.com with SMTP id m12-20020a056402510c00b00413298c3c42so2529419edd.15 for ; Fri, 25 Feb 2022 08:16:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=3OEd/VtmTJwMrSGPhOxJTg9pxuU0lX+Y7uaWoPiMDHI=; b=SP5+ldqKDTNpM78u9bvJ50zd5zvyj70xxk4r/u/oJR2Y0YrPtiNjHGUdjOkAKbhRjl hEA3R77UUfBjRMYlLpSy1bELJaIF+5Lkrk7Dj0d1/8bENJ213VOUpaOlc4uNUTFV0GDv sJj+h3dElXIbgVZem6Y54GGCHXOWC4DFtUnVF/v/YHTk20S15pE6KmYPJgBfgPZI06uo +hb+972xrAYMeWUaiy5/Dm6/nXAQG4SG15lzp/zfapDPoDEWEwkFDY1XKEleyGuuJBjG vTH/sQu+LA6Vy03VSdGqmuq5gwkrRyohv0r4E4oYgg9Vsp7qlbra/X3NYBFIBx29jIMu ZTrw== X-Gm-Message-State: AOAM5323MOjbe9k0M98rN+xQfIKt0FkhaThS/Z66cwA75qUuTa9EcjlK MVbvHKwRcPtJqZmfYK5MN38cVybIEhar0cORD2yw4AsgXBSULel62dBYc5W1aaXDrcb3T0M+TdW m8pTBzmkL/WSnKyMK9QQOPIvg X-Received: by 2002:a17:906:d8dc:b0:6cf:d1d1:db25 with SMTP id re28-20020a170906d8dc00b006cfd1d1db25mr6673708ejb.285.1645805764847; Fri, 25 Feb 2022 08:16:04 -0800 (PST) X-Received: by 2002:a17:906:d8dc:b0:6cf:d1d1:db25 with SMTP id re28-20020a170906d8dc00b006cfd1d1db25mr6673693ejb.285.1645805764627; Fri, 25 Feb 2022 08:16:04 -0800 (PST) Received: from ?IPV6:2a0e:5700:4:11:334c:7e36:8d57:40cb? ([2a0e:5700:4:11:334c:7e36:8d57:40cb]) by smtp.gmail.com with ESMTPSA id w11-20020a056402128b00b00412ec3f5f74sm1539540edv.62.2022.02.25.08.16.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 25 Feb 2022 08:16:04 -0800 (PST) Message-ID: Date: Fri, 25 Feb 2022 17:16:03 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 Subject: Re: [PATCH v2 1/3] ata: ahci: Rename board_ahci_mobile Content-Language: en-US To: "Limonciello, Mario" , Christoph Hellwig Cc: Damien Le Moal , "open list:LIBATA SUBSYSTEM (Serial and Parallel ATA drivers)" , open list , "pmenzel@molgen.mpg.de" References: <20220225061113.223920-1-mario.limonciello@amd.com> From: Hans de Goede In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE 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 Hi, On 2/25/22 17:04, Limonciello, Mario wrote: > [Public] > >> On Fri, Feb 25, 2022 at 12:11:11AM -0600, Mario Limonciello wrote: >>> This board definition was originally created for mobile devices to >>> designate default link power managmeent policy to influence runtime >>> power consumption. >>> >>> As this is interesting for more than just mobile designs, rename the >>> board to `board_ahci_low_power` to make it clear it is about default >>> policy. >> >> Is there any good reason to not just apply the policy to all devices >> by default? > > That sure would make this all cleaner. > > I think Hans knows more of the history here than anyone else. I had > presumed there was some data loss scenarios with some of the older > chipsets. When I first introduced this change there were reports of crashes and data corruption caused by setting the policy to min_power, these were tied to some motherboards and/or to some drives. This is the whole reason why I only enabled this on a subset of all the AHCI chipsets. At least on devices with a chipset which is currently marked as mobile, the motherboard specific issues could be fixed with a BIOS update. But I doubt that similar BIOS fixes have also been rolled out to all desktop boards (and have been applied by all users), and I also don't know about older boards. So enabling this on all chipsets is definitely not without risks. Regards, Hans > > Hans? >