Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4813238pxj; Wed, 12 May 2021 13:57:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwYkjNqNUnKPERYzouiS+8tCfwFQ2bVx/nGYTOYLZwh6q/y3/YIi5Mg8LXJMh8ptWdZrdAv X-Received: by 2002:a17:906:7c45:: with SMTP id g5mr38700054ejp.368.1620853043825; Wed, 12 May 2021 13:57:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620853043; cv=none; d=google.com; s=arc-20160816; b=B97ZYRfnjCJiLbvbX8ffATdzL8YI7gyQiDKZxJFyNmmzEp2IscV6Xw5okSxdOTmt9/ haTR35XJjpeP2jpqMy9wUwrULS3zuQAoikVYUtT4TyjlWFagHfEc6gyRd96dkY0up549 mGzq5UwXBRpLd91lESGqwsn6aWwCxlaXpFENWTxcfvpSgslGGg6xWeDvqz6tpyLSKOj3 keKeEM92gUaKvkLQFmE71gjwNtfSUufgJZeOtL5fStWItZcsgNfs9NHSy2R7wTqS46wm UdjPYxuCmQHsmg4bOcY4PK30WNzanaObRPrMEeosXStwgYAi6jFbevlToY3cklbSMFZR YZ4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Ess5L+xOXRmxYaXPi1OkUKTPgDo0tGEKtcX8Gli1a7M=; b=xo9VHk/fmTMIZHgWr0MMbUSIIeq6GQ85YNyEcvPl+3qNvYwinMkl971F7TL96rjQGB wrgDIDBaFOFSkFSD9PG3i/sSxXj5Tmp9y7MvI+4crgTR9fOvgsazYmkloxlPuVuLbr44 eAkr1fTxI8uf6CpXHQFkdY9QQKeM2f0KpVAeEonujBJSGpmTzqxKUeF6+ohv/kq/k97r V0g2fm6XrZVB8soFMcoNGwCxfO3zff0ay5jleaIzP35Lx2f4rSTSjXbuLYpMQktC2Q1H 8Ga54TIlx0oU0ifeZ7Yn2KlgYaabfMTcqs7dAISN9VLfEqy6Gs+7xgbU+4vVAM8WdcAs 0i9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bMD1xxDC; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m10si1044035eji.560.2021.05.12.13.56.38; Wed, 12 May 2021 13:57:23 -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=@gmail.com header.s=20161025 header.b=bMD1xxDC; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1387673AbhELUjS (ORCPT + 99 others); Wed, 12 May 2021 16:39:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1386794AbhELUWM (ORCPT ); Wed, 12 May 2021 16:22:12 -0400 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2476EC06174A for ; Wed, 12 May 2021 13:14:59 -0700 (PDT) Received: by mail-wr1-x42d.google.com with SMTP id v12so24848144wrq.6 for ; Wed, 12 May 2021 13:14:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=Ess5L+xOXRmxYaXPi1OkUKTPgDo0tGEKtcX8Gli1a7M=; b=bMD1xxDCoYykjIBBe999brSCSiuN3hK3+40TGP10CnhnqZUH4avumUHhe0jPHhpYsK nzJWpPjs5Yc+lHVUKa1cV3kJHdHdK+3d+b9lFiQOzT3gdp/2GIdZQfCUj7F5gBx4h+Eb 50NembGNIrUec+KQYTUi8CLaSiLmMpj1HHj2tHk6Bxu1LHrCj8Usgr6b23cvEP4jkgAH j31VSyiAChSkhpNxliI9cALLQgU0wc2cBLkSuIe+B8XkhjX5TMVcrTDlzIzQyPd/5pdM bTlrFFbdbaHev1D9WC8y8XSoUfJWjWjj4yUnkx1hEfieCDzHPfyunCQOJvBlt4ORGbVN fQGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=Ess5L+xOXRmxYaXPi1OkUKTPgDo0tGEKtcX8Gli1a7M=; b=ESpBsJ5+dlfhynmEtbe9QvMsnug1oJZA/v5+8py37T5QzXuUl0zGaZ1aPGnXU4Wzg1 hre+gK0LJqe0QE5tGhhO6NfWERlZ00SNizEXvUCg3LNVC3TpeXW4/FTjbyubqql6DcRs NMMPjuP/jK07E1rAECh1jFAYwllIFLsrUkHmLIrVJlYkHWG9O3q45Pmcj9Z2sdBwNM3j DvbuMyO8K/Kwxv0oPn3sZyKpIAtF5jBLgenZOHLEJAhMJSFbHmFMVUk154XcLK/57S59 RwHeeIqesl07Qt7oyd6CD9/0sNB0pFeSi1zVu4LvgooD13yKJKbgtwoaqEbx1lfGiY78 6DuQ== X-Gm-Message-State: AOAM533t/JYYRkOq/5wlJq1YpSJdaIeHdcq4rNyZ3Vl2Xg9DUZmtfBMc rpJzXXjeFnwZNQByu3eeOwI= X-Received: by 2002:adf:e611:: with SMTP id p17mr48475507wrm.161.1620850497911; Wed, 12 May 2021 13:14:57 -0700 (PDT) Received: from Red ([2a01:cb1d:3d5:a100:264b:feff:fe03:2806]) by smtp.googlemail.com with ESMTPSA id z18sm678676wrh.16.2021.05.12.13.14.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 May 2021 13:14:56 -0700 (PDT) Date: Wed, 12 May 2021 22:14:54 +0200 From: Corentin Labbe To: Linus Walleij Cc: Hans Ulli Kroll , Linux ARM , linux-kernel Subject: Re: gemini: sl3516: Mainlining of NS 2502 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le Thu, May 06, 2021 at 01:56:28AM +0200, Linus Walleij a ?crit : > Hi Corentin, > > I will check the patches you posted too, sorry for being a bit busy > with some merge window and stuff. > > On Wed, May 5, 2021 at 9:26 PM Corentin Labbe wrote: > > > It seems that USB is still a bit buggy, device are detected only if plugged before boot. > > Yeah :/ I don't know that driver very well, only that others use it too > so there might be some people who can help. I haven't mainlined > that patch because there is something that seems wrong about it > but I'm not a USB guy. > > > I hit a problem on the NS2502, sata drives does not work well: > (...) > > It seems a problem soon after driver probe (qc timeout and HPA error). > > Any idea ? > > > > The SATA works well on my other board (SSI1328) > > having one or two disk does not change the behavour. > > Could be the SATA muxing, this thing in your device tree: > > sata: sata@46000000 { > cortina,gemini-ata-muxmode = <0>; > cortina,gemini-enable-sata-bridge; > status = "okay"; > }; > > cortina,gemini-ata-muxmode should be 3 for two harddisks > I think. > I used 0, and only the second slot was working. Using 3 fixed both slots. Thanks