From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752121AbbIQVl2 (ORCPT ); Thu, 17 Sep 2015 17:41:28 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:52587 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751666AbbIQVl1 (ORCPT ); Thu, 17 Sep 2015 17:41:27 -0400 Date: Thu, 17 Sep 2015 14:41:26 -0700 From: Andrew Morton To: Sowmini Varadhan Cc: linux-kernel@vger.kernel.org, benh@kernel.crashing.org, linux@roeck-us.net, davem@davemloft.net Subject: Re: [PATCH] iommu-common: Do not try to deref a null iommu->lazy_flush() pointer when n < pool->hint Message-Id: <20150917144126.4038bbec95040fc27ce3db88@linux-foundation.org> In-Reply-To: <20150917213213.GE20745@oracle.com> References: <20150917015043.GC13020@oracle.com> <20150917142644.a7a3c272be10280028c5ad3a@linux-foundation.org> <20150917213213.GE20745@oracle.com> X-Mailer: Sylpheed 3.4.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 17 Sep 2015 17:32:13 -0400 Sowmini Varadhan wrote: > On (09/17/15 14:26), Andrew Morton wrote: > > Patch looks good. > > > > But I don't know which kernel versions need the fix. So, when fixing a > > bug please always describe the end-user visible effects of that bug. > > Under what circumstances did your kernel crash? > > > > I had a sparc kernel that was crashing when I was trying to process > some very large perf.data files- the crash happens when the scsi > driver calls into dma_4v_map_sg and thus the iommu_tbl_range_alloc(). Cool, thanks. > Do you need me to respin the patch with the above info in the > commit id? No, that's fine. I updated the changelog, added cc:stable and shall send it upstream next week.