Message ID | 20230206084020.174506-8-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 C9899C61DA4 for <linux-mm@archiver.kernel.org>; Mon, 6 Feb 2023 08:41:10 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 614A26B0072; Mon, 6 Feb 2023 03:41:10 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 59E0B6B007B; Mon, 6 Feb 2023 03:41:10 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4179D6B007D; Mon, 6 Feb 2023 03:41:10 -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 31DBA6B0072 for <linux-mm@kvack.org>; Mon, 6 Feb 2023 03:41:10 -0500 (EST) Received: from smtpin27.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 0446C140383 for <linux-mm@kvack.org>; Mon, 6 Feb 2023 08:41:09 +0000 (UTC) X-FDA: 80436222300.27.E0A96ED Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by imf27.hostedemail.com (Postfix) with ESMTP id 4D23C40007 for <linux-mm@kvack.org>; Mon, 6 Feb 2023 08:41:08 +0000 (UTC) Authentication-Results: imf27.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=bqEgkJZV; spf=pass (imf27.hostedemail.com: domain of bhe@redhat.com designates 170.10.133.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=1675672868; 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=yf8UeWDRzlFUhfaCSIXW0vSnsYH1u1H+pSaVUFMvrEs=; b=DibjauPNoPIl5g1hnB4DPF21Eee5I9ggAis9T0VoZOUxAKiGAxWXi/aZvKcnH8D94L5mAg 7u9uFku4ku4xptU+/NOooQVJLbUh9YeMg1pZHGSAlnd78LYypahGQdEKENEywk/z1qG530 j4OnZCv1aygfdKUYSOSumSEuoOsEb7o= ARC-Authentication-Results: i=1; imf27.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=bqEgkJZV; spf=pass (imf27.hostedemail.com: domain of bhe@redhat.com designates 170.10.133.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=1675672868; a=rsa-sha256; cv=none; b=kQjT9J3n2V4RnF67N3azcvuHdcPFW53hHyOK6B4c/QR1CTgjiUwIIxm+2JaGWqjnMK2o9v L4jb05Eeytl+yOauQatUwO5CPJnhcUJ3O7KzGpONTdZzAR38b/o310QmAn53XXsOAHZ8Ef E8CiX08nzBIZBCddIeZRG63ipqtA6eY= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1675672867; 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=yf8UeWDRzlFUhfaCSIXW0vSnsYH1u1H+pSaVUFMvrEs=; b=bqEgkJZVIjS17RC1hoxneMtUYn/+8ZsoznL3D3RcKWvMwx+gpaDiRZzp9WZ4H7tkPBFV6a xUMeI7f25XN3Onc6tz5FaMOwMfSe/238C2lChSyQzO/ALoQMI/opXdqfMWtHTohfgQ6KFj f4y/b+KF805Vc19RLka92VgcU5C2nFo= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-128-6zunQOeMP6WEHO3AFKzI_w-1; Mon, 06 Feb 2023 03:41:01 -0500 X-MC-Unique: 6zunQOeMP6WEHO3AFKzI_w-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 54393100F907; Mon, 6 Feb 2023 08:41:01 +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 6B3632166B29; Mon, 6 Feb 2023 08:40:57 +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 7/7] sh: mm: set VM_IOREMAP flag to the vmalloc area Date: Mon, 6 Feb 2023 16:40:20 +0800 Message-Id: <20230206084020.174506-8-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-Rspamd-Queue-Id: 4D23C40007 X-Stat-Signature: jk8sy1z5j7gziu9wm86ihc8tzawqoys9 X-Rspam-User: X-Rspamd-Server: rspam08 X-HE-Tag: 1675672868-504102 X-HE-Meta: U2F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clUAs9PT/VPX2psASqxm6to1p0OQcJrRHCWp0A3/gdNdm3Wi2jGEztFqJjJJzO5ASpCaT/sV7upvVQ4idagike35aUioYATzMgIjlYjjhJ3ub2L2Wdvzo86uFZc7imqFT/u3xlapXLxK7aLdr6PHTDMzyfiND3vuyzLxlSa7xKUQ 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/sh/kernel/cpu/sh4/sq.c b/arch/sh/kernel/cpu/sh4/sq.c index a76b94e41e91..27f2e3da5aa2 100644 --- a/arch/sh/kernel/cpu/sh4/sq.c +++ b/arch/sh/kernel/cpu/sh4/sq.c @@ -103,7 +103,7 @@ static int __sq_remap(struct sq_mapping *map, pgprot_t prot) #if defined(CONFIG_MMU) struct vm_struct *vma; - vma = __get_vm_area_caller(map->size, VM_ALLOC, map->sq_addr, + vma = __get_vm_area_caller(map->size, VM_IOREMAP, map->sq_addr, SQ_ADDRMAX, __builtin_return_address(0)); if (!vma) return -ENOMEM;