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 X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1F73EC352AA for ; Wed, 2 Oct 2019 08:10:08 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id E3F5921783 for ; Wed, 2 Oct 2019 08:10:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ZxKlDk/x"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=synopsys.com header.i=@synopsys.com header.b="FuSM9rPL"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=synopsys.onmicrosoft.com header.i=@synopsys.onmicrosoft.com header.b="kHhkPBaA" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E3F5921783 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=synopsys.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=44yiaedK8KR03IOM7uGzVl7gv64jBdYuzc/vZSR4KBQ=; b=ZxKlDk/xwOqgRZ SuQHzaT6nsI73CRp581m7Zj0aVUIPBJ39BDqLve7pu6PieFaaj+/wnwH5NFkSQYh7vprVuqmOABs8 G9DMI/7YHp8LIRdka4Nf59HSvnbguBCCX4EAR4B5ZXLn/aTP66Jfh+5Mf1VqXDJpWAm8IVeCdoIrH J+CkWi6ZrnYgNS8N17M12o05WZPyxg2tt1wY3d0RATts/naoYCBix0J1h09ptr1zZp+c2wdqQtNZr TrmE1isGP342kL3BDNUYuB9GI//LVYk8PCm3BEkNkGtIt9Z3mkhFXkjksO+iI0lIn4JNOioYUKiMd KLn/ry2LgA1HF6r1CtOQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iFZhw-0000ja-Sx; Wed, 02 Oct 2019 08:10:00 +0000 Received: from us03-smtprelay2.synopsys.com ([149.117.87.133] helo=smtprelay-out1.synopsys.com) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iFZhu-0000jH-At for linux-arm-kernel@lists.infradead.org; Wed, 02 Oct 2019 08:09:59 +0000 Received: from mailhost.synopsys.com (badc-mailhost2.synopsys.com [10.192.0.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id 5452FC2FDF; Wed, 2 Oct 2019 08:09:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1570003797; bh=vn0G241cd27H583bR7iMZeAnN8UsIjqOFTSq7kbzAyM=; h=From:To:CC:Subject:Date:References:In-Reply-To:From; b=FuSM9rPLb3h+YBjIh2oHYOUd1ivD6KX9ZjDrjtVslXSH0hW68/cw95y1dkbmxTCJE D/ww+Mz9HIPYD0Ppp3nzO8J6OU00jjGm2Qndxf7X80aZyWciZu6DR5s8MZQf7IlUOl dvI4d+rB+xOlQWk/vQSpFR4HIU++rbZI7ts8sWO4c6BlFPGSHJ9o/D6UR8mahjfquN GD+TTfOIByY0NGJ5QlBWMAd8uMyWe8PxdUYeV3GksDWKKEJ6hyMmc1Hnv2eUfhjE8A eXF7vPFdc8oYgsbsVLneGe8urSKuNc9eDdiZ9MWTBsWgrsq4Q4Qmh6mar8knm3hgQg XnWnW/QV9ti0A== Received: from US01WEHTC3.internal.synopsys.com (us01wehtc3.internal.synopsys.com [10.15.84.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mailhost.synopsys.com (Postfix) with ESMTPS id D3EA2A0067; Wed, 2 Oct 2019 08:09:50 +0000 (UTC) Received: from US01HYBRID2.internal.synopsys.com (10.15.246.24) by US01WEHTC3.internal.synopsys.com (10.15.84.232) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 2 Oct 2019 01:08:42 -0700 Received: from NAM02-CY1-obe.outbound.protection.outlook.com (10.13.134.195) by mrs.synopsys.com (10.15.246.24) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 2 Oct 2019 01:08:42 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=M/obS/QMtvtt/yhHasQLCqGuKs17MN1q6ilIk5AY3mlP6nAAvsvZY/0OXHfEekh+olGqHB44GiunFx0efFYGlW4Bzm/ltmAfhW0lLi1G3gTgXYbikC24j8H1+d0GjTiMq4Ns/C3QCk8WiIbE0HyjOTzB+WKk6XV68cLP2YqyrDAGsgdgA6aIRnJ4ec59uUL5m9apZ2Ch4k0JzkIp80E5vsmDEMhuftsCCHwYDFyJBEBpiwJZgE+dQeqLH3jvoL2XMRRpGCIIVQBGV534SM/jFou5TIyu2QaznwTy+DqgPPgRO/4og8RrHHeuGstraOL2sApR9XlOiWMtIfv20uEJiA== 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-SenderADCheck; bh=vn0G241cd27H583bR7iMZeAnN8UsIjqOFTSq7kbzAyM=; b=fbdd3/ZsAGSR01oERHuzgoKGzrdCyirbcUvsUv2KB/CDoT2Qbw/3GtEdgvo8RGNzCezQSKbhUh99z4oceVLQF99LgKNR02jn5W7Wmo9FqrQgM4GeG572kROW4nUx1hJQJIkAHInfF09bo7fSZrPsmWDS5Ii0n5e3Q4VheJc+WfMzzoK+Wm/jfYkeL4LuLO5/O2E8BBSWlkB13f8+qCPatIIouv6bxXAJQPBo4UjDJzeGndPGF/ovCDe5MnqvpX5w/vGZg2eJ4+QH4998b/4C8LxE+ey8dPVJK2pnZB5cHmzvTwSUpYC88y5+7tn9GawwLRgSL10Xy00QNSFStO2ZyA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=synopsys.com; dmarc=pass action=none header.from=synopsys.com; dkim=pass header.d=synopsys.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=synopsys.onmicrosoft.com; s=selector2-synopsys-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vn0G241cd27H583bR7iMZeAnN8UsIjqOFTSq7kbzAyM=; b=kHhkPBaA/fVfDpHgaTyYCOhWV9SEtO+tmGv1RAP3BX6xIYh/KoyvluG6LABygYN43EnCXM1e7jKO15kes0ksNCi/54Ss+Zkmr9Q7+16XBjdjGvD7S4R4DWuSuqM7R3saVfNupMP2DciNkOAoZEskoHCF2lGI9KnANNCFYyG6N14= Received: from BN8PR12MB3266.namprd12.prod.outlook.com (20.179.67.145) by BN8PR12MB3507.namprd12.prod.outlook.com (20.179.67.160) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2305.20; Wed, 2 Oct 2019 08:08:40 +0000 Received: from BN8PR12MB3266.namprd12.prod.outlook.com ([fe80::59fc:d942:487d:15b8]) by BN8PR12MB3266.namprd12.prod.outlook.com ([fe80::59fc:d942:487d:15b8%7]) with mapi id 15.20.2305.023; Wed, 2 Oct 2019 08:08:40 +0000 From: Jose Abreu To: Hans Andersson , Jose Abreu , "mcoquelin.stm32@gmail.com" Subject: RE: [PATCH] net: stmmac: Read user ID muliple times if needed. Thread-Topic: [PATCH] net: stmmac: Read user ID muliple times if needed. Thread-Index: AQHVePAsjhS3U+43VE+DGhKYpgL3F6dG8LMAgAAMxQCAAAG8IA== Date: Wed, 2 Oct 2019 08:08:40 +0000 Message-ID: References: <20191002070721.9916-1-haan@cellavision.se> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=joabreu@synopsys.com; x-originating-ip: [83.174.63.141] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 73b84679-e7bd-4d27-5d96-08d7470fbc83 x-ms-traffictypediagnostic: BN8PR12MB3507: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-forefront-prvs: 0178184651 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39860400002)(366004)(346002)(396003)(376002)(136003)(189003)(199004)(66476007)(66556008)(3846002)(6116002)(33656002)(66066001)(316002)(99286004)(256004)(7696005)(76176011)(102836004)(6506007)(4326008)(6246003)(11346002)(486006)(446003)(476003)(2501003)(186003)(86362001)(2906002)(55016002)(6436002)(9686003)(229853002)(305945005)(7736002)(74316002)(25786009)(54906003)(71190400001)(71200400001)(110136005)(26005)(8936002)(4744005)(52536014)(14454004)(478600001)(5660300002)(8676002)(66446008)(81156014)(64756008)(81166006)(66946007)(76116006); DIR:OUT; SFP:1102; SCL:1; SRVR:BN8PR12MB3507; H:BN8PR12MB3266.namprd12.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: synopsys.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: T2isTynuu0ElCFk1SZFEhUwYPqAcOVNCe5ZEkC2sW4HiyVC8v+KXyqAOYDmCFy0VeYe4VEKbiocnGN7ywoEkoxsPv7VUEqsYNAO3ix2rOra4CuJDFzYPvAU96b+r9G1ZnsA33gfz26s/Ux8j7p/YCCqzu4gVrzTdPACoKX0ltRrhMt4wogM8GJCqh/v7q+d34LvM6xTcoM4vXZjNIsfBU754loOvR4vKtiTEQMAKtD4+egstZO6EUPy2y5MWsYRPeGSf7GiKvUz4xXQ16ZV0hbDcR1OIsmGoMivJqiAT3UFmSpLu34LyGZTyXqKVDCwdtUc6b6vhpQIpXF762mwTKCTOwDO85/z6eeRuuUz4Wbez/HyQSHSOKJx1R06+eZG3eAylC9VW+vXhs431c3qIAWe0biQeZCz5eoShvcsRh98= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 73b84679-e7bd-4d27-5d96-08d7470fbc83 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Oct 2019 08:08:40.8222 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: c33c9f88-1eb7-4099-9700-16013fd9e8aa X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: nZvHI4Dv5YAVsrkkpzYESICwc6zUympdk4Wb1l/QRs238UoSEgTC9DS0qmMSeSb7kcNbMje8empGXWd1nCWgmw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR12MB3507 X-OriginatorOrg: synopsys.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191002_010958_447089_73E43354 X-CRM114-Status: UNSURE ( 9.01 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "alexandre.torgue@st.com" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "davem@davemloft.net" , "peppe.cavallaro@st.com" , "linux-stm32@st-md-mailman.stormreply.com" , "linux-arm-kernel@lists.infradead.org" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Hans Andersson Date: Oct/02/2019, 09:02:02 (UTC+00:00) > We assert / de-assert the reset line, but the CPU is too fast and the IP is still > in reset when we later try to read user ID / Synopsys ID. Another option would > be to add a delay after we reset. Then I think you should fix the reset driver to only return when the reset is fully done. --- Thanks, Jose Miguel Abreu _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel