Received: by 2002:a19:711a:0:0:0:0:0 with SMTP id m26csp177947lfc; Tue, 2 Jun 2020 22:24:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJywbaIhLaLwmJwgDxFjBCEnK8a6jdMzQcwz4QI7k9tN/hEvBisu2uzFEGiteDoDH7b9ncDi X-Received: by 2002:a25:b882:: with SMTP id w2mr13441006ybj.160.1591161894711; Tue, 02 Jun 2020 22:24:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591161894; cv=none; d=google.com; s=arc-20160816; b=D70AJPeT7IsnJVjVIeEuRpaB8KdJFuOySpfD0nIdTZpmHfsLreRXzO1ehfh12Gj64h rnDa2rTOyYgu18sPbY4Vi6Zk09sBdjp4inA+o3HsukpJZxYr25Lfe+hKIFiIl9YgyBnU J0aHFDFyG0y+2fy4C1YFCRjzE5kVhBNunrT1jL9LadDI+xbDQ77/uL/sI+lgccl2Fx4X YZUuG6RBERXVY0SW9mai97b4T6osvutgYbU0mADTjt61j4a6Uywd4lH61/XdKM7wAIUA N9EciDJtrXJxKY35Q/iCyaR6hCWjamRcSd6d6rWdtQtJA+E6UUBeQDQJEYbrkmNi/w4n RaeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:message-id:date:subject:to:from :dkim-signature; bh=kuWjzT/fHl3TNVa0NJLrDiVP5UKBV/oX/7p9Gs5hrW8=; b=BboVnQqS/S+TCANPJDqRNeFTIXvvs4LnKr7IlaYypUC35mUsQjz1SeRih0N/e2AqXY JE7UMTM3yowxkYPDwkDTo3VQFgR3P81EPMIunp7UHfcOPaG+OREiCrRU5iXJqyd1PfyI kbjE3DYpn5jFGUakJKzgWn5iJ6rmxCeBSqhntgLXcm8u0/BrwDQkCGpn5a+EJ0qKVXWj eVHcBYQLy/O09AEEgu8JX4xW4nhN5kC1l/t2hWXL4HqcwBEEnN9R8VhMncmpMFRSowBP 7YPfxsU9t9lzzHQKkDf5DisSsxlhO65jH6UYk1s92H4Fz2WEMGMsf31Iy3HvL4sq7fxQ UfDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=VHVGAaZP; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org" Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id s193si921686ybc.371.2020.06.02.22.24.54 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 02 Jun 2020 22:24:54 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=VHVGAaZP; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org" Received: from localhost ([::1]:40388 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jgLtW-0006NH-3I for alex.bennee@linaro.org; Wed, 03 Jun 2020 01:24:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53324) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jgLst-00054z-Ju; Wed, 03 Jun 2020 01:24:15 -0400 Received: from mail-pg1-x542.google.com ([2607:f8b0:4864:20::542]:42520) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jgLss-0001mq-Jn; Wed, 03 Jun 2020 01:24:15 -0400 Received: by mail-pg1-x542.google.com with SMTP id e9so935376pgo.9; Tue, 02 Jun 2020 22:24:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=kuWjzT/fHl3TNVa0NJLrDiVP5UKBV/oX/7p9Gs5hrW8=; b=VHVGAaZPmCHsQ+QcgbWl5/lWKk2WjMbi+7S7qUaBilnaPINEG41FWmkR+toHkAEB3f MAGRI6CHCZv2Zke5d006zG1y+RYZbxzuNTWZT1jn5zenwcXxZcvyLcQLM2dMx7psUOa8 GXRmP0sUNyFEMbOGiCaGcCXUFpzPOKSRn3PI8B6grVh0Vn6sWRqxd/QtwjE3OJL/hrQ4 pd+jIanj2rrAbi2zcpu5n7Ewse9+dkmzL6KkuGBmt4ygMYMUx5xohqANRbBIZtVveFU5 +wcEN1RuhwpSoC1QFO+VCIm7k2EZqchfsz6P8H++apLVd7FVyxqrAQPDey+55OrGZapl uPmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=kuWjzT/fHl3TNVa0NJLrDiVP5UKBV/oX/7p9Gs5hrW8=; b=YKvq+KSp87103T5opXZ1N+/vCrB3fkuMRrLo0a5fu35XaZuJaYMtG6b5LYfrdH3odc dPzx0JbkT9qpgU0hTyIsZehIOUUhi6hDsmidw0W4TUb9dmlLxJfXim/PTK3E4bQuwedd iHjc/+bTg7x12C3KDSon8uhQRUcxy22HcOIb0k2ae9EB17vWfVMjMnXTG9TdWw1S57Ny aSRjcDIp4l4dl0hwAgDAdP4QP8PX5ChaKF+jHOM5K/vjJVk4BIUgGAQgZ8V6Yr2FfUUr fkseWpxQmj7zvv0D0RNBJi2r2E6knj72FLMK426aEwfOf7zwgL8L3zZXlG8DRTWGGene koMg== X-Gm-Message-State: AOAM531Y/5rd5FlJIODL/6Nrp+xRk8ayv7MXgMJNJq2lcCuHOvekhlGK Lf71K4YjtRcNJ71kifkO65o= X-Received: by 2002:a17:90a:4497:: with SMTP id t23mr3499292pjg.88.1591161852677; Tue, 02 Jun 2020 22:24:12 -0700 (PDT) Received: from localhost ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id x14sm575088pgj.14.2020.06.02.22.24.11 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 02 Jun 2020 22:24:11 -0700 (PDT) From: Guenter Roeck To: Peter Maydell Subject: [PATCH 0/2] sd: sdhci: Implement basic vendor specific register support Date: Tue, 2 Jun 2020 22:24:02 -0700 Message-Id: <20200603052404.30788-1-linux@roeck-us.net> X-Mailer: git-send-email 2.17.1 Received-SPF: pass client-ip=2607:f8b0:4864:20::542; envelope-from=groeck7@gmail.com; helo=mail-pg1-x542.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-arm@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrey Smirnov , qemu-devel@nongnu.org, Jean-Christophe Dubois , qemu-arm@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Guenter Roeck Errors-To: qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org Sender: "Qemu-arm" X-TUID: EQlWrNPQ86i8 The Linux kernel's IMX code now uses vendor specific commands. This results in endless warnings when booting the Linux kernel. sdhci-esdhc-imx 2194000.usdhc: esdhc_wait_for_card_clock_gate_off: card clock still not gate off in 100us!. Implement support for the vendor specific command implemented in IMX SDHCI hardware to be able to avoid this warning. Patch 1/2 implements vendor specific command support in the SDHCI core code. At this time, only IMX vendor command support is implemented, but the implementation is written with expandability in mind. Patch 2/2 enables IMX SDHCI vendor extensions for all affected emulations. ---------------------------------------------------------------- Guenter Roeck (2): sd: sdhci: Implement basic vendor specific register support hw: arm: Set vendor property for IMX SDHCI emulations hw/arm/fsl-imx25.c | 2 ++ hw/arm/fsl-imx6.c | 2 ++ hw/arm/fsl-imx6ul.c | 2 ++ hw/arm/fsl-imx7.c | 2 ++ hw/sd/sdhci-internal.h | 5 +++++ hw/sd/sdhci.c | 18 +++++++++++++++++- include/hw/sd/sdhci.h | 5 +++++ 7 files changed, 35 insertions(+), 1 deletion(-)