Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp480455lqc; Fri, 8 Mar 2024 03:22:52 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVpxlhcqLfEpdUBc3RurGerX07yNT2CzT0IZ32z+lcofwFx3d1xChCXj4EuT0nNHJUNGFmtmQkOqBKYbIsn4J45ajW/FQkTLFBR+2idSQ== X-Google-Smtp-Source: AGHT+IGrm3iBMrf1FGmIGeq/AIJARnyR9q1SMp992mqaRsHj3Ajp6X6UV+jCV9wDrUPjuU9T1aD/ X-Received: by 2002:a17:906:33c6:b0:a45:8ded:9a47 with SMTP id w6-20020a17090633c600b00a458ded9a47mr8454010eja.33.1709896972310; Fri, 08 Mar 2024 03:22:52 -0800 (PST) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id ne19-20020a1709077b9300b00a3f52dc6a1esi8008560ejc.1014.2024.03.08.03.22.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Mar 2024 03:22:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-96922-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@renesas.com header.s=selector1 header.b=IqFBkAJ2; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-96922-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-96922-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=renesas.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id D54161F21F47 for ; Fri, 8 Mar 2024 11:22:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AB4D755E73; Fri, 8 Mar 2024 11:22:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b="IqFBkAJ2" Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2059.outbound.protection.outlook.com [40.107.114.59]) (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 535485102A; Fri, 8 Mar 2024 11:22:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.114.59 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709896958; cv=fail; b=r8JIQ3LZ9l/qhgHbft3mn1o71t0ACsZMlne3rqZSpAU3PxXsJMceXxtp25EQjHEeAXymLbfyNH0qpQTEsZKxkFQ5UGb02JfZJm2gZyLWpjfzYkpBWGyCgvMXkUPy6BiRg8+m3z6aUymFp2pvTY/FY1EzNsVWPM3WXN47htQZWM0= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709896958; c=relaxed/simple; bh=dgWS5GXlcd7XflkL7Nx3aOxp41bG4JVQG2XS4XiDfHM=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=WiQMQ69Q536Wz1xHeUyzlguuBGSa5TtvppYwX3dT9mZa1qwqWiLcL0NHcW2I9Sh32FCOA3aNAmxX404884LkPIJGFUbon+vMMcKw9wrlVkMFFIoR8ogeqGJBtH1qug1YcGJ+6nE3eQNTrll4WiMQlYqFZy0mN7ChgMZBP9wu/tI= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com; spf=pass smtp.mailfrom=renesas.com; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b=IqFBkAJ2; arc=fail smtp.client-ip=40.107.114.59 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=renesas.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ha18yrkpSu5Um+r0GEBcyzw18THg2k9ZGt/RTU8rkGfyJR15PTScGFKAx2+dTbcC4QAVH6tU60WsM5k3NMRofK5M9T6dWwdjWUA+tfoPd7SCWEaoECh3ujpS2SSs3XaxkZzfCsXzS5ROfoaSleDVlE35xmSqiNbRmwGOt12uea4OpRrQ/4irDrC2UPeX6kuHa4HhmwZdpdxZ0B3EDdu7l7BK+SLKRkHujL6h1JEz4qeFEPo2s4/AqSnIzZ1SjUHVYEr37es3jcPB4Z3AowaQL6KpAOUJbgC+3x67D4h5UVTPV1X9sNDtgQXdwckVcK0zORJHteHxeqtZAl7EPBpvEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=dgWS5GXlcd7XflkL7Nx3aOxp41bG4JVQG2XS4XiDfHM=; b=NtZDSL3VaoBxz4X91bEwVoV80igBEFIhhjXQqTlhUQz6mGVks4hJYQMhYm/dwe6SMuVN4P7pDP87uXPlxHmvaaCifUTON252HDJj6NOohea18u8Zxb5PCr89hm+hvNcXKgxyuDzEbJ15A+pWv6+kwVvmrLL+8wuYLuOzoB1wqAaqpzpLSSZCyB6awcO0esjKaSMIweUx2nQKqliJj299zopUakIJ83U9iTiXnqf4t82Le8ocCT3kXEy08gwfn8zSkKKDCy7uIQ8rOvWkhuhmmaAGm91YoSAsgxhbi24RWevIUadHBzuSegrG25wtG6StP3ubDf8HpZ2CavGPuxgwrA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dgWS5GXlcd7XflkL7Nx3aOxp41bG4JVQG2XS4XiDfHM=; b=IqFBkAJ2TCj3ujnXHtvgD3R2KTVVeHabk8jFIljx2D07btwdJb2XCz9Mi47j1A3Bq/rJyAC03RLU8bI4Wxh31+YqlLpB+FUAXjyHFLd+rKr4jrrQm9/ifwlev7Yw8IDxaLu5OaZDWTzFhqcIurfQK4oWXP9iwzaT8QBDfgXuYYI= Received: from TYCPR01MB11040.jpnprd01.prod.outlook.com (2603:1096:400:3a7::6) by TY3PR01MB11220.jpnprd01.prod.outlook.com (2603:1096:400:3d2::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.27; Fri, 8 Mar 2024 11:22:32 +0000 Received: from TYCPR01MB11040.jpnprd01.prod.outlook.com ([fe80::f9d2:106:9dc3:224f]) by TYCPR01MB11040.jpnprd01.prod.outlook.com ([fe80::f9d2:106:9dc3:224f%3]) with mapi id 15.20.7362.029; Fri, 8 Mar 2024 11:22:32 +0000 From: Yoshihiro Shimoda To: Manivannan Sadhasivam , Jingoo Han , Gustavo Pimentel , Lorenzo Pieralisi , =?utf-8?B?S3J6eXN6dG9mIFdpbGN6ecWEc2tp?= , Rob Herring , Bjorn Helgaas , Marek Vasut , Thierry Reding , Jonathan Hunter , Kishon Vijay Abraham I , Vidya Sagar , Vignesh Raghavendra , Richard Zhu , Lucas Stach , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Minghuan Lian , Mingkai Hu , Roy Zang , Kunihiko Hayashi , Masami Hiramatsu , Kishon Vijay Abraham I , Jesper Nilsson , Srikanth Thokala CC: "linux-pci@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-renesas-soc@vger.kernel.org" , "linux-arm-msm@vger.kernel.org" , "linux-tegra@vger.kernel.org" , "linux-omap@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linuxppc-dev@lists.ozlabs.org" , Niklas Cassel , "linux-arm-kernel@axis.com" Subject: RE: [PATCH v9 06/10] PCI: dwc: ep: Call dw_pcie_ep_init_registers() API directly from all glue drivers Thread-Topic: [PATCH v9 06/10] PCI: dwc: ep: Call dw_pcie_ep_init_registers() API directly from all glue drivers Thread-Index: AQHabhWqjBYw8JYd4ki71hwSrJ2UPbEtuXHw Date: Fri, 8 Mar 2024 11:22:32 +0000 Message-ID: References: <20240304-pci-dbi-rework-v9-0-29d433d99cda@linaro.org> <20240304-pci-dbi-rework-v9-6-29d433d99cda@linaro.org> In-Reply-To: <20240304-pci-dbi-rework-v9-6-29d433d99cda@linaro.org> Accept-Language: ja-JP, en-US Content-Language: ja-JP X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: TYCPR01MB11040:EE_|TY3PR01MB11220:EE_ x-ms-office365-filtering-correlation-id: 9b01069d-048b-417b-1e79-08dc3f620c48 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: UJxTmu4ACmFp5yh86hsX3wG/LCdkBMIwXlqoEx7saSyihrlDViy1ahUWJaBt2vQEJ3S2em39PYoDf0RNoPmCysD0pVKfWmjAnoJ1M4EtdBtvfR5okuGRDxX3byShWWGMYY6+DZ75f6qaWYA8gZcG1QqbIHM7labOYsaRLg6c8tWCXsERemlh8I19k2HlaNdNoNHvp2t7nqCdK37wEuQRfRS6HVPGjFolQX5dNzizuBVT0j+hUiSwpUD7v2OOKbwpVhRvo967LnUlfLv/onORl+a4uPrR8+GgT645XXCt8qR5uTD8cykX9Kda5b4Vq7btPp8kkNGFhSslsVHtJGOqaLXUVtZ3drlfSVfp40jKx/aKckqmes7wWB+5zQkumxBKoh61snnuVq7mu0Ao3IsL2xq/z+zH9c7gYBaJ/xjNBXE27m4EFwI29lVDkoXGqKc1+bYJjFHhrQlarNEGHhZNpA692kOdMsj+YsCNJ0tiMj2WWr2rPkGKAtVn2Rok1evGRlNCO2NdgU2UPd5ZttB7WPf7rOqD+PQ8NxSmrKaNEBMoXarKlM30woJ+4PYWsSRXb7yXxU2RZrno9WglP0CcCwj3t8KEM8NUwgIKoWFZ8pUat8K2AytHsUi0E2McOaUitdEAF/OWb+S9FKxm7BWQh4VPsxgEMJgxLxVnI4/j1PHOJj0GUpxbQqniTE2ne8SQ7QWoNLcnu7QMz62jq/DXt3gBROaWCJv4+2kzy+9p5l4= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:ja;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYCPR01MB11040.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(1800799015)(376005)(7416005)(38070700009)(921011);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?cDdDMnVBWkl4ak1kSXJUWEt6ODQ2VXRYYXlUYUY5VWg4d25wd2RFMU1KOXNa?= =?utf-8?B?aGNVZk95eFR5ZnhkeHFrZ2YwSDJ5NUp3anBoZHQzZTJhaXIvVDRrSW9hMldo?= =?utf-8?B?aHN0UmNudHBsRkRBbjNVUlA0cEo2YnZwY0o3Mms2VEN1cUp3WXFJZExpbXZ0?= =?utf-8?B?aDNZL0FISjVWWUw1YTZsZGlPSjVpZDVvSmM1RmQvWlkrZU9UL0NoZUYrRW5m?= =?utf-8?B?TEpaMHg3VWdQS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hOeHRPZUtETUhR?= =?utf-8?B?d0xwbmtRL2VVdmREWUVNU2l6WlZJSDRWUEl6QTE1RFh4ZlFVbTZudHovaE1r?= =?utf-8?B?bys0K013S0xKdjIyMkhoSFBwSW5YSTgrOHpOcFRVV0dhQmdxSlhEWWZpdHZo?= =?utf-8?B?aHc9PQ==?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB11040.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9b01069d-048b-417b-1e79-08dc3f620c48 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Mar 2024 11:22:32.4634 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: byEgsX82VUhjJuS7Zom/h7CMYM7WNXjhXM9nLmKNRrKaGwpR+77SoP/t0N1M3smbYDX2hL2I76V3qbWHQHapYKcR2nb62bjgjTRrLLM9VrvPCzueugp02dwmaaAzjYMW X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY3PR01MB11220 PiBGcm9tOiBNYW5pdmFubmFuIFNhZGhhc2l2YW0sIFNlbnQ6IE1vbmRheSwgTWFyY2ggNCwgMjAy NCA2OjIyIFBNDQo+IA0KPiBDdXJyZW50bHksIGR3X3BjaWVfZXBfaW5pdF9yZWdpc3RlcnMoKSBB UEkgaXMgZGlyZWN0bHkgY2FsbGVkIGJ5IHRoZSBnbHVlDQo+IGRyaXZlcnMgcmVxdWlyaW5nIGFj dGl2ZSByZWZjbGsgZnJvbSBob3N0LiBCdXQgZm9yIHRoZSBvdG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