From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754399AbdBHOlv (ORCPT ); Wed, 8 Feb 2017 09:41:51 -0500 Received: from foss.arm.com ([217.140.101.70]:49912 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753526AbdBHOlu (ORCPT ); Wed, 8 Feb 2017 09:41:50 -0500 From: Marc Zyngier To: Robert Richter Cc: Thomas Gleixner , Jason Cooper , , Subject: Re: [PATCH 1/9] irqchip/gic-v3-its: Fix command buffer allocation In-Reply-To: <20170201173833.12630-2-rrichter@cavium.com> (Robert Richter's message of "Wed, 1 Feb 2017 18:38:25 +0100") Organization: ARM Ltd References: <20170201173833.12630-1-rrichter@cavium.com> <20170201173833.12630-2-rrichter@cavium.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Date: Wed, 08 Feb 2017 14:41:18 +0000 Message-ID: <87tw847njl.fsf@on-the-bus.cambridge.arm.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 01 2017 at 5:38:25 pm GMT, Robert Richter wrote: > The its command buffer must be page aligned, but kzalloc() is not > guaranteed to be (though it is mostly when allocating 64k). Use > __get_free_pages() as this is used for other buffers as well. > > Signed-off-by: Robert Richter I'm still going through this series, but as this is an obvious fix, I've cherry-picked it for 4.11. Thanks, M. -- Jazz is not dead, it just smell funny.