Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp966583rdb; Wed, 24 Jan 2024 00:01:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IFiYq2c8lp1dWfgrgP1KL+NvZ3D/Jk3Ob49dywL5rmEz1TWweHGSYOHvUgkF+8sprOug0kr X-Received: by 2002:a17:902:ced0:b0:1d7:5da2:90a9 with SMTP id d16-20020a170902ced000b001d75da290a9mr461130plg.5.1706083312924; Wed, 24 Jan 2024 00:01:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706083312; cv=pass; d=google.com; s=arc-20160816; b=r7tk3Y0Uncc90fL+MnkEWqwYfduuxpKf11AohpwvIe0i8sC7t0qHmHg+GHwozLdgxW IpA0AOMdXJ0W2dhD7mHNbutU6MlSKwS9EFxLeOWP9A8eyaEoEkL/KR38OfGVj0B0ZVGt 7AZZs6+ub6p3nxe/ZTQ4gkgBL/Gt3VLXV/35M7V/12w5F0/ClH+VOFhW6XwOXYZMWKch lCXSPnW6Esmb49ugaHgzMTF6CgFD60vfdg5htiIb/cx9/a/Z77bg/KxD4UOgX+EhfL6F dD204ODPoVdYXIAsgQZ8iIwEmFIBfUn1O7LOg9J+bI/zw0e/er2PKPVxv9Qsr2U08jrh tCtg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=QWYydR89z0tx+5jIlL0Szb7xhBZnWCknFnase8XBzhk=; fh=Vlu0xTcr8A0V68g7qTX0llQp9f7f+8CUYLgVb7nzkO4=; b=LKZSFfNFvilQoEYoSGrfYBcC+p3xy3+G3s2H1VRFhcKeQ4B//GzjrUcMm5evWE6Fa4 uRJuTaVXOB+E74DGcMMPQ/48yco0WLNdrX3zF6OEAfIjRXZYu9fivzYV+cJe6tXcv1SD fGZJzTwNxEnDWINLXt5SD0Vl90ZKpcLuvqTJQ6D4nYulv2WqRo5HIN8NIPtJLPXMVpwX cH/DY0YrsmmgOhz9IUEmZ46qD/3aT58ZEIW7xQN+tUzhyuA6gNqMuuQWqzvBE7tXszCa FBnjdTMqtfDmEAezUWTEo21D/cym8zCmqQVbeRrqoZmm4whfNdvO24bBAId/hys5F+uo 4cBg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OShcSokr; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-36602-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-36602-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id x1-20020a1709028ec100b001d76ae4c928si2877570plo.84.2024.01.24.00.01.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 00:01:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-36602-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OShcSokr; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-36602-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-36602-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 2D562293CA6 for ; Wed, 24 Jan 2024 08:01:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5EFE717542; Wed, 24 Jan 2024 08:01:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="OShcSokr" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 851DA171AA; Wed, 24 Jan 2024 08:01:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706083305; cv=none; b=Cbt7TyzTchEREYS49aEby4+wBwwPyWjIhtECvG7tvjgPKj6jRxAyQpSK1B5gG/U0bA/pvQA7fqbl/s/lTe2xtZJ6fqxOkNLX+bvIepTdSiQuu6iGzfj51tQRYMOyH0D6anWy5Zpprd2S4G0Y++HoPMzZO+E33T8CpQ4O4838zCw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706083305; c=relaxed/simple; bh=SUZ9Qd+Fkx0RnIhKJ2sG4i2sQF6fqBSEix6TvqfFoVE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=nrDInyI0Pv/h8/aP1hv2bh0XsxihhXXxjGypdSFH0iVc7WmLJPW/sDfvZgEIfujbNU5fCD1ZTFw8sDImUBpyYCU+J5XtwaG1uVuYid2HiGGtQ5sHNjvpGoRkNJyxBxIEJGk57ARp+FapeVW6z6jK5cJlFLaNZc81JT5WHdlZjAI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=OShcSokr; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E2E21C433F1; Wed, 24 Jan 2024 08:01:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706083305; bh=SUZ9Qd+Fkx0RnIhKJ2sG4i2sQF6fqBSEix6TvqfFoVE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OShcSokrmB8f6G+ACujuztrNKnp3zhf6lXeaOKG+aR9gdUWW4HmnW6EG+SZYEwhbb I8QdqFRvDY/2A88Xc5AW+8kSfUlLF5ZEsrLVTnSS1szrdk2rvBOTaZ13+Vuxxlnqaj zZtvZceSmJrQLJ3goN16CDudpULCWA9BocEqR4XMd8BQYQHzb7i8qZ6XbkVt2kX/NP ofTxLUcPjkog8SVEKb+MdvdeAQALtp0OX4dSRx5aZRS4M8/ZfEdG8Rqz1EkCSiYQHM 1R8C3s1glppe8cQDYVTZIQXBLfD/OIs0e+VV7mwef7cLPCV3OswdWDxY3n62kVbMXi ZWnr7C2l9RWlQ== Date: Wed, 24 Jan 2024 09:01:38 +0100 From: Niklas Cassel To: Conrad Kostecki Cc: linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org, dlemoal@kernel.org, hdegoede@redhat.com Subject: Re: [PATCH] ahci: asm1166: correct count of reported ports Message-ID: References: <20240123183002.15499-1-conikost@gentoo.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240123183002.15499-1-conikost@gentoo.org> On Tue, Jan 23, 2024 at 07:30:02PM +0100, Conrad Kostecki wrote: > The ASM1166 SATA host controller always reports wrongly, > that it has 32 ports. But in reality, it only has six ports. > > This seems to be a hardware issue, as all tested ASM1166 > SATA host controllers reports such high count of ports. > > Example output: ahci 0000:09:00.0: AHCI 0001.0301 > 32 slots 32 ports 6 Gbps 0xffffff3f impl SATA mode. > > By adjusting the port_map, the count is limited to six ports. > > New output: ahci 0000:09:00.0: AHCI 0001.0301 > 32 slots 32 ports 6 Gbps 0x3f impl SATA mode. > > Closes: https://bugzilla.kernel.org/show_bug.cgi?id=211873 > Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218346 > Signed-off-by: Conrad Kostecki > --- Applied: https://git.kernel.org/pub/scm/linux/kernel/git/libata/linux.git/log/?h=for-6.8-fixes