From patchwork Wed Nov 1 10:16:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naveen Kumar X-Patchwork-Id: 13442735 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 35F1F101D4 for ; Wed, 1 Nov 2023 10:17:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="aVNK09Id" Received: from mail-yw1-x114a.google.com (mail-yw1-x114a.google.com [IPv6:2607:f8b0:4864:20::114a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D0E411B for ; Wed, 1 Nov 2023 03:17:10 -0700 (PDT) Received: by mail-yw1-x114a.google.com with SMTP id 00721157ae682-5b0c27d504fso5817397b3.1 for ; Wed, 01 Nov 2023 03:17:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1698833829; x=1699438629; darn=vger.kernel.org; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=GCfjHREs5pEMf72upJaooTRYe6HV9ikyCsileBJWqEU=; b=aVNK09IdJxvTQCHQ+fsccUmEoyhcOpYU/N4CSeLUFEfOTfeZ2lcz7taXsvymPHQ5IF QB7aDFdgKu6c1HiJ1CaCUhKBggV+HrS31IkuJEOMtkbr0Pwnn1GAGNd3t9ZYTNNLBbxG 1Qccdxx0McvW8iRZ/iEft18WIG8Cw1Kdj2TyT65GhsM3rxHpivQ6VKljM+TnrSkKAi9P c32UR3gnSA7+/lDEf26VbLLpRvS8VKqnBZh9Y15qGTFE2Fa67/mgIYE9tHgiCA8Pmha/ zFzf6vyJ+ez2r23MadZD/lJJzwpy4HbIirVAjxe/7Q4PVayH1weyWwaO5Ff8ochGuYzx 0Kkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698833829; x=1699438629; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=GCfjHREs5pEMf72upJaooTRYe6HV9ikyCsileBJWqEU=; b=QPUS34ceOoMXvCTkcdDfWGuQqHQcYpcMzghpuPfnG9khUgaWnewF1wyxvV9KrRCB3h /UGZ7MHSR/V5a2GhOVhPY7TJ4GLQ8TxFZej/PA46Z2hov5egsxGrx0n7UHCi3/hHOEPn ExfuCJo3bbWrADcKASd6rd12hNIJFDtQLRIBsLjyaLN98IFqEOid+/T+RYmtoldns98W qp6+mbZFKY+s58fgj4cbPJKGU0e3p49vHs6n077/kIfSECg8vrtNpxgJLMkI5cDoIywb ik6ww1FfAdwrO2Djvjh0s6Y9OzdwpomBOkcRrlpohWCc0V44k36ogmvQXcUyoHWJcWLt d6oQ== X-Gm-Message-State: AOJu0Yx1HSgHbVH5/NlYlS6azDRU37Sao9nCQA1/F1oZBXWpYQ00rARS ACh9W8IqZXzbEeiXN9kG9SRQ4qqniPPN X-Google-Smtp-Source: AGHT+IEjYMUpKpvpCvh+KfUDpQbFLjsINNUjpLZWsNpFXOjr+w4UtkwMZ6r3nPZ3BkLJJ1Y2MtAXmZNgKuvq X-Received: from mnkumar0.c.googlers.com ([fda3:e722:ac3:cc00:4f:4b78:c0a8:313a]) (user=mnkumar job=sendgmr) by 2002:a05:690c:ecb:b0:5a7:b95c:a58f with SMTP id cs11-20020a05690c0ecb00b005a7b95ca58fmr63716ywb.1.1698833829577; Wed, 01 Nov 2023 03:17:09 -0700 (PDT) Date: Wed, 1 Nov 2023 10:16:23 +0000 Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 X-Mailer: git-send-email 2.42.0.820.g83a721a137-goog Message-ID: <20231101101625.4151442-1-mnkumar@google.com> Subject: [PATCH RESEND 0/2] Add a quirk in xhci-plat for parent nodes to specify no 64 bit support From: Naveen Kumar To: Mathias Nyman , Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, royluo@google.com, devicetree@vger.kernel.org, Naveen Kumar M From: Naveen Kumar M This patch aims to expose the XHCI_NO_64BIT_SUPPORT flag to the parent nodes of xhci for clients to specify if they can not support 64 bit DMA memory pointers. This issue was observed with a Google SoC that uses a DWC3 controller where the virtual address's higher order bits are truncated. Resending due to missing out some reviewers/maintainers in the original patch. Naveen Kumar M (2): usb: host: xhci-plat: Add quirk-no-64-bit-support dt-bindings: usb: add no-64-bit-support property Documentation/devicetree/bindings/usb/usb-xhci.yaml | 4 ++++ drivers/usb/host/xhci-plat.c | 3 +++ 2 files changed, 7 insertions(+)