Message ID | 20230201091339.61761-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 AD7EFC636D4 for <linux-mm@archiver.kernel.org>; Wed, 1 Feb 2023 09:14:25 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 4A69A6B0075; Wed, 1 Feb 2023 04:14:25 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 457026B0078; Wed, 1 Feb 2023 04:14:25 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 31F2E6B007B; Wed, 1 Feb 2023 04:14:25 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 24C0E6B0075 for <linux-mm@kvack.org>; Wed, 1 Feb 2023 04:14:25 -0500 (EST) Received: from smtpin06.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id C69F5120450 for <linux-mm@kvack.org>; Wed, 1 Feb 2023 09:14:24 +0000 (UTC) X-FDA: 80418162048.06.49E06FB 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 1FCB4180004 for <linux-mm@kvack.org>; Wed, 1 Feb 2023 09:14:22 +0000 (UTC) Authentication-Results: imf24.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=P8E1Iw1W; 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=1675242863; 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=2XftWSag3AOxFG7D+YRIAm4JqWOUmhJLmuRRiXb827cM2sk2SmVvJmGw6ttbFnEvEEalE1 Hc0LofJqp/lZhjZZo8CUx1xVwV9hdCjkvOWn4kE7cByUWZTWVgss5JOAni9OZ04rm1xXEn A/ikk0ZHrwr8VzJGFkJ27RTNibNTlT4= ARC-Authentication-Results: i=1; imf24.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=P8E1Iw1W; 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=1675242863; a=rsa-sha256; cv=none; b=kMkqzjXHjJNonG9irur0gMN9r07W80LmDJd0W0p55HJR0sT4fGxf3T3pleZkWX/vTk2xH5 LMRAepVR37dDjHjU9Mh8JkGjjaUvCH65lCQ3p0GZaNgSDgvkYC4Jr3dYwpxK/ooB0TfylB DjgPsA5gcPjDOgb6KZUF1h1MZFQHMf4= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1675242862; 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=P8E1Iw1WfM0j/zlNhh1MzA6bBCZWhXmzGul8a6GcxbWBMa8huSWaaG3VHNGAoR5+WGwNNz /OjmTKgW+tNrvgNHt0DiuiSbhNeBUHyOP7dmV2ZnGCfqpV6GvLFhW/2L5lV7NqYYxSEaft We+3w26eg09vyvK+FMRgB3jBQaXKPMY= 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-281-4ImjqBMNPVqQe_n0ixTitA-1; Wed, 01 Feb 2023 04:14:18 -0500 X-MC-Unique: 4ImjqBMNPVqQe_n0ixTitA-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 8DE4B29AB3F4; Wed, 1 Feb 2023 09:14:17 +0000 (UTC) Received: from MiWiFi-R3L-srv.redhat.com (ovpn-13-89.pek2.redhat.com [10.72.13.89]) by smtp.corp.redhat.com (Postfix) with ESMTP id 23080492C3E; Wed, 1 Feb 2023 09:14:12 +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, willy@infradead.org, hch@infradead.org, error27@gmail.com, Baoquan He <bhe@redhat.com> Subject: [PATCH v4 6/7] powerpc: mm: add VM_IOREMAP flag to the vmalloc area Date: Wed, 1 Feb 2023 17:13:38 +0800 Message-Id: <20230201091339.61761-7-bhe@redhat.com> In-Reply-To: <20230201091339.61761-1-bhe@redhat.com> References: <20230201091339.61761-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.10 X-Rspam-User: X-Rspamd-Server: rspam03 X-Stat-Signature: 8oao56st9gzz7d1gjyjgo9csdybs6p87 X-Rspamd-Queue-Id: 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bBC27UHPtmiMvLiFW2nMpoYvG05ySvwG8hBDfP4GStPU7ZGOK6qDLkEmxgc8b21CSzBkLPcbYe4kGXhNFQdlmN710WeyIqHd527QBen4EOquuz5wl7sT8MKOubXMsa+6s+jnhXo/x5aQRO1X1vHQE6PuGGSW6E7HtFV4xkJpxyl6ZdfnNrha3o4wD260rteH6cMXCmGCzuyFdjGlFUl2wZjY= 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;