Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5348193rwd; Tue, 23 May 2023 23:52:17 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ69RsLvlTbpE//9ekFL4TzLifVvkk1H2NRIopKIU2qNDdsrID2th7cTsi6Uyj47RJPKsl26 X-Received: by 2002:a17:903:32c8:b0:1aa:d235:6dd4 with SMTP id i8-20020a17090332c800b001aad2356dd4mr22776008plr.19.1684911136725; Tue, 23 May 2023 23:52:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684911136; cv=none; d=google.com; s=arc-20160816; b=nGmUEafbh4FVIrnJj+SM7uxPTK49eTv+ucwsOcvvRfrdZpn4OUuQ3Z1XcaIKU3CAPC g4UBh5ffmSktj2WEVqte1oewBN5BjaridjddVZmz6fwXkHbGtTLmiSPA/5wCJSe5ZH2s wiN4COcYT1OHoTeVQNQR0sMjYznd7EhyJYOOKDzGIk7Xom7RLc6sTZYZe9Gkplu9R7yJ p/uMMYr8sWaaYPQKGS3+5qzREAfyZ3pSs+5MoWsUhScZE1WRq1J3b0eXNJa1QOJvJEjx Csf5Ly3gzbxx0GYFFptlKOTn7HZsO+3vlwQMD0yQTovJnOXx/8dVG4N892Xc9Mi/a2DM BV+Q== 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=d42AHTFlpUEOeGU5jPR9+1OGQMHqlZflKmgaMdb+Sas=; b=ySDSVh5iyHRpWpIx3l6kB13bm5zU27yAW6veZ93PUkMleLnHdGAB+nZDkM2lF066MI oIDQf2MGxjXROmAxK5BWULlbYjoJJkr4EL9WG+EDh7HMaEGhqgscvJ+EgOhjMI/rgT8K JdSDGyQS/B74RX3vUpTHKgs/PkiIKnal36RWZEjr+QyXaUfjWXoi2ncNsSkR4HgpfnbQ uFLn6PhXxNqatYdOmnHWnCdIErujccH9O3hEeOFhrvVZAMzw79ccYyrb6dsdfC4a+UqK smGz+OSi8x8p2ggvqGEncASGnHp10LvDLKQ9LlzeNZ3rPWS038FxZ+cbxG/WHkggSJiz 0Zsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=MwxCPps7; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 7-20020a630207000000b005348b454fb8si8003468pgc.780.2023.05.23.23.52.04; Tue, 23 May 2023 23:52:16 -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=@infradead.org header.s=bombadil.20210309 header.b=MwxCPps7; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239656AbjEXGsJ (ORCPT + 99 others); Wed, 24 May 2023 02:48:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239481AbjEXGrd (ORCPT ); Wed, 24 May 2023 02:47:33 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91C7E1BB; Tue, 23 May 2023 23:46:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=d42AHTFlpUEOeGU5jPR9+1OGQMHqlZflKmgaMdb+Sas=; b=MwxCPps7AIYBrNm23ThRPeSFhC C5DcQDk8QDb0J10OGerS6pvVbC2XXSobScNXP3T0adiQL/ZTAYnQKwvhIgUNlHAf0O+pSVLvqihBX 9pPenUhaV/I2af9WBMJ1Qtqh7hPk6P0UENM4y2Z3nKZ0EJXBD+j5LW26GwVC54b2H8Uzr3xkvhucT g2E494/FR4dLUjMH4EA3D6RgblH2jlKE/5rjuHhm1JkSqUxKILGJTMx39Og/kp6hTcsQf5zkueNP9 N+Kc0CaC65olQL5nEcqbGZMJuA5xzcvhJOfFdVbomC6y3LKw5YoxCxqQ+cZkpsENELgyOBvzFnvfJ UOgXaVEw==; Received: from hch by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1q1iGR-00CWbv-2z; Wed, 24 May 2023 06:46:27 +0000 Date: Tue, 23 May 2023 23:46:27 -0700 From: Christoph Hellwig To: Arnaud Pouliquen Cc: Bjorn Andersson , Mathieu Poirier , Jens Wiklander , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, op-tee@lists.trustedfirmware.org Subject: Re: [RFC PATCH 1/4] tee: Re-enable vmalloc page support for shared memory Message-ID: References: <20230523091350.292221-1-arnaud.pouliquen@foss.st.com> <20230523091350.292221-2-arnaud.pouliquen@foss.st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230523091350.292221-2-arnaud.pouliquen@foss.st.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE 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 Tue, May 23, 2023 at 11:13:47AM +0200, Arnaud Pouliquen wrote: > This patch revert commit c83900393aa1 ("tee: Remove vmalloc page support") As per the discussion back then: don't just blindly do the same dumb thing again and fix the interfae to actually pass in a page array, or iov_iter or an actually useful container that fits.