Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp8421937ybi; Thu, 6 Jun 2019 12:03:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqzm20rh675aqfl/9DOCM9SK5+KkC4Zqkj7zHOuoaf+zTVbJl2TolwYUYCxq6DQAsLtbdQBu X-Received: by 2002:a65:63cd:: with SMTP id n13mr38133pgv.153.1559847782702; Thu, 06 Jun 2019 12:03:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559847782; cv=none; d=google.com; s=arc-20160816; b=Acsl/WjXeHuy/9YhgpR9g+j/7fsXM7j3/NSGr/xGN/zyN/1oLgULxxVaNeUuGBUiEW uuzrUMVTwCnL6by4yAemfPFLv89DaI1t3+T0mae2f+5I7Px1fc9fk6O8T6am+1YxlQOs 7bozmVRvvoB+JflD8Whn0vdEuZE6eN5JVCPa7dcAGF4wLFRaGWeyUl5+wNC2AROLa33m NBP3lzIpw0AabTdSAKubPRmWlBmgwXofaoTnn/caje6mnfORvO/yfqozbqLLDnhKG1it BMD6j0WUkuLOE1XWfwjdZPNto4yzlaPbED8NsS2gh5iCeto1ChI/9Oz1Me990UFce/U2 +1nQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=LX7UPkKEbs2H7p/8IRQHhp005pCTt9Jaa99XCrcHGP0=; b=tNfThx51HjaxLQWcmP+ZPRACRqEBDAQyBcbjus571l4zyXhC9gS6PqzKcPE7xwtm03 c03pbTF96TQECH35xsKWzvbILbu3TOzM/dLoZdAG8QtpROrvpu0Ef8qHK8QQh707nCvk 7psoifmAPBXpgqBkuN6DzoAV+0oViG9elVvrBKM6cjNYYYerYmWdTDmu+lfLJat4N8u8 BR+0F38hhsh5JOmKNoWjwvlBAAkh2hVzHaVBIvwh1rHq81NK0a8D+29/Ij/psE4KwYAx oey8XnOgP8Dooe+PN9IcVKTLaeij58xVwnm44PPP8tm+VYZXp/hXLTNrYxPNxBmTl+2Q Ucww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ozS0g1Kr; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q28si2562656pgm.545.2019.06.06.12.02.48; Thu, 06 Jun 2019 12:03:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ozS0g1Kr; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728711AbfFFRvn (ORCPT + 99 others); Thu, 6 Jun 2019 13:51:43 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:45233 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728816AbfFFRvm (ORCPT ); Thu, 6 Jun 2019 13:51:42 -0400 Received: by mail-lj1-f196.google.com with SMTP id m23so2854481lje.12 for ; Thu, 06 Jun 2019 10:51:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=LX7UPkKEbs2H7p/8IRQHhp005pCTt9Jaa99XCrcHGP0=; b=ozS0g1Kr7oJk2/vb/ilvwYaYr/ZZ3fDIrVZuwbK6cpte7dO+7JyNKkUwkhJ2f3fE00 Xw6NbPnv74bJ5RDghJUrqnv7mgnFeqeXtAFj10WnSB0X1kKK/RXuVHC6l1bJZrFg64mk UpXFTONzvJfcU09L+ZfJ03cChB4xJOiurlxOxESytq39BuHym+nnTB6cWRcyU5rZrj8y mFSsRdIS6Wv1vFfHAvbdAKdj7FiBej49dDL22ojGMLcb5fadmkIQ378pxUQS1wlFBxbV qBPKd9EN62lYlN9BxBQWgdPHcNE9f07DLQbm/ewDvkmd6ZRnP2omf4dDYasM+ZKfUgOH QQeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=LX7UPkKEbs2H7p/8IRQHhp005pCTt9Jaa99XCrcHGP0=; b=Uet5VcmiLOpOhXmoF6Pxeg7lO+aqMG71hugr8TvsqYw1Q/c3CgXGmqXkZKyc8Yq+rO ifeOUHkkSYow9h5clCmwB/MRPQjjHiSoE1BoHpeMoNfjkrg6YQcvUfXiIy8nDH5iBmGg QJ0fE1p5qEr4nVUUiOhmEG4f5AJIUjbqhT1lkZrzjzKz6NceaUL8hmVnfC9hBTjHiyne u0wclE0djWVguVWNR+b2HvMEeNsPJEqQ99jD0CIs//9gCWplJZTmyuHfrOpTMwt3nJmB 1KEE9BTO7ePwsYtyJ69gYa+GaeGXgJlJPc2Z2Nf58KRlAs6qqWaD+4jj4/cVwO0SJ6pK QrXw== X-Gm-Message-State: APjAAAXczpXOx+vSNakxb5KbF2LkUfYLLqpi06XK/rBL0gzf3m8cwMoq Qt0a7pmV1ZOumW9lohGplaqjcuh/8Do4xsNVnMg= X-Received: by 2002:a2e:91c3:: with SMTP id u3mr25315439ljg.130.1559843500647; Thu, 06 Jun 2019 10:51:40 -0700 (PDT) MIME-Version: 1.0 References: <20190606172845.16864-1-festevam@gmail.com> In-Reply-To: From: Fabio Estevam Date: Thu, 6 Jun 2019 14:51:32 -0300 Message-ID: Subject: Re: [PATCH v2] crypto: talitos - Use devm_platform_ioremap_resource() To: Christophe Leroy Cc: Herbert Xu , "open list:HARDWARE RANDOM NUMBER GENERATOR CORE" , Horia Geanta Neag Content-Type: text/plain; charset="UTF-8" Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Hi Christophe, On Thu, Jun 6, 2019 at 2:45 PM Christophe Leroy wrote: > Have you checked that it has no impact ? > > On SOCs, areas of memory are often shared between several drivers. > devm_ioremap_ressource() can only be used if we are 100% sure that this > area of memory is not shared with any other driver. Thanks for the clarification. I think we should stay on the safe side and discard this patch then.