Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2803028pxj; Mon, 14 Jun 2021 07:31:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxdXLv30kzZfrbu8assJd/7SY7ArtdiNK+wtYnwjUDtBa0em/9r3rwd1qYo4GxDJAzWyetw X-Received: by 2002:a05:6402:111a:: with SMTP id u26mr16981689edv.260.1623681095617; Mon, 14 Jun 2021 07:31:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623681095; cv=none; d=google.com; s=arc-20160816; b=AS90IWBLj04SjlUHrXl7h+fky1J4XuwyZJaLT9ITH4JNkL+Tp5YU+ddmvThgaOV+zg 4jOk0WyFmXQWRHb92jQ6memll6Kq1E0cKMcsPNCdX3nvfKyfNpghbdDkIkmwwQViihtn QgKNYjqCKnbu1rP6drRDOjr+8er0WK8jGNOlwiUwLKoy8/wxYatnT6mONhTwGAu1T2Ln 3Ve9dp4m82qV/Whu4ixicX8Rd/QmHc1dIPzWvqtgPR60Thb7zVf1TNy8UVwyqNjJdxR/ xO2btjUv85FqI0GMmlAzXQ5tzns3M73ECX72QnD50Ek66NFuQH1EBEtVusLcxQcVug9f XpSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=cS1D61UWM7D7f9J7258UNtSJuuL2xJgwPnJmsK1CIKE=; b=VbAJGoHnqg93iO9DzABaCczaI5s/sCx3pCtwOHQNwdCjKfxt8Zdc1fghekEN+CBGAI ljbTSpkF88z2YowexY/9H5+vkxbMQy2zMw4gp25I0vXJ+m2Y933e3mlS6kdlrn2EWBwK xaQaAx5e27RM12rNhmLUWiXO4xFk/UbodeFUKjcHnK8mjVARMZJs4vMSE9KwROohh7U3 9X6D3MnKbndspROzT9Z3fjDAO9ol6gdsxTDKH9OJmXuIZlDu8n1Er5SFtkesbFaRNdXS y+EDF0iZfObtqYL6on5lo4WBwoBfZAxxSHCONgoPUVQpvB1HukXBlEd7WI3Ia93smjfk FTRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=Drq4euRe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f19si4466274edu.388.2021.06.14.07.31.12; Mon, 14 Jun 2021 07:31:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=Drq4euRe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233383AbhFNOaJ (ORCPT + 99 others); Mon, 14 Jun 2021 10:30:09 -0400 Received: from mail-oi1-f181.google.com ([209.85.167.181]:38566 "EHLO mail-oi1-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232809AbhFNOaJ (ORCPT ); Mon, 14 Jun 2021 10:30:09 -0400 Received: by mail-oi1-f181.google.com with SMTP id q10so10336177oij.5 for ; Mon, 14 Jun 2021 07:28:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=cS1D61UWM7D7f9J7258UNtSJuuL2xJgwPnJmsK1CIKE=; b=Drq4euRexolAYmKsw5YnQsTY+Ac/Qk3DtXRFtHBS2i9AvbFlh2UncXnNxs//tB8OdG ZSeIEHyqDQdGg7U4fbjvSRz+XnA9w1bsdX2BIxzhiPbgWumFBjtoTxx99m1SNaHyVBTF OFW5ki9GHslxZBUTKuwX1FKmf5mElQfY29yNc59EwGAFK7Nx9nDJBBI19HrJrAe5+f3F /FK4zekhGvSs3dLferQ5veRiKFDjRQFeZ2Gr6JiJwjugnjWk7B8Nh+j0KEhwPCU7X/Rx t25ppOPClB8MCpzBH9fDz74VXG+JQp2XaGr2xbkPBYO41Wxd01wGnkF3YLXSRW1Mpv0V k4pQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=cS1D61UWM7D7f9J7258UNtSJuuL2xJgwPnJmsK1CIKE=; b=N2FqSHUYgxtDrU+/pKhg0LR8QDU9PD1fTZ27S7cZLG3BoIY0C5y/uae89x5rv8LZAE bympkanphCZ/aRd88jh49+LRrN162nXyz0SZ2JKzF+aRZ24+jYFttCy7lRF/ZUIaM9jD ZjbnsGuvgwXKCEETMiQUj5j1Wb5cuLMxK9TiKUVEGOfsIVRJaML5kb55JDJv6vUjr6q+ FI9PSxa+QnRM8ojSJlQgXBYrzvchFa5rMe+5ARCD9ATYNnMZV/n6sjCULue+4XkoX+Vs JeaZyNKU6Axp+zA9sD1iDgxbdRlBFu5DW3MflsVxId/qjTpcy/2u8UyFPVKS8U4F9R56 MotA== X-Gm-Message-State: AOAM532PTqaqO9QeLTl4RFN2KwNW7NS15zyrxS/vUctyNxyOF/4qukuz b6FnhoU5Yq/Udh6BeUsrMGQSbw== X-Received: by 2002:aca:b406:: with SMTP id d6mr10656391oif.71.1623680825976; Mon, 14 Jun 2021 07:27:05 -0700 (PDT) Received: from [192.168.1.134] ([198.8.77.61]) by smtp.gmail.com with ESMTPSA id x187sm2981180oia.17.2021.06.14.07.27.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 14 Jun 2021 07:27:05 -0700 (PDT) Subject: Re: [PATCH v2 RESEND] ata: ahci_sunxi: Disable DIPM To: Timo Sigurdsson , mripard@kernel.org, wens@csie.org, jernej.skrabec@siol.net, linux-ide@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Cc: sergei.shtylyov@gmail.com, gregkh@linuxfoundation.org, oliver@schinagl.nl References: <20210614072539.3307-1-public_timo.s@silentcreek.de> From: Jens Axboe Message-ID: <4c873409-db09-31ea-485e-daa0433c674b@kernel.dk> Date: Mon, 14 Jun 2021 08:27:04 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210614072539.3307-1-public_timo.s@silentcreek.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/14/21 1:25 AM, Timo Sigurdsson wrote: > DIPM is unsupported or broken on sunxi. Trying to enable the power > management policy med_power_with_dipm on an Allwinner A20 SoC based board > leads to immediate I/O errors and the attached SATA disk disappears from > the /dev filesystem. A reset (power cycle) is required to make the SATA > controller or disk work again. The A10 and A20 SoC data sheets and manuals > don't mention DIPM at all [1], so it's fair to assume that it's simply not > supported. But even if it was, it should be considered broken and best be > disabled in the ahci_sunxi driver. Applied, thanks. -- Jens Axboe