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 16B28C4332F for ; Thu, 29 Sep 2022 16:37:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235858AbiI2Qhl (ORCPT ); Thu, 29 Sep 2022 12:37:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235742AbiI2Qhc (ORCPT ); Thu, 29 Sep 2022 12:37:32 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 909AD14FE3C; Thu, 29 Sep 2022 09:37:28 -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 384F8B8252B; Thu, 29 Sep 2022 16:37:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 50188C433C1; Thu, 29 Sep 2022 16:37:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664469446; bh=hzaL69lrZXN9qsUmhHjQ061m+bkJjCOUB4MV0xP7wCs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NF0XqcwGK/lIgQ/kE2OUjjjes4BzMsQnCzlQ5YRZcpgFvi0brjsfadZ7Hq/r7EtaW heDcFKfzGdZmNan1XFC1csss5Ht7wzgbAWAarPn/phu38MbsE/nuVQf8h8PvzKW/tI Pi68pDwViXBSctMYtvHBsFKAy/2TmP6UuIJ5KCbZp0IkBiCMWAVYIDVJcRX9hwCeor s8HkEsNaUSugaZdfNa/4xZ4nY9W4K+CmQYD6vtmlJpYDwGsoY2wXqbHBnKc2CUdB28 kHMSri3CwFUrS5Wm7mmnzJ0mRNL6thMrkm+Q9iWSbhqxXISE/VL743etQ7SAGxYSwT AOyvtOIvp26LQ== Date: Thu, 29 Sep 2022 10:37:22 -0600 From: Keith Busch To: Maxim Levitsky Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Christoph Hellwig , qemu-devel@nongnu.org, kvm@vger.kernel.org, Kevin Wolf Subject: Re: Commit 'iomap: add support for dma aligned direct-io' causes qemu/KVM boot failures Message-ID: References: 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 Thu, Sep 29, 2022 at 07:16:29PM +0300, Maxim Levitsky wrote: > On Thu, 2022-09-29 at 09:48 -0600, Keith Busch wrote: > > I am aware, and I've submitted the fix to qemu here: > > > > https://lists.nongnu.org/archive/html/qemu-block/2022-09/msg00398.html > > > > > Thanks for quick response! > > Question is though, isn't this an kernel ABI breakage? I don't think so. Memory alignment and length granularity are two completely different concepts. If anything, the kernel's ABI had been that the length requirement was also required for the memory alignment, not the other way around. That usage will continue working with this kernel patch.