From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 881C5154BE2 for ; Mon, 3 Nov 2025 06:26:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762151210; cv=none; b=l2H9BR2/pVGdInwKHrGqKU/NLRNzRHVtKpBM7i3IZK3EeHCvoBB5VG9Cc6etuVpNWfX0E8k99sMITJD9NaCNyrKP/Xr6FQPBUwV4UcX5PMCdX4rNu57bKrk0ZjzzamKOcLPQH+f6ySq9QBCo9ICZwPOIuyQHwLcDvmHlP7GT54Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762151210; c=relaxed/simple; bh=B7Dys0O6nBI1SpNWYBQ9IszCBqiZCkRXAY8GXR39t74=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=qk2DdJexlsRjMoOKeG/XPR8wK5cn71jl8L1ssVEk0qqNCcRp49u6Bo7oKcS8UAEgy13EQyRqDrFahFBcg2AS9urYabD9F30fgo9vT0MUB6ZqVDEE4JG9488M6EsXDnhB5lMS3qlw6vdsaizeTKdgN+vKuHkx7sC9f0gE3hE1LhE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=JEQ1VRQg; arc=none smtp.client-ip=209.85.214.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="JEQ1VRQg" Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-2952048eb88so39092135ad.0 for ; Sun, 02 Nov 2025 22:26:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1762151209; x=1762756009; darn=vger.kernel.org; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=9n+VOC446iMLGSUtF1aVw7jOFyi8anlj6U7DHCW/jPs=; b=JEQ1VRQgupn1NMpuLRdeBoTi+6q8d6VjoGKYTxh551g1dX+HOS+Nwq8iJC2yaRE2EY DGKX7qZF+RfvJyA4EG2ib9iwQfoCJLVqZBlpHsJ6XT0ZzZwUN/gaCdtTtFoEonsF5Xtr j//ayLA5yiZ9cJegS75rrtOc6NWsfkxSj/2jzHYXgEzXUoGsvXS5O/ION6q6+bppAt7W VXrmNpV8dlXnsUMj8DMX1b9R8kmo3CndXEXnmebX2zXTvVtP+0Ro1U2hZXyFmMGylIx9 VT2C/RLI5VSyQBhrheNC0eXA4D1jphQUx59EjohNe+gVTznPRxl5O5i61ZnnMzuWFx3A HQBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1762151209; x=1762756009; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=9n+VOC446iMLGSUtF1aVw7jOFyi8anlj6U7DHCW/jPs=; b=c8a5YsRklcK2Fzw62jXbxX+AEru0uOnEYEFUIE8L9wa0oB4877lnQ2oNYkqVYkzRPl 42EFGTltDBPpslao66G9Q8IQ5+k4V60BDJPKzgTI+4nuOsA8tEPMyB3gRoAJBfKKzQa6 QzThOXtPnOvw0XHWKRDfCN181L1Z74UUbLHJftDKJdYGl+6zhaEbdOmJZGpmcjawet+1 8ybQA21ZVhK0rb6PkiVFyVQnl3cqVigb3F6DVSwidCCVu7JuSoFyYtCKyOwgXs1eLIqR rJJIl5ytTb/6I6PLvYYJbsgCnezhaoEDgmIu5knZLgrHPlWgax4tgY6y1R2Isnep4MmY JBtw== X-Forwarded-Encrypted: i=1; AJvYcCXAdSVWw0gp9M9LiwtDHg6P5fdb/jhlsDrSfYwrg8vNcbEH2mzkkD5KbiV0OgOeCTFhckLdUa85pe5G@vger.kernel.org X-Gm-Message-State: AOJu0YxPD7IZefyVxoyvUrBUML8tAFXpkTodg4Gh0DzhHSQSWkVlegJ8 KHQAvQwhXOm6yTQiFbbf+zjh7tFEXUVhYLHx33MNNVK405Li/1eM1kpi X-Gm-Gg: ASbGncsMafnZco7mMcQYTYGaYM7ALScSsgH6pe9gsA9Fa9SNM/jZwy4zCUxSYQXp1ZB 0GvFZEEDUqEqfceboAeUaapSEfVh2rlVNLhNABVW9SnRhnPuro7Ex7w0K/n4YJZsVIx0uHT06z+ jEbcIUPwxbCZY4ZboJohWyBbj7xcy5BgDJjZguYkymShdXHo0yJy37MRciYCoJH7OoF5XHk+2/i 7cKknRGNPFcderPZUCfgd/PFOyMYeqAQ9wT9BZDJY9cP7foaYhDkJYS/sy2TsIcw2Lp1j+C1Fc8 i8QsbmKsOGQSGTrNf+i2NClgi6+WWIc6Z1p8M+CebtLLwEH9Q4OZXo6FdFHyZ6c3mYh4ZuLj4H3 mMMwQyBUqlVUX3ONF1LrYS99eA/F/019YTFVnZdz4x7zmzm7eN2ID2BHO7NYZdV+KaCgRKsXdoQ == X-Google-Smtp-Source: AGHT+IHE85ZAE05MQ29tDiEe73xuX9q1kSirWYaSnQbdQ95U62fo8gMJxYb1mTHJbA73o23JvHBMaw== X-Received: by 2002:a17:902:f705:b0:26c:2e56:ec27 with SMTP id d9443c01a7336-2951a3d5107mr152483975ad.19.1762151208773; Sun, 02 Nov 2025 22:26:48 -0800 (PST) Received: from geday ([2804:7f2:800b:fff9::dead:c001]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2952699b603sm107777285ad.79.2025.11.02.22.26.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Nov 2025 22:26:48 -0800 (PST) Date: Mon, 3 Nov 2025 03:26:35 -0300 From: Geraldo Nascimento To: linux-rockchip@lists.infradead.org Cc: Shawn Lin , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Manivannan Sadhasivam , Rob Herring , Bjorn Helgaas , Heiko Stuebner , linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Krzysztof Kozlowski , Conor Dooley , Johan Jonker , Geraldo Nascimento Subject: [RFC PATCH 0/2] PCI: rockchip-host: support quirky devices Message-ID: Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline With these two changes I'm able to work with a Samsung PM981a OEM SSD that is known to be not-working with Rockchip-IP PCIe. Previously I attempted a contrived solution that mostly worked for my simple purposes but was rather inelegant and impractical. Now I have isolated the behavior to the three lines in the two commits. Omit those three lines and you get a working set with the kernel. I have no idea how to actually implement this in a way that makes sense and doesn't break the PCIe spec but it is my sincere wish that interested RK3399 parties test the change and report any regressions with already-working devices and specifically, successes or failures of initial link-training with these changes. Geraldo Nascimento (2): arm64: dts: rockchip: drop PCIe 3v3 always-on/boot-on PCI: rockchip-host: drop wait on PERST# toggle arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi | 2 -- drivers/pci/controller/pcie-rockchip-host.c | 1 - 2 files changed, 3 deletions(-) -- 2.49.0