Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp219558pxj; Fri, 7 May 2021 07:17:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzRoNXGO6uJUkIXK3RaBoNih+urPlB3/lyLRcjx31poEkJFD6MMMdrZKTLu29id0ZUOoamX X-Received: by 2002:a63:120f:: with SMTP id h15mr10246408pgl.217.1620397021195; Fri, 07 May 2021 07:17:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620397021; cv=none; d=google.com; s=arc-20160816; b=QHJkp54ju5xHcQQVBsLu492gOlaKawgjN2TIzpTyJWDet5e7W8HKdYE2ToWnMxNhls a8Wkd3Hod7FldBudxqnkdA/RFApatGITR1dsVqIGuFFD1pvlO8vp/gSg02JYOe+2oZya kXG6yXb2/IV2Rbkq7HclW78Te3MYyvcfGgl2gd6y9yUSG4Ee3C1ySIbbQGwhD8x43ftN ME/E/8ys2dnScHUfvGS7ua8roGl/tOq8wA4Q4fb/t+1PAmfL5+Dksd883s76w7dI/LjG AfixSbCgLxvA3C1/NLbtXW3XdJm++VOYARmcJFOCJ6uU/9Az3g45kRXBZNRrrxIm6OAP AsIQ== 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 :message-id:date:subject:cc:to:from; bh=vd4MPgzdzMhjghika8Jjo6WndEvJ0zSeI3NdepESTY8=; b=YtEZ8QuhEp1TfGaaVYH8muPtJ1eduH24F94NcJQIMDbcFj59UD/501kKZLx/Vq4JOh vysUF8Uqn45BAPjFMR+UdPjp9cVYU/quE4ff5mhKmjnC69/RcvigVpM7fdno7fQS1dwI QDl55DiOYpFqHDrSQlUPxLB65cSXST75vYKjkgmnfJoD6aA2JQlbSjrt+Xs/ZOGH9ePm WpsGz5QjU8lOxIIwiBAnlmmc3jR34Rwhn+GCpTNiNhUK68amOgbotYDoNUcalwP41kdh J12/4incuAQCM5OasIiLFxrDFLMB7TAUy+mqIaUkN6s7eM4c1sOdrDDv/dsyHIFSqU1h 2JmQ== ARC-Authentication-Results: i=1; mx.google.com; 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 mu11si8792405pjb.11.2021.05.07.07.16.47; Fri, 07 May 2021 07:17:01 -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; 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 S234336AbhEGLag (ORCPT + 99 others); Fri, 7 May 2021 07:30:36 -0400 Received: from muru.com ([72.249.23.125]:52780 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232519AbhEGLaR (ORCPT ); Fri, 7 May 2021 07:30:17 -0400 Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id 7289680E0; Fri, 7 May 2021 11:29:18 +0000 (UTC) From: Tony Lindgren To: linux-omap@vger.kernel.org Cc: Dave Gerlach , Faiz Abbas , Greg Kroah-Hartman , Grygorii Strashko , Keerthy , Nishanth Menon , Suman Anna , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Naresh Kamboju Subject: [PATCHv2] bus: ti-sysc: Fix missing quirk flags for sata Date: Fri, 7 May 2021 14:28:57 +0300 Message-Id: <20210507112857.12753-1-tony@atomide.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Naresh Kamboju reported that Beaglebone-X15 does not detect sata drives any longer after dra7 was flipped to boot with device tree data only. Turns out we are now missing the sata related quirk flags in ti-sysc that we used to have earlier. Fixes: 98feab31ac49 ("ARM: OMAP2+: Drop legacy platform data for dra7 sata") Fixes: 21206c8f2cb5 ("ARM: OMAP2+: Drop legacy platform data for omap5 sata") Link: https://lore.kernel.org/regressions/CA+G9fYtTN6ug3eBAW3wMcDeESUo+ebj7L5HBe5_fj4uqDExFQg@mail.gmail.com/ Reported-by: Naresh Kamboju Tested-by: Naresh Kamboju Signed-off-by: Tony Lindgren --- Changes since v1: - Added back the missing part of the patch I hosed after applying on wrong kernel version --- drivers/bus/ti-sysc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/bus/ti-sysc.c b/drivers/bus/ti-sysc.c --- a/drivers/bus/ti-sysc.c +++ b/drivers/bus/ti-sysc.c @@ -1459,6 +1459,8 @@ static const struct sysc_revision_quirk sysc_revision_quirks[] = { SYSC_QUIRK_SWSUP_SIDLE | SYSC_QUIRK_SWSUP_MSTANDBY), SYSC_QUIRK("tptc", 0, 0, -ENODEV, -ENODEV, 0x40007c00, 0xffffffff, SYSC_QUIRK_SWSUP_SIDLE | SYSC_QUIRK_SWSUP_MSTANDBY), + SYSC_QUIRK("sata", 0, 0xfc, 0x1100, -ENODEV, 0x5e412000, 0xffffffff, + SYSC_QUIRK_SWSUP_SIDLE | SYSC_QUIRK_SWSUP_MSTANDBY), SYSC_QUIRK("usb_host_hs", 0, 0, 0x10, 0x14, 0x50700100, 0xffffffff, SYSC_QUIRK_SWSUP_SIDLE | SYSC_QUIRK_SWSUP_MSTANDBY), SYSC_QUIRK("usb_host_hs", 0, 0, 0x10, -ENODEV, 0x50700101, 0xffffffff, @@ -1524,7 +1526,6 @@ static const struct sysc_revision_quirk sysc_revision_quirks[] = { SYSC_QUIRK("prcm", 0, 0, -ENODEV, -ENODEV, 0x40000400, 0xffffffff, 0), SYSC_QUIRK("rfbi", 0x4832a800, 0, 0x10, 0x14, 0x00000010, 0xffffffff, 0), SYSC_QUIRK("rfbi", 0x58002000, 0, 0x10, 0x14, 0x00000010, 0xffffffff, 0), - SYSC_QUIRK("sata", 0, 0xfc, 0x1100, -ENODEV, 0x5e412000, 0xffffffff, 0), SYSC_QUIRK("scm", 0, 0, 0x10, -ENODEV, 0x40000900, 0xffffffff, 0), SYSC_QUIRK("scm", 0, 0, -ENODEV, -ENODEV, 0x4e8b0100, 0xffffffff, 0), SYSC_QUIRK("scm", 0, 0, -ENODEV, -ENODEV, 0x4f000100, 0xffffffff, 0), -- 2.31.1