Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753654AbdDKPfE (ORCPT ); Tue, 11 Apr 2017 11:35:04 -0400 Received: from mout.gmx.net ([212.227.17.22]:51281 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753230AbdDKPe7 (ORCPT ); Tue, 11 Apr 2017 11:34:59 -0400 Date: Tue, 11 Apr 2017 17:34:41 +0200 From: Jonathan =?utf-8?Q?Neusch=C3=A4fer?= To: Sean Paul Cc: Jonathan =?utf-8?Q?Neusch=C3=A4fer?= , dri-devel@lists.freedesktop.org, Dave Airlie , linux-kernel@vger.kernel.org Subject: Re: [PATCH] drm/udl: Fix unaligned memory access in udl_render_hline Message-ID: <20170411153441.ccjuq3upwrzjuf6x@latitude> References: <20170407200229.20642-1-j.neuschaefer@gmx.net> <20170411133053.stmwmsmjf7ybq42v@art_vandelay> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5ekrusvctrzvxevx" Content-Disposition: inline In-Reply-To: <20170411133053.stmwmsmjf7ybq42v@art_vandelay> User-Agent: NeoMutt/20170113 (1.7.2) X-Provags-ID: V03:K0:4YHNYtRekLhjN+RtyhIXRROXGwqqw2lmIat2Qtq3dUFGAbQutiZ pTXb0584tPQprT1GvTOCSmLrubBGBl7p/nicboW4VMejJECDEAbWjCOEmG3uu5eMhtBMH73 1hKQpddBqSP1ViCREorwWlQ8fjrRDPr/dhd1Kpb8mfCiMFpD9oNfObJttOCo19iTG5tRJ8P N9u2WweJTZOQViovC2EBQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:FBTl37NF8fU=:ktFjzx+4cS7vcgOhhmXiJ6 HyiTEzjqII86q9Mm3DzeYSDlyOgDyVfjJwoEdmXY+OnRWgAduVLc1I6d+2LwMtVXUAM2r7cnn kMUFb4o9DYeOQ82ziB+UstiIc6iwMHe/SZ4ZIGkqlW0dHDlun3FHEtSR51A21MCCjS5A8If9/ NArLNV7PBTtd1g9S9Dx8boDeI8cEgKxIEWatVK7ur+7btxlv2dIbZlYxD8UvIsVg8q6bHnLl/ C86qxQBPAZe4QpoP5UwWq4xuLzQLTEohOqDLQdUEGfq5BvlMlpXAUnB+OFzIFmyyglb1RxiGW 9nCTDN32tmG+mTmpNKNg8nXghzzd/Vc+bpyPwZo2oJ7uCnsasN/lwqyoNkfwLmsz4E1IosqHw KaFx0oCWTNcWYHhVJc8cx670DV6n62+57i8jqXgthC9yXXhpma5WfzAO/zT1q3nzHu/przHPy QzJ4NEDNufE2E/vXy9HXfP1WlcMgqPjVO8+JS8MhUbY1mxh/9+aCunjEWf2SVjd3xRsiiAhQp vM9rWk4Up0MLUu7tqcW1R/nYwIMwVgQAejHqCXSloak+Pcs7UgW2cMKr8sPiQpLk9m9cHr9yE 1TiTOIoZwpmiyJuJDzR9dI+K+p5i25kNsufw1n860ltG4tXXdqRFHtPOeCxVY3YOmGz7jWyOc Z+dRe4oW7GxWeu2XqhYVDPx/e0sdGCkaWHFzGw0/r3LneMh+Jl0LC1i/pR/CB+5DBd9e8+3Y2 1srLCOqcOLyHlE74Fs5D5U9i4jKIcKom8OT0TpmvLkGMxJXcOZaCPYsunsQ= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1625 Lines: 50 --5ekrusvctrzvxevx Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 11, 2017 at 09:30:53AM -0400, Sean Paul wrote: > On Fri, Apr 07, 2017 at 10:02:29PM +0200, Jonathan Neusch=C3=A4fer wrote: > > On SPARC, the udl driver filled my kernel log with these messages: > >=20 > > [186668.910612] Kernel unaligned access at TPC[76609c] udl_render_hline= +0x13c/0x3a0 > >=20 > > Use put_unaligned_be16 to avoid them. On x86 this results in the same > > code, but on SPARC the compiler emits two single-byte stores. > >=20 >=20 > Pushed to drm-misc-fixes with Dave's IRC Ack. >=20 > Thanks, >=20 > Sean Thanks as well :-) Jonathan --5ekrusvctrzvxevx Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJY7PeIAAoJEAgwRJqO81/bNmMP/0ULgHQFARw87o9pywU4FuNi 6mnxw7hh9vlBu3zpy/2Afz9XMv9WCcCOEwA+9X3eTIBmrR6ndWILoajexhqaEDuH 92SScIlSwvyhUvAaT/YKesfzfQd+3QXkITw4Og9yZAOVjECIx3vee64/7404E5Dc mKxv/YdPOQz9d4fn8ioNB1T2qS6vlRQDwE1gIw2iAYJd/LdUHyhhv3zBbZdA2V+3 K6mVFh6i9Cv44rRqN4JMA0Ba/FESM8YFwR7JbX7Tj70wL9yarOFWlhfAcKObxBsm LvOsgQAVxH0u4/QTsPKspCT6W5qgISn+9I+aG6Kp8ycOwuvHYlqjvhGYcxwWLyM8 KSydAiZ0D4g9NRg8W+Zilmk+LOniKP9j1esrJfb3oIwgzO2SuXByYorjHm59ouoY n2Yw/dzSEWcaOldFPrnoL0IDAQaTfXLgh2Uv65Nasig0rM/nGVEO4Y5xb+VYkjDl lXfDWIiZ59KXJfchZ+9TPqV1RWJXk+9xYHK+hLBOqH4b0lXxBNd/NBA+BKwdgpMm UZ7DyYDDLAwjw/i1YbnXv8HqS3g3hQcLeqIYHCNrGZnl9s0z3208imBmTy0VzE8Y PqU9HXM/eePp6ufH3qSw5aBJiSnsg0d4ExAJc78cV1KRQLMes9zkoGfRu8+3+K35 wafoy+uUuLPefba4WSHy =J6uk -----END PGP SIGNATURE----- --5ekrusvctrzvxevx--