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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EC522C00140 for ; Wed, 24 Aug 2022 06:56:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235256AbiHXG4M (ORCPT ); Wed, 24 Aug 2022 02:56:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235240AbiHXG4I (ORCPT ); Wed, 24 Aug 2022 02:56:08 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06E6285AA1; Tue, 23 Aug 2022 23:56:07 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id ABD7FB82371; Wed, 24 Aug 2022 06:56:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 02A68C433D6; Wed, 24 Aug 2022 06:56:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1661324165; bh=1jtX6ORxPIkayI4jhfqIZ8SoaBPm8JNXwJB+iwVWy7E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TYMW9PgshZgadVjDrUNF/ugumlll+uux2YBXEIh2cIdnM7+jadZraebMQwHPcJuHK Atvjs8bLhf6RQVxZkWuLPLni6KsUwiw5Kd9l5dFgaW0BYcVeYBP68TyIuGE4gGM2uy tTnycXxhA9OUlptt4Yr7BH2F4gGNuw/du04aQ100= Date: Wed, 24 Aug 2022 08:56:02 +0200 From: Greg Kroah-Hartman To: Dongli Zhang Cc: Christoph Hellwig , Robin Murphy , Yu Zhao , stable@vger.kernel.org, Sasha Levin , linux-kernel@vger.kernel.org, iommu@lists.linux.dev Subject: Re: [PATCH 5.19 319/365] swiotlb: panic if nslabs is too small Message-ID: References: <20220823080118.128342613@linuxfoundation.org> <20220823080131.532813281@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 23, 2022 at 10:25:27AM -0700, Dongli Zhang wrote: > Adding Robin, Yu and swiotlb list. > > Hi Greg, > > There is an on-going discussion whether to revert this patch, because it breaks > a corner case in MIPS when many kernel CONFIGs are not enabled (related to PCI > and device). As a result, MIPS pre-allocates only PAGE_SIZE buffer as swiotlb. > > https://lore.kernel.org/all/20220820012031.1285979-1-yuzhao@google.com/ > > However, the core idea of the patch is to panic on purpose if the swiotlb is > configured with <1MB memory, in order to sync with the remap failure handler in > swiotlb_init_remap(). Ok, I've dropped it from the 5.19 queue now. If you want it added to a future kernel release, just resend it. thanks, greg k-h