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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (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 1CBB4EE14C3 for ; Thu, 7 Sep 2023 00:42:51 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id DCFCE832; Thu, 7 Sep 2023 02:41:58 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz DCFCE832 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1694047368; bh=E4KKap7KjolEsemgFlmmLIsWG/mJZzjaj9GOum9UcB8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=sMXNHc7EHyi1O6zcd6HpCUuIGpsiusfFR3I0V4cYKPhIQhJNgFxe649iokmtEZWIB OqqwlkxoidOMu1pxGOCADy9aZG5vbPxQgbVuu2S6ByB/6UwXLMkmEv9G2HS7a/LRNp R/AbTLoCtGLaXJo3P150/gz3kqhcTh1VH/aEGjkk= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 94C01F80527; Thu, 7 Sep 2023 02:41:31 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id CD9D9F80494; Thu, 7 Sep 2023 02:41:30 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id E23AFF80494; Thu, 7 Sep 2023 02:41:25 +0200 (CEST) Received: from mail-oi1-x231.google.com (mail-oi1-x231.google.com [IPv6:2607:f8b0:4864:20::231]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 9B1B6F80431 for ; Thu, 7 Sep 2023 02:41:17 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 9B1B6F80431 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=jkD9J8Ea Received: by mail-oi1-x231.google.com with SMTP id 5614622812f47-3ab244e7113so284543b6e.3 for ; Wed, 06 Sep 2023 17:41:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694047275; x=1694652075; darn=alsa-project.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=9gui8u4OOc3TOjdVaRcFaPR8y2wsF5YiQ4542hZu9v0=; b=jkD9J8Ea2vDJj0XOUpvW/+xvPHUqN0FoZQ7jv+tYicfKzG+Xo+P0kNKXYKymDt1EMS DQjDLjrPlBFN+O7cCATG9XQsekdCCKQusJ9fr1uwDSs9UViNfJKqAaDfj9bgPyVpqHKW sSLwO1m2tuwP0TiGOtToptdNOTKQsHK/HVW30gaEn/7AWwVNS53mZMQAaud2uC9QWH1r 4wiiVcWzwLThVqeQFOayTKR7NT7pd+OQBVpLU7VLrUOcdm9uwgYXnUJG1GnwQuIrGYyo 6cDsiezhEkS3l7C/AerRYtdM6pHYgKblNNnqcnfFGElw3i89gx0w8X6gFKEAyuQgUXAU dDKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1694047275; x=1694652075; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=9gui8u4OOc3TOjdVaRcFaPR8y2wsF5YiQ4542hZu9v0=; b=ahIWS17dfeuauUxz+DY6NSVK6aseR/VhY4g4S8cc5J0jkRwImPFHBuGOHZyr6+9OB9 uWVffkuOu6Z4My7PuhsdE2Md0jdw1tggbpv49iacvJbnjqQExFcuJhq99WRZ34EYEN26 ROAwAMmcfeaxKkxk9Yli1neQ3/T8uzG8pVDV5QoIz76KwqV/2R6MbZxfKagwWlgWkm8x ld+KAU41vg4rCZ2teFvUtW0hVRPuRChRxKI+Yf56xDcDuqd3rcTzsV+MOehuUSPj8Afp LvDTk1eVh4UGhepwL0dO7Y+OQzgPAhn81zMVQQNakGe50/i2vDjQZxjUIIBm6t6ck3Be Dh9A== X-Gm-Message-State: AOJu0YzaKnw3VvTfg2E0bYCk7hq7Q4kpSbcThX14r46VshZTAmCjD7LJ lpjJC4xbCIBbkzbOj741qf9pTfzGDhAgCfvJEfhsr1hY X-Google-Smtp-Source: AGHT+IGM6nHYPpEfTcNYMZnmvw2j0DKLzAXvBY88wDkKX6uLcU+yABNF/mLwGK2iM85G5QjuriGr1w== X-Received: by 2002:a54:4607:0:b0:3a4:3072:e597 with SMTP id p7-20020a544607000000b003a43072e597mr15809319oip.54.1694047274858; Wed, 06 Sep 2023 17:41:14 -0700 (PDT) Received: from winterfell.papolivre.org (winterfell.papolivre.org. [2600:3c00:e000:341::1]) by smtp.gmail.com with ESMTPSA id bl39-20020a05680830a700b003a792121f47sm7463566oib.45.2023.09.06.17.41.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Sep 2023 17:41:13 -0700 (PDT) Received: from localhost (unknown [IPv6:2804:14d:7224:8468:34c9:cf8b:3384:7414]) by winterfell.papolivre.org (Postfix) with ESMTPSA id 54F541C3AB0; Wed, 6 Sep 2023 21:41:12 -0300 (-03) Date: Wed, 6 Sep 2023 21:41:05 -0300 From: Antonio Terceiro To: Robin Murphy Cc: Takashi Iwai , Jaroslav Kysela , Takashi Iwai , Catalin Marinas , Will Deacon , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: snd-cmipci oops during probe on arm64 (current mainline, pre-6.6-rc1) Message-ID: References: <877cp3esse.wl-tiwai@suse.de> <4f335dd2-8043-c60e-cf84-c2b01c4fee12@arm.com> <43632d9d-722c-b14f-336a-eac402ef9362@arm.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="89dZcb8j/67jPzQ0" Content-Disposition: inline In-Reply-To: <43632d9d-722c-b14f-336a-eac402ef9362@arm.com> Message-ID-Hash: RA7FVDU3XOWA27FS4UO4JTWMGELPPWZU X-Message-ID-Hash: RA7FVDU3XOWA27FS4UO4JTWMGELPPWZU X-MailFrom: antonio.terceiro@linaro.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --89dZcb8j/67jPzQ0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 06, 2023 at 08:52:40PM +0100, Robin Murphy wrote: > On 2023-09-06 19:36, Antonio Terceiro wrote: > > I'm pretty sure I saw reports of people using PCI GPUs on this machine, > > but I would need to confirm. >=20 > GPUs and any other PCIe devices will be fine, since they will use memory > BARs - I/O space is pretty much deprecated in PCIe, and as mentioned some > systems don't even support it at all. I found a datasheet for CMI8738, and > they seem to be right at the other end of the scale as legacy PCI chips w= ith > *only* an I/O BAR (and so I guess your card includes a PCIe-PCI bridge as > well), so are definitely going to be hitting paths that are less > well-exercised on arm64 in general. OK, that makes sense. So If I'm able to find a card that is genuinely PCIe=B9, then it should work? =B9 this one has a connector that looks like a PCIe x1, but it's not really PCIe as the chipset was designed for legacy PCI? > > What info would I need to gather from the machine in order to figure > > this out? >=20 > The first thing I'd try is rebuilding the kernel with CONFIG_INDIRECT_PIO > disabled and see what difference that makes. I'm not too familiar with th= at > area of the code, so the finer details of how to debug broken I/O space > beyond that would be more of a linux-pci question. Tried that, didn't help. --89dZcb8j/67jPzQ0 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEst7mYDbECCn80PEM/A2xu81GC94FAmT5HBsACgkQ/A2xu81G C94oLQ//cHO0I77mzhQzQ6aLJ+BhBiOK4X/p43WCNIpIidWSjRlwuU6SbryWIxfX e95mFUOg85ikPQr7tsNiOZ+UFUfFlOrUQABk6opO3/eF/su9FrAWL3CXgwM/8iy/ 4Nf+Ksh9HWrMMGoHIjJm+Ge4Mj5avdX3e65uD3lIYMKEfrGekfDUs/HTlY3U8yG9 EetU/O6JQKLShwmbLLeO940H0+BQaxikQkOZAx5HZiL5m6I1ZDjjj0B/w+mHbodt gwOl+XxBzAzW1OuFAzm99OjN0NSWXnay/fWrgkJxrLKR/PrvLsjchPLsZ3dkKV+j Y3OvxFsuy/qVVEY1LXdKd56vzHAmnnv2p5NZ/7nlepv9lqifFmokwpcEfXb5+sJO 6IxdPqvgfESrmfrEUbqq4WrrK1nKcpI8Dit9Ms6IpX0rJUJDPbNRFS1h2ghvhOH9 F6nPcLE9w3AL2cG1ksKHUoOPtDHv1kHFhxO2cOpY3rLvCRSBDuSPawt6jndaTXHb ZpefrV2sBzHX24Qgg6iLB/6uMHxqTFbo+N9XCdZ+Byi+wIZ81hKsNFHb85fBJxjo gSujiA3I2TSr7ZZWnGQxucreZqUm4G0JbUEPBQDgwfsNtUjpNf6PfhYDJnd0tQg3 iEhaU48CDtfCJDAJNcokz/Msn8Mwvp4zUBRHDwiKg/nYlDZyfLE= =2YPK -----END PGP SIGNATURE----- --89dZcb8j/67jPzQ0-- 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 1230BEE14C3 for ; Thu, 7 Sep 2023 00:41:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=9UJUeKfvtCcys6tknYh2e3ELDW1wq98N0nL/CQnS7g4=; b=sEPV6JFg1LHcV8njlwlTBjJSCb 0361PDi0cA0sDP3vV8175c2iyjssdtkiCgLwW6HUvYOgilPSkye9SvL1M/Y9D5eXc1lgIp/3MgXAu xLpzY8ly3DnUTueP4RSgQFR2dblOBmh6HgbtKzrpV26OCM34JhQv2L9HWBjEszyF2T20woh/D7kJx psojVVTyRy9NLEcQp+37s9aFmmRVvH22px8wgTJa6czQnHt4XTH/45slBcnITgXDoQjA3/RlWo0Kh E5jk0DE5OC1Ll6To3sQVARKEpe9dLAkXWlPRs159kUNI+yDKGGA0nQL5QWE3t272V+gUthWlv6acp ZsaE/oeQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qe35E-00B5Kh-0B; Thu, 07 Sep 2023 00:41:20 +0000 Received: from mail-oi1-x22a.google.com ([2607:f8b0:4864:20::22a]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qe35A-00B5Jx-2k for linux-arm-kernel@lists.infradead.org; Thu, 07 Sep 2023 00:41:18 +0000 Received: by mail-oi1-x22a.google.com with SMTP id 5614622812f47-3aa139a0ab2so284320b6e.2 for ; Wed, 06 Sep 2023 17:41:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694047275; x=1694652075; darn=lists.infradead.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=9gui8u4OOc3TOjdVaRcFaPR8y2wsF5YiQ4542hZu9v0=; b=yxE0aF8W+ab6ZfRXuOFiMw3pj02Yito8njE/F2LH1Ogub4zP+mGv4Qn18Oa4pr4gVJ /8edBbXyGgaHZCOv8NmlzmdaZCBGLaUlU3rwfS6DQ1qvb/VT0NPVKCrNxtJqPLOt4uJV 7UEnHa/Ssuxe90pqF4YCSUsBxbad+AC40D36RWvclDBCbfUi+DsbqBg1qyJsJBPNzEdq 59S3hHZHaAMKVDn+ggBKPMX2o+MGPADssMCNZ4j2Md6MTfYYKV9mlla6Q0pUNJaot95N JzEAanCp3PK7/7gCCEVL60GJqM8TElcccTARDg/ZOyJLE0pLuQk6FEOtOb173IFYgHDQ dwsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1694047275; x=1694652075; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=9gui8u4OOc3TOjdVaRcFaPR8y2wsF5YiQ4542hZu9v0=; b=HHoTV08cguCdHIoImEu4kdiuGesTBjysEY3ALmsf71o2lNLJMmnUyJu0/i2cXtTupp wYGXngVlhC8s1I6ylx0Ba/a38NOg2CJHZdiPCxeMPlZ1PJl0dBehdiuERPyRmA8Bj95B Y8uwkBLs5/qHZ6Ku/q9vMtv8hYekkrdP78kZDNAIWe1EbzdHyA9YsJ5wAWDjoB15nutz f5KBpy22zaGtwmMvToBMG8bf7YVGrTVbgjiD6dDFizRsL+8nHrFj78d4zY73F5ut2Fde qZpfkL3KdbqYWUgEj0uzb/gEK5hyV69fxJvBap7Fkr2CZBDHZF1NCCMjJUpdED9JF+yx Ed4Q== X-Gm-Message-State: AOJu0YybOy0jM9j1TdaYUXiprrLASHWqrbDC9T0kOSdnzIIYVW8GJK0e /ocx6NN+SIHGLWiYc08FJz8W8g== X-Google-Smtp-Source: AGHT+IGM6nHYPpEfTcNYMZnmvw2j0DKLzAXvBY88wDkKX6uLcU+yABNF/mLwGK2iM85G5QjuriGr1w== X-Received: by 2002:a54:4607:0:b0:3a4:3072:e597 with SMTP id p7-20020a544607000000b003a43072e597mr15809319oip.54.1694047274858; Wed, 06 Sep 2023 17:41:14 -0700 (PDT) Received: from winterfell.papolivre.org (winterfell.papolivre.org. [2600:3c00:e000:341::1]) by smtp.gmail.com with ESMTPSA id bl39-20020a05680830a700b003a792121f47sm7463566oib.45.2023.09.06.17.41.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Sep 2023 17:41:13 -0700 (PDT) Received: from localhost (unknown [IPv6:2804:14d:7224:8468:34c9:cf8b:3384:7414]) by winterfell.papolivre.org (Postfix) with ESMTPSA id 54F541C3AB0; Wed, 6 Sep 2023 21:41:12 -0300 (-03) Date: Wed, 6 Sep 2023 21:41:05 -0300 From: Antonio Terceiro To: Robin Murphy Cc: Takashi Iwai , Jaroslav Kysela , Takashi Iwai , Catalin Marinas , Will Deacon , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: snd-cmipci oops during probe on arm64 (current mainline, pre-6.6-rc1) Message-ID: References: <877cp3esse.wl-tiwai@suse.de> <4f335dd2-8043-c60e-cf84-c2b01c4fee12@arm.com> <43632d9d-722c-b14f-336a-eac402ef9362@arm.com> MIME-Version: 1.0 In-Reply-To: <43632d9d-722c-b14f-336a-eac402ef9362@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230906_174116_964023_39579D0B X-CRM114-Status: GOOD ( 22.02 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============6210735073424717162==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============6210735073424717162== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="89dZcb8j/67jPzQ0" Content-Disposition: inline --89dZcb8j/67jPzQ0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 06, 2023 at 08:52:40PM +0100, Robin Murphy wrote: > On 2023-09-06 19:36, Antonio Terceiro wrote: > > I'm pretty sure I saw reports of people using PCI GPUs on this machine, > > but I would need to confirm. >=20 > GPUs and any other PCIe devices will be fine, since they will use memory > BARs - I/O space is pretty much deprecated in PCIe, and as mentioned some > systems don't even support it at all. I found a datasheet for CMI8738, and > they seem to be right at the other end of the scale as legacy PCI chips w= ith > *only* an I/O BAR (and so I guess your card includes a PCIe-PCI bridge as > well), so are definitely going to be hitting paths that are less > well-exercised on arm64 in general. OK, that makes sense. So If I'm able to find a card that is genuinely PCIe=B9, then it should work? =B9 this one has a connector that looks like a PCIe x1, but it's not really PCIe as the chipset was designed for legacy PCI? > > What info would I need to gather from the machine in order to figure > > this out? >=20 > The first thing I'd try is rebuilding the kernel with CONFIG_INDIRECT_PIO > disabled and see what difference that makes. I'm not too familiar with th= at > area of the code, so the finer details of how to debug broken I/O space > beyond that would be more of a linux-pci question. Tried that, didn't help. --89dZcb8j/67jPzQ0 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEst7mYDbECCn80PEM/A2xu81GC94FAmT5HBsACgkQ/A2xu81G C94oLQ//cHO0I77mzhQzQ6aLJ+BhBiOK4X/p43WCNIpIidWSjRlwuU6SbryWIxfX e95mFUOg85ikPQr7tsNiOZ+UFUfFlOrUQABk6opO3/eF/su9FrAWL3CXgwM/8iy/ 4Nf+Ksh9HWrMMGoHIjJm+Ge4Mj5avdX3e65uD3lIYMKEfrGekfDUs/HTlY3U8yG9 EetU/O6JQKLShwmbLLeO940H0+BQaxikQkOZAx5HZiL5m6I1ZDjjj0B/w+mHbodt gwOl+XxBzAzW1OuFAzm99OjN0NSWXnay/fWrgkJxrLKR/PrvLsjchPLsZ3dkKV+j Y3OvxFsuy/qVVEY1LXdKd56vzHAmnnv2p5NZ/7nlepv9lqifFmokwpcEfXb5+sJO 6IxdPqvgfESrmfrEUbqq4WrrK1nKcpI8Dit9Ms6IpX0rJUJDPbNRFS1h2ghvhOH9 F6nPcLE9w3AL2cG1ksKHUoOPtDHv1kHFhxO2cOpY3rLvCRSBDuSPawt6jndaTXHb ZpefrV2sBzHX24Qgg6iLB/6uMHxqTFbo+N9XCdZ+Byi+wIZ81hKsNFHb85fBJxjo gSujiA3I2TSr7ZZWnGQxucreZqUm4G0JbUEPBQDgwfsNtUjpNf6PfhYDJnd0tQg3 iEhaU48CDtfCJDAJNcokz/Msn8Mwvp4zUBRHDwiKg/nYlDZyfLE= =2YPK -----END PGP SIGNATURE----- --89dZcb8j/67jPzQ0-- --===============6210735073424717162== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============6210735073424717162==--