Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2474595rwb; Thu, 29 Sep 2022 10:37:00 -0700 (PDT) X-Google-Smtp-Source: AMsMyM61lU04v7KrilKwACmB0FqK1xOx9wzqtAdcOOdrAh4GIalo3yeYz3UBUmI5QtNl/z/vAIpB X-Received: by 2002:a17:903:2347:b0:178:1046:929e with SMTP id c7-20020a170903234700b001781046929emr4562886plh.110.1664473020151; Thu, 29 Sep 2022 10:37:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664473020; cv=none; d=google.com; s=arc-20160816; b=gUsNvT8m7C+/J5qiu/68HYpoc7slwO2y5jE48DoZPZTnMy4Xl/7Xkkh9um9GBWECbF Jap9XjsyT4kGXyj+NA8LgD928N+hUU5a/CAkyIsoMLLRrXLELExZff2LiMJDYXF0CPpx lRDw8rKwTsXdoMUp5fpK/HlMQLWGMFENi7PTmjF++ePgFqVR38Y1+6PKZMi0YnOFp9Jj 7jHJyCUldK1fxIYVGOf7J9clp2Hg6f8pYPjD7OtK5q1HTkTcFjku54XNL7zYG2xmDTux 3++FyU+1LD8/LHyYr0fsIJ5w8HiqIQqUb4OTwL3/UWMA+hrYC03rGrbMopZbQg0pF599 W+qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=t7NfSDb26KMo9kFa8PLOg7O/yTpfe7AkryUQVQua6D0=; b=ePJHxofWYgrjSpTMlTASrY4qtoaAxB/HwEank0YK8+a9c5G76crusp+xFeR4mOiWf8 bBzyQzfw6EAAUzEE/aLF57VBH9TiQ5Wb4QnRzt2JeDzSBuVI9beUrR+8Qoy/ruGk633u Urf2QBBGjqosp38ptVL/K+XoNOPNLhLhjzCjQq4Logp1JBrA9zTPYfOf6QO0mw27IcKa 8QK4TN4zipE3B5yAqSAjuFq7zF5byhKfTG7fyL8Vm3pmYF6G0eeJMfvc6a6WTnUggmng XZTxLS3dSeB1irOk/5lf/4Cx28nkJj7jz5MB5AlhDiqsuVxZNcWTUiT21ZKboGjGPkuK sFEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NF0XqcwG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ng17-20020a17090b1a9100b00203917479dcsi7178548pjb.107.2022.09.29.10.36.48; Thu, 29 Sep 2022 10:37:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NF0XqcwG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235831AbiI2Qhk (ORCPT + 99 others); Thu, 29 Sep 2022 12:37:40 -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: X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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.