Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp5067477pxv; Wed, 28 Jul 2021 02:13:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyTsQVBsKoDJRiN096AvUs8CmuzCE4DrVQi6dgH/gXeDCLi/Cj3QzgiY41K0TiAfhRZIXEd X-Received: by 2002:a05:6402:1b06:: with SMTP id by6mr32497948edb.95.1627463602010; Wed, 28 Jul 2021 02:13:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627463602; cv=none; d=google.com; s=arc-20160816; b=z5P8Q/TSuDl4prxppGDWBZtePBl9KTKW4D/su/cN4Igc8w9u7yBP/Tiq0E09fBqmXU HSLGzLcDEyQfOi92En1GjqNvQjaplTlL0muWrcVa1jJ9OpIVJWfl5xGXgrp/lFyqnO98 JxG4G+W54PhOoVS8BFgTRwNJru+kbv5NrQK8iu9zXeiIjb37R5jVH+QKWpNFSRU4kVDL fbx94vaRRZjDhH/HYaFiiAsYiXy4N71lpxNZSp3gsVjlKuAdGQpPw3581pvNIq1etMW1 fTgfb5LvEXU+MwVqm1LG7Dhw+otdh+xUcdz+rVOiMV41jffbaoOw8D55yDy5DiIIqmpD G1Ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=ToLxAJ3f/BnSw2T8vTbqktbuZFUdv6nNCBVOPdHCAkg=; b=sYU5D9nYu4RqMQ1cpia/PKk7h4Ew6e8yrOVyAomsBS7dW/cfD+wDxj6vdW6CSI+9jO 7EuzPsK9pS8nBQNCtI2km16vffq+r38AiTiwvsgB6pDBOwElu8uhgMtfe3Y6dSw86FwG InV+IxE3tPU1i3bryyXbceS6pgQk04qtcYgNDEEMAoMmP0xNpvirm9JHKTDHuDzB8E6Y WZghI4yGsi3hUGYJpIze9WUC8o6JA2XAEiy4a6rf3C66YaVY13MoINKmx39x73lk2uRZ EKXBWiTSSjW/dqHBDsmIkDgYAiY2wz0OFawiCQ5UGVghqyXDY6/XBKsJlFUYZgryLliD kHPw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e26si5598192edr.551.2021.07.28.02.12.58; Wed, 28 Jul 2021 02:13:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234963AbhG1JKk (ORCPT + 99 others); Wed, 28 Jul 2021 05:10:40 -0400 Received: from out30-57.freemail.mail.aliyun.com ([115.124.30.57]:47555 "EHLO out30-57.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230520AbhG1JKj (ORCPT ); Wed, 28 Jul 2021 05:10:39 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R401e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04420;MF=xianting.tian@linux.alibaba.com;NM=1;PH=DS;RN=7;SR=0;TI=SMTPD_---0UhEfyol_1627463435; Received: from B-LB6YLVDL-0141.local(mailfrom:xianting.tian@linux.alibaba.com fp:SMTPD_---0UhEfyol_1627463435) by smtp.aliyun-inc.com(127.0.0.1); Wed, 28 Jul 2021 17:10:36 +0800 Subject: Re: [PATCH] virtio-console: avoid DMA from vmalloc area To: Arnd Bergmann Cc: Amit Shah , gregkh , Omar Sandoval , "open list:DRM DRIVER FOR QEMU'S CIRRUS DEVICE" , Linux Kernel Mailing List , linuxppc-dev References: <20210727131217.15092-1-xianting.tian@linux.alibaba.com> <0d03a42b-b46c-408f-17a4-b6c094c0c29e@linux.alibaba.com> From: Xianting Tian Message-ID: Date: Wed, 28 Jul 2021 17:10:35 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 在 2021/7/28 下午5:01, Arnd Bergmann 写道: > On Wed, Jul 28, 2021 at 10:28 AM Xianting Tian > wrote: >> 在 2021/7/28 下午3:25, Arnd Bergmann 写道: >> >> I checked several hvc backends, like drivers/tty/hvc/hvc_riscv_sbi.c, >> drivers/tty/hvc/hvc_iucv.c, drivers/tty/hvc/hvc_rtas.c, they don't use dma. >> >> I not finished all hvc backends check yet. But I think even if all hvc >> backends don't use dma currently, it is still possible that the hvc >> backend using dma will be added in the furture. >> >> So I agree with you it should better be fixed in the hvc framework, >> solve the issue in the first place. > Ok, sounds good to me, no need to check more backends then. > I see the hvc-console driver is listed as 'Odd Fixes' in the maintainer > list, with nobody assigned other than the ppc kernel list (added to Cc). > > Once you come up with a fix in hvc_console.c, please send that to the > tty maintainers, the ppc list and me, and I'll review it. OK, thanks, I will submit the patch ASAP :) > > Arnd