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=-5.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_MUTT autolearn=ham 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 60564C31E45 for ; Thu, 13 Jun 2019 22:51:30 +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 2F7682080A for ; Thu, 13 Jun 2019 22:51:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="HSAMis5R" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2F7682080A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org 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:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=zK9ZqwDQq47lPG7xnLbbVxzldmsLfA/QywZyZt1cjI0=; b=HSAMis5RheD9Wt H6TqpchT4JcYUZ+otiE8jvrLT+LEUJiyCsVd+/cjUDwzucvqP9L4hcuW4AzKBSCaolg9OAkqtVogO kxeUTbgdspj6K1gTZDUs7hSZBu4ftiR5MapE+aRK8iTYqpteoAw3hT6BCFgtSawkNMtELE+ariNMN h8d2qLEGWmB3fjjOIXSDOTx+eabqoGhQGjy4kctHaJC+WiK3c8Lh9QcOKwWhSptxxi3SSlL3xRcaz g4kj/3F0bWBd6pGUmUp7VW/TJDI+hELpzJAxTbotIT6KITSHYLrzrYE3XnG8VItVNOMrfwayycKDG L6pWn89JLGQtUR08WJrw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hbYYz-0002Ip-FS; Thu, 13 Jun 2019 22:51:21 +0000 Received: from mail-qt1-f194.google.com ([209.85.160.194]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hbYYv-0002Hn-FH for linux-arm-kernel@lists.infradead.org; Thu, 13 Jun 2019 22:51:19 +0000 Received: by mail-qt1-f194.google.com with SMTP id z24so328204qtj.10 for ; Thu, 13 Jun 2019 15:51:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=cv40RcWOMVy1JZtFpd3gJTvQihsNZLPm+qc6d4re47Q=; b=olrqsxBAQ+3LP06jYwzqaDJdfbqwXqFfjM+SwUyv7VDjDSW8XGkdvSIF55wRQk8hrb VQ+8Dv/2x1aIXpDqNYyPt809BrBYHFeFZGcUfQRTbDo8Q3pFcR3P7LBqRBx0opqOWHXN scXHdqg9R4XxKhKOqxatN9TmkYy62QPxNjmd+pWWce8Z0e5gx3XvMaM5Y0Co/yhPM1o1 Rl/t7VDHimlqBnHuYJyEXOpB8I2CnctolOrSf5zhe4FQlFsgjAjJe1EUFVc1x4icJgu8 BC0OsLt2vN/sDXG7RmatmW4DEifnmuQEVCGedvermCxWCDjkUZwHNF28SLR1dmUGawYD Kvvw== X-Gm-Message-State: APjAAAU0bxbzqQahIqUe2WSNVz5YlP1OoiqRL7mptHLQRgEsX71APHF9 /kVXU20tnTNEJlbYt1wMzg== X-Google-Smtp-Source: APXvYqzyrbusjb6nMpbIGijvU32NhrU/T6DUb/Ee8K0MWe1C4b1O2CixCC2mnFnW35EKNJT+hN11+g== X-Received: by 2002:a0c:aecd:: with SMTP id n13mr5670753qvd.182.1560466275579; Thu, 13 Jun 2019 15:51:15 -0700 (PDT) Received: from localhost ([64.188.179.243]) by smtp.gmail.com with ESMTPSA id p23sm402566qkm.55.2019.06.13.15.51.14 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 13 Jun 2019 15:51:15 -0700 (PDT) Date: Thu, 13 Jun 2019 16:51:14 -0600 From: Rob Herring To: Stephen Boyd Subject: Re: [RFC/PATCH 1/5] reserved_mem: Add a devm_memremap_reserved_mem() API Message-ID: <20190613225114.GA16158@bogus> References: <20190517164746.110786-1-swboyd@chromium.org> <20190517164746.110786-2-swboyd@chromium.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190517164746.110786-2-swboyd@chromium.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190613_155117_508810_2805912E X-CRM114-Status: GOOD ( 10.57 ) 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: devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, Will Deacon , linux-kernel@vger.kernel.org, Evan Green , Catalin Marinas , Dan Williams , 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 On Fri, 17 May 2019 09:47:42 -0700, Stephen Boyd wrote: > We have a few drivers that need to get a reserved memory region, request > the region, and map the reserved memory with memremap(). Add an API to > do this all in one function call. > > Cc: Evan Green > Cc: Rob Herring > Cc: Bjorn Andersson > Cc: Andy Gross > Cc: Will Deacon > Cc: Catalin Marinas > Cc: Dan Williams > Signed-off-by: Stephen Boyd > --- > drivers/of/of_reserved_mem.c | 45 +++++++++++++++++++++++++++++++++ > include/linux/of_reserved_mem.h | 6 +++++ > 2 files changed, 51 insertions(+) > Reviewed-by: Rob Herring _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel