Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp7437062ybn; Mon, 30 Sep 2019 13:57:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqwYd+aj+V0pv5kh6vJFUtMK9Bwpq7Vd4ouysTGZMpKpM5NiM9oa/W991sbzTnziyQcX0zm9 X-Received: by 2002:a17:906:e288:: with SMTP id gg8mr20757074ejb.24.1569877038160; Mon, 30 Sep 2019 13:57:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569877038; cv=none; d=google.com; s=arc-20160816; b=vkqzJhwM4CvdsIG2a0ZUACSlsqob+/p9u+KeIHGHON3lvS3cXCao1zoDB+hj2im7YB YtjXGc3CCNUVco6hOouUlEY2AcZ83MJ8wBEAnRKBuylN087w1OnV0u6dTTqhYXnj0mgW Ck/yPZYayN2EzHYfqL/XeeHBxXLgT7Ju3uvjpssfUKuJaJ+PPLYdkZC/Z04ZxLex5MO6 D3cZkYGOHS1XJv3eBJ4UiL86O+E1ZmaMtG2j53Ujday20gzuDwfOeuKwCbOpqhcY5OUm 7ie+s9GHQFPRqfZlmg037mhYlq7suvGHGaAmzi9MGoYe4zGhRUieJvNi7P4BrGASwA6C oxUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:thread-index:thread-topic :content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date; bh=JPkYaRXkPHpmw6fTGsiLMjKkHpgcaz+YwwFcj2LOdzQ=; b=KjuAkryoP4fYU3rdnEhcjVj8wSpgVsqOTVw7hJcYVlNPyitZy+UlYIbTgCmH2x686Q eQ1wvn6v0GP19PDWFmjIJ3bnppdjm7chzWYZCk4rAFCocL81gZY8DGdL2KOzGYrd+oyi 5UXER5D/3MyS0LY/5L/XOR02v8so+QdWpvJaLmAy/ZkQBI5fmEDj/5hF+daoTJ8dIJwT EStbOqu04REK1jkZT88O47pLdU3gejX+0yKGduV/XMm7OCm6FE3CG48V0N183+1puXc6 9DrLe2i5H4lY2rWXMUtEF0rpvMwCIULlFBdHOAzgQ4jCNVwuC2AVRQm+PcO14+uvInU8 HdvA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a24si7627979ejg.127.2019.09.30.13.56.53; Mon, 30 Sep 2019 13:57:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731225AbfI3UzF convert rfc822-to-8bit (ORCPT + 99 others); Mon, 30 Sep 2019 16:55:05 -0400 Received: from lithops.sigma-star.at ([195.201.40.130]:54104 "EHLO lithops.sigma-star.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730539AbfI3UzE (ORCPT ); Mon, 30 Sep 2019 16:55:04 -0400 Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 714A06083139; Mon, 30 Sep 2019 21:39:35 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id NkoqdQgpQWCD; Mon, 30 Sep 2019 21:39:35 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 110CB608313B; Mon, 30 Sep 2019 21:39:35 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id XeFpM0PpcIp7; Mon, 30 Sep 2019 21:39:34 +0200 (CEST) Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lithops.sigma-star.at (Postfix) with ESMTP id BE0706083139; Mon, 30 Sep 2019 21:39:34 +0200 (CEST) Date: Mon, 30 Sep 2019 21:39:34 +0200 (CEST) From: Richard Weinberger To: Kamal Dasu Cc: Boris Brezillon , Kamal Dasu , Brian Norris , Miquel Raynal , David Woodhouse , Marek Vasut , Vignesh Raghavendra , Boris Brezillon , Schrempf Frieder , linux-mtd , bcm-kernel-feedback-list@broadcom.com, linux-kernel Message-ID: <724490481.10665.1569872374621.JavaMail.zimbra@nod.at> In-Reply-To: References: <20190906194719.15761-1-kdasu.kdev@gmail.com> <20190906194719.15761-2-kdasu.kdev@gmail.com> <20190930182458.761e8077@collabora.com> Subject: Re: [PATCH 2/2] mtd: rawnand: use bounce buffer when vmalloced data buf detected MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Originating-IP: [195.201.40.130] X-Mailer: Zimbra 8.8.12_GA_3807 (ZimbraWebClient - FF60 (Linux)/8.8.12_GA_3809) Thread-Topic: rawnand: use bounce buffer when vmalloced data buf detected Thread-Index: 59RFbZHlw9bdW9o2LKfMJ7mOlXE2MQ== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ----- Ursprüngliche Mail ----- > Von: "Kamal Dasu" > This has been observed on MIPS4K and MIPS5K architectures. There is a > check on the controller driver to use pio in such cases. I fear your kernel misses commit: 074a1e1167af ("MIPS: Bounds check virt_addr_valid") Thanks, //richard