Message ID | 20230206084020.174506-7-bhe@redhat.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id BB351C61DA4 for <linux-mm@archiver.kernel.org>; Mon, 6 Feb 2023 08:41:04 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 59F866B0078; Mon, 6 Feb 2023 03:41:04 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 528DD6B007B; Mon, 6 Feb 2023 03:41:04 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3A3226B007D; Mon, 6 Feb 2023 03:41:04 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 242226B0078 for <linux-mm@kvack.org>; Mon, 6 Feb 2023 03:41:04 -0500 (EST) Received: from smtpin09.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id F3AEA1C63FE for <linux-mm@kvack.org>; Mon, 6 Feb 2023 08:41:03 +0000 (UTC) X-FDA: 80436222048.09.256FEB3 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by imf24.hostedemail.com (Postfix) with ESMTP id 30CBD180012 for <linux-mm@kvack.org>; Mon, 6 Feb 2023 08:41:01 +0000 (UTC) Authentication-Results: imf24.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=DJqzE4cZ; spf=pass (imf24.hostedemail.com: domain of bhe@redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=bhe@redhat.com; dmarc=pass (policy=none) header.from=redhat.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1675672862; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=lNZtN3K6Lqx2kVVKvoFNyaccpQbarea9cnt235tEpuI=; b=BKRIdbNCofANrOe8cqTCfMey9FnJJCi+YxhjIjFiqoh0DidVKviXxK0ReJUjZMPOqBGnYW 6J7ohfNJf2/8DlYpiJxXuWaFdKNKuwtZAp9a9FIJ03s7HCI+9wz1GlnXDS5P0uZjl0KPSl f27AUtJdngnuOYiaL5llkIvuOog3frk= ARC-Authentication-Results: i=1; imf24.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=DJqzE4cZ; spf=pass (imf24.hostedemail.com: domain of bhe@redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=bhe@redhat.com; dmarc=pass (policy=none) header.from=redhat.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1675672862; a=rsa-sha256; cv=none; b=WIpoHsaXS/8/IGO2EV0+eBqeza6sPBFuz3DJEq4fjS58sg4jWbzjG3HH3Q8BZywZwSb61X +f6un/LRf07oyDrihG71YNDR4zVbnIJp7omr53WPkZyWWDDYNch8Xtb20aaB2pBkuX/ien WRx6cosidODxPo4Jguc+1pbDYjm3tJ4= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1675672861; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lNZtN3K6Lqx2kVVKvoFNyaccpQbarea9cnt235tEpuI=; b=DJqzE4cZugChgPtbOZJGefI7qSil3hiuh34z+9SaQyB56fvDVxDm2d+n0MYUNQIwL07n08 bUNuWvyG44RYyI0Dxixf21ycbq2l1rkb5SElyv+rWsrOJ/2ioaBEvUKOJu7PNfQTHoXtKD EYEFScLS8Z8vrQsPcgSmnget0xnsw14= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-491-Ny2Zzr1OOLWi1hrheDXFew-1; Mon, 06 Feb 2023 03:40:57 -0500 X-MC-Unique: Ny2Zzr1OOLWi1hrheDXFew-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id A3AE73C025BC; Mon, 6 Feb 2023 08:40:56 +0000 (UTC) Received: from MiWiFi-R3L-srv.redhat.com (ovpn-12-71.pek2.redhat.com [10.72.12.71]) by smtp.corp.redhat.com (Postfix) with ESMTP id CAA0C2166B29; Mon, 6 Feb 2023 08:40:52 +0000 (UTC) From: Baoquan He <bhe@redhat.com> To: linux-kernel@vger.kernel.org Cc: linux-mm@kvack.org, akpm@linux-foundation.org, stephen.s.brennan@oracle.com, urezki@gmail.com, lstoakes@gmail.com, error27@gmail.com, Baoquan He <bhe@redhat.com> Subject: [PATCH v5 6/7] powerpc: mm: add VM_IOREMAP flag to the vmalloc area Date: Mon, 6 Feb 2023 16:40:19 +0800 Message-Id: <20230206084020.174506-7-bhe@redhat.com> In-Reply-To: <20230206084020.174506-1-bhe@redhat.com> References: <20230206084020.174506-1-bhe@redhat.com> MIME-Version: 1.0 Content-type: text/plain Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.1 on 10.11.54.6 X-Stat-Signature: 3e8fpumt5ga3cm3suj6w6tb1aa67iidh X-Rspam-User: X-Rspamd-Queue-Id: 30CBD180012 X-Rspamd-Server: rspam06 X-HE-Tag: 1675672861-726367 X-HE-Meta: U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5RMCaqLcACGVlWIrpGJIbqJN0ZtOjDDxYTK0IQNUF2dOOHx/Awjel3CkyDXHHEZIl4PuaeHe3cKhDeZ7f0HuhVfrSWoXF/4Yks8VNK+xRUEaWZcEzAlTQng24ItLCExtm6AS5q9g/Vpm5RiJoLXnr8GbCCBRYlex5UEqXJ8MeaDec X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
mm/vmalloc.c: allow vread() to read out vm_map_ram areas
|
expand
|
diff --git a/arch/powerpc/kernel/pci_64.c b/arch/powerpc/kernel/pci_64.c index 0c7cfb9fab04..fd42059ae2a5 100644 --- a/arch/powerpc/kernel/pci_64.c +++ b/arch/powerpc/kernel/pci_64.c @@ -132,7 +132,7 @@ void __iomem *ioremap_phb(phys_addr_t paddr, unsigned long size) * address decoding but I'd rather not deal with those outside of the * reserved 64K legacy region. */ - area = __get_vm_area_caller(size, 0, PHB_IO_BASE, PHB_IO_END, + area = __get_vm_area_caller(size, VM_IOREMAP, PHB_IO_BASE, PHB_IO_END, __builtin_return_address(0)); if (!area) return NULL;