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=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS 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 B805FC43387 for ; Fri, 11 Jan 2019 01:49:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8E9A921841 for ; Fri, 11 Jan 2019 01:49:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729538AbfAKBtd (ORCPT ); Thu, 10 Jan 2019 20:49:33 -0500 Received: from mail1.windriver.com ([147.11.146.13]:64856 "EHLO mail1.windriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727750AbfAKBtd (ORCPT ); Thu, 10 Jan 2019 20:49:33 -0500 Received: from ALA-HCA.corp.ad.wrs.com ([147.11.189.40]) by mail1.windriver.com (8.15.2/8.15.1) with ESMTPS id x0B1n8eS019112 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 10 Jan 2019 17:49:08 -0800 (PST) Received: from [128.224.162.180] (128.224.162.180) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 10 Jan 2019 17:49:07 -0800 Subject: Re: [PATCH v2] kernel/dma: Fix panic caused by passing swiotlb to command line To: , Christoph Hellwig CC: Konrad Rzeszutek Wilk , , , , References: <1543832571-121638-1-git-send-email-zhe.he@windriver.com> <20190107090702.GA14033@lst.de> <1cef7480-0838-c044-9bca-9b7adacb0f17@windriver.com> From: He Zhe Message-ID: Date: Fri, 11 Jan 2019 09:49:03 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <1cef7480-0838-c044-9bca-9b7adacb0f17@windriver.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [128.224.162.180] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/11/19 9:46 AM, He Zhe wrote: > > On 1/11/19 1:27 AM, Konrad Rzeszutek Wilk wrote: >> Let's skip it. There was another patch that would allocate a default 4MB size if it there was an misue of swiotlb parameters. > But this patch mainly fixes a crash. Could you please point me to the patch you mentioned? And the v2 is modified according to your suggestion. Zhe > > Thanks, > Zhe > >> >> >> On Mon, Jan 7, 2019, 4:07 AM Christoph Hellwig wrote: >> >> On Mon, Jan 07, 2019 at 04:46:51PM +0800, He Zhe wrote: >> > Kindly ping. >> >> Konrad, I'll pick this up through the DMA mapping tree unless you >> protest in the next few days. >> >