From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754520AbdA0IPm convert rfc822-to-8bit (ORCPT ); Fri, 27 Jan 2017 03:15:42 -0500 Received: from mx1.redhat.com ([209.132.183.28]:56274 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754283AbdA0IPj (ORCPT ); Fri, 27 Jan 2017 03:15:39 -0500 Message-ID: <1485504926.19754.23.camel@redhat.com> Subject: Re: [PATCH] virtio-gpu: disable VIRGL with BE kernel From: Gerd Hoffmann To: Laurent Vivier Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, virtualization@lists.linux-foundation.org Date: Fri, 27 Jan 2017 09:15:26 +0100 In-Reply-To: <1485263549-28743-1-git-send-email-lvivier@redhat.com> References: <1485263549-28743-1-git-send-email-lvivier@redhat.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Mime-Version: 1.0 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Fri, 27 Jan 2017 08:15:30 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Di, 2017-01-24 at 14:12 +0100, Laurent Vivier wrote: > VIRTIO_GPU_F_VIRGL is added in features list only > for LE kernel, so we must check for it only on LE kernel, > otherwise virtio_has_feature() calls BUG() and > crashes the kernel. > > Suggested-by: Gerd Hoffmann > Signed-off-by: Laurent Vivier Added to drm-qemu branch. thanks, Gerd