From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9034BC7EE2C for ; Tue, 6 Jun 2023 10:20:24 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q6TnE-0001Ju-AC; Tue, 06 Jun 2023 06:20:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q6Tn6-0001BC-VS for qemu-devel@nongnu.org; Tue, 06 Jun 2023 06:19:54 -0400 Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q6Tn5-0007WK-1b for qemu-devel@nongnu.org; Tue, 06 Jun 2023 06:19:52 -0400 Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-4f4b384c09fso7297038e87.3 for ; Tue, 06 Jun 2023 03:19:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686046784; x=1688638784; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=ZDj0tonTL4+3tYRmEMsaTv/xWQn5lUJWkT6rfRidSOs=; b=n8vF5zqhxp5dmaKT43ThHU8hJPbr/Nw8SQQrFNNZGuKfG/UoN9jBp2xMd8fbSh3+JN wRCj5c75+aFDt5A836i6TBGX3ZzB8cia6qRlUTQeUJqStUe4Kz7ajQCu8daNYYW8UND+ SwILAtypKQgRrkHNzwFNSzq0pYVGC6+T7yBfNbH294up9LNN/l6FZGyxCxRXb9lSU/Ob vvzc13cuAR0JUPuumAXk+gpXReccpbmTsUoLCSy7MGvTw1j0veNqG0AMKYv5/XBn/v0m xJIqCd4xkmscxASG7AzumM0Ff4Qc8SiPFguCUSNyBQYUhBg3uLV7w1qxBt6wFwJNluuR NDIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686046784; x=1688638784; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ZDj0tonTL4+3tYRmEMsaTv/xWQn5lUJWkT6rfRidSOs=; b=FzHbJeStxFWJNS1SuU0PlZbGAgRG+kxuGCNK5FFJw0M/Lj3HNA3FiIH6+sGc4SAZr/ 56FAEGbCvzp8YA1fEYOwePQvKhdO3r8A489cO7Vf0M2Qyd9WJeQpDQRUv/m3eBWU3rcG HcdYVTGnRFjL02xrmRiOzUfwWmNh0EA6ukLKSfQ0qWgHl/Zq3+3utcUHc3mNqyUjyNSX OslEwhrTOEvjx0gHhX5rguNbx9LDjQ+hT+sGPQ92LvghemPxXkAPluzsghDojLkGec3H +G82Y+7ZL+K6VzMm1ZQSWdH5zlpDeGKItbQLim54iIiungN+/8i5JakmKdg8ef58JNLO MIWw== X-Gm-Message-State: AC+VfDzCHzTLnXnzv+SMvgNaY6CWcmQWFmDbDAUWXhaxWraOGTlnkeno F5NFODYVPAL0xqMvbr9DXrlv1g== X-Google-Smtp-Source: ACHHUZ6GTOle8xTe/lHHTuTigy4vT3JPbecnzU6K/sQ/CPdrsOpWvepOsDETYMYIkhGsJji9sou+tw== X-Received: by 2002:ac2:47e6:0:b0:4f3:8196:80cb with SMTP id b6-20020ac247e6000000b004f3819680cbmr671711lfp.41.1686046784234; Tue, 06 Jun 2023 03:19:44 -0700 (PDT) Received: from [192.168.200.206] (83.21.93.182.ipv4.supernova.orange.pl. [83.21.93.182]) by smtp.gmail.com with ESMTPSA id u11-20020ac248ab000000b004e90dee5469sm1413437lfg.157.2023.06.06.03.19.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 06 Jun 2023 03:19:43 -0700 (PDT) Message-ID: Date: Tue, 6 Jun 2023 12:19:42 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v3 1/1] hw/arm/sbsa-ref: use XHCI to replace EHCI Content-Language: pl-PL, en-GB, en-HK To: Peter Maydell Cc: Yuquan Wang , rad@semihalf.com, quic_llindhol@quicinc.com, chenbaozi@phytium.com.cn, qemu-arm@nongnu.org, qemu-devel@nongnu.org References: <20230605095536.117384-1-wangyuquan1236@phytium.com.cn> <20230605095536.117384-2-wangyuquan1236@phytium.com.cn> <1fc502fa-8363-5a5b-0697-f3001c7ab773@linaro.org> From: Marcin Juszkiewicz Organization: Linaro In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::135; envelope-from=marcin.juszkiewicz@linaro.org; helo=mail-lf1-x135.google.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.09, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org W dniu 6.06.2023 o 12:04, Peter Maydell pisze: > On Tue, 6 Jun 2023 at 10:47, Marcin Juszkiewicz > wrote: >> >> W dniu 5.06.2023 o 11:55, Yuquan Wang pisze: >>> The current sbsa-ref cannot use EHCI controller which is only >>> able to do 32-bit DMA, since sbsa-ref doesn't have RAM below 4GB. >>> Hence, this uses XHCI to provide a usb controller with 64-bit >>> DMA capablity instead of EHCI. >>> >>> Signed-off-by: Yuquan Wang >> >> Reviewed-by: Marcin Juszkiewicz >> >> Without EDK2 changes Linux behaves same way (no USB found), with EDK2 >> changes (EHCI->XHCI) Linux gets USB devices. > > So it doesn't break (cause to crash) old EDK2 images? That's a > pleasant surprise. In both cases with not modified EDK2 Linux behaves the same: ehci-platform LNRO0D20:00: Error: DMA mask configuration failed ehci-platform: probe of LNRO0D20:00 failed with error -5