Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp27931531rwd; Tue, 4 Jul 2023 09:53:23 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7lxOUqP6qTZade4zq3pGGzX3nJddnergGAe34nPAw3+bATGkE2fHqUJhqrBZtkfWwJ9aG4 X-Received: by 2002:a05:6808:2a68:b0:3a3:7ee9:8f17 with SMTP id fu8-20020a0568082a6800b003a37ee98f17mr12540432oib.39.1688489603335; Tue, 04 Jul 2023 09:53:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688489603; cv=none; d=google.com; s=arc-20160816; b=VVeHUMh58iRgBqTvE5XoAe9NN17LskGQewNiVMNRnk6TaZLXQxZ8OzSeomDawAwAsA welweZh2cHlGHgFAjYLZjgomNQY1dMzdcPAQMKuR0BK473cWPGlN4PPbnO/c6953KbtE nQ7cCvS+njL1QBi35Blm2cIZwdF22cJUKv1+Imt/WsCNF6iHQwDwBgNED14gEkChAfEH ulgqqNqFpCOzjCsfnQPu7+x072fp6xlnCsDYbHkbF9LGkG4BRHk6FUMEZfq/j50ZRtLB Pg5DvkiUImhcQ5hoN4u7vIR/wmixt4GRowc1IvZpN7HvIZII+1SqQvIzZPH3KjE9phql gbBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=qq9caxBhUaIDTOUts0hMPoGeTAHn1nr/fwkbfDRFOV4=; fh=87SCjbS0hQry6nZE21503cjUxU0VTUfL7TpDxbq2eT0=; b=NjyjjO0Cg2jcntdy1y76Mknt1cEOumKR1WjFHxBRp2R683P6Vqnvvk0pXQs/NDNXod PvbQxlQgwVDzSsmaB5gs9YncIMECYlgWdkuS3r9bLddJCbbc+smYOqphhDvV7sHrKsiP AkIpnzdShAqWbMASXPU6OgQ67EAKcM7Ig3jhY4+wzmoBTQlx6+1AHEwzvMrWD9S15crz ANwP+Moab0jAyG0r+fj+Q5a+w2nAnQpGBfznuY54d7xGPrPOYLDALEFBuB7mA1BNmP96 J9rBUJXxAeXr+JEQATuBtryV/fOFFOzbZKM/PcIV3Qo4ntrHRCdyi9wEEz/EfmwMSIUU k+CQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ot4-20020a17090b3b4400b00263d122a519si4459803pjb.34.2023.07.04.09.53.08; Tue, 04 Jul 2023 09:53:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231615AbjGDQhU (ORCPT + 99 others); Tue, 4 Jul 2023 12:37:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229615AbjGDQhS (ORCPT ); Tue, 4 Jul 2023 12:37:18 -0400 Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 283A6CF; Tue, 4 Jul 2023 09:37:18 -0700 (PDT) Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-1b7ef3e74edso29177865ad.0; Tue, 04 Jul 2023 09:37:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688488637; x=1691080637; 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=qq9caxBhUaIDTOUts0hMPoGeTAHn1nr/fwkbfDRFOV4=; b=DRODGkvGkssu8sbpH5JfFdL0Dwx1OfH+U7SSFY6gIJ0v6LTLqeNqjhBf8nmyPy4gG2 oiNgpFAtVRu9NdjJ8AXflAkzXUDRBtm1DwKH6+dv1MqxwskzxumNO5juQO8oDWlkMBY8 oMbR6wrLHLaBYM3LSFbtupluYCA8UKra9TkS14fNUvBVnA50/sSvLxoG+0JRkMGxohtC 4XFthla/1NcoJIUkd+Nh6VfWNefjn3uzOfEVCLURL1eFBJPdi9+Ej0TIRoo94qo1q9N5 YY+bjRQ9RjJcevtmfry7JvF1lFpLiu1nEkmZpTbFpZgJt7x1T83M/CiMTZTyCmMzQs3j A+Ww== X-Gm-Message-State: ABy/qLZkIhcqZa19ZXVgKzV3v167qMEV//dp+1Hr1qss+3U2TLyIUTvb irGKM6CN31PVMcqsDLArFdE= X-Received: by 2002:a17:902:8682:b0:1b8:95fc:d12 with SMTP id g2-20020a170902868200b001b895fc0d12mr4921692plo.54.1688488637557; Tue, 04 Jul 2023 09:37:17 -0700 (PDT) Received: from localhost (fpd11144dd.ap.nuro.jp. [209.17.68.221]) by smtp.gmail.com with ESMTPSA id j6-20020a170902c3c600b001b8918da8d1sm4605652plj.80.2023.07.04.09.37.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jul 2023 09:37:15 -0700 (PDT) Date: Wed, 5 Jul 2023 01:37:13 +0900 From: Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= To: Rick Wertenbroek Cc: alberto.dassatti@heig-vd.ch, dlemoal@kernel.org, Dan Carpenter , stable@vger.kernel.org, Shawn Lin , Lorenzo Pieralisi , Rob Herring , Bjorn Helgaas , Heiko Stuebner , linux-pci@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] PCI: rockchip: Use 64-bit mask on MSI 64-bit PCI address Message-ID: <20230704163713.GB435329@rocinante> References: <20230703085845.2052008-1-rick.wertenbroek@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230703085845.2052008-1-rick.wertenbroek@gmail.com> X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, > A 32-bit mask was used on the 64-bit PCI address used for mapping MSIs. > This would result in the upper 32 bits being unintentionally zeroed and > MSIs getting mapped to incorrect PCI addresses if the address had any > of the upper bits set. > > Replace 32-bit mask by appropriate 64-bit mask. Applied to controller/rockchip, thank you! [1/1] PCI: rockchip: Use 64-bit mask on MSI 64-bit PCI address https://git.kernel.org/pci/pci/c/251c859f4b6f Krzysztof