From patchwork Mon Jul 27 02:23:43 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Schmitz X-Patchwork-Id: 500190 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 5F7AA140324 for ; Mon, 27 Jul 2015 12:25:10 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=u9aLcE9V; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 397871A1A61 for ; Mon, 27 Jul 2015 12:25:10 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=u9aLcE9V; dkim-atps=neutral X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Received: from mail-ig0-x22a.google.com (mail-ig0-x22a.google.com [IPv6:2607:f8b0:4001:c05::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id CC8251A02C2 for ; Mon, 27 Jul 2015 12:23:46 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=u9aLcE9V; dkim-atps=neutral Received: by igk11 with SMTP id 11so43929748igk.1 for ; Sun, 26 Jul 2015 19:23:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=KfmCNsQrBt5i/iy+YaFhXT4o51zNjM/WmftJUl+Cp0A=; b=u9aLcE9VX35ZEle8EDpsn3Q+6cVuKM0TKqfy3fktFJIIVUcRnM8eyQaOdEmwds4+tu Q3Jx7C+wxbG8a8wwdBXvfKYKjnwilo1ruyfq9pOyjn1gqv5SYnJEhtPo6i5B8F+WEfGu AbU2AAwXU+GkCM1mFGw5fExOXqn5vsQiqaJ1KYLjwXY8A/A4xR2fnU3rBFTQ+vWkYfLn Li7x23BDu0/GWv0LD83LQFs0Io262ov6IymmgufeoWl0+at2ebuRLjWigSUVxrI+VT6c +ZDNYNXQGyAhMyAnEsWdgbCAsAKaBgkd5O7HTCnwiYNANH20mPYzx5pjfQuArg6hGS70 lIUQ== MIME-Version: 1.0 X-Received: by 10.50.30.196 with SMTP id u4mr13729913igh.11.1437963823884; Sun, 26 Jul 2015 19:23:43 -0700 (PDT) Received: by 10.107.174.100 with HTTP; Sun, 26 Jul 2015 19:23:43 -0700 (PDT) In-Reply-To: References: <20150712102527.356151908@telegraphics.com.au> <20150712102528.107134628@telegraphics.com.au> <87d1zwc4dj.fsf@igel.home> <55AF1364.3080701@gmail.com> <20150723092114.GA10989@guido.earth.sol> <20150724190749.GA7529@guido.earth.sol> <55B2DD88.2090804@gmail.com> <55B43196.5@gmail.com> Date: Mon, 27 Jul 2015 14:23:43 +1200 Message-ID: Subject: Re: [RFC v4 03/25] m68k/atari: Move Atari-specific code out of drivers/char/nvram.c From: Michael Schmitz To: Finn Thain X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Linux/m68k , Arnd Bergmann , Greg Kroah-Hartman , Linux Kernel Development , Geert Uytterhoeven , linuxppc-dev Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" Finn, my bad - there is indeed a change in the /proc/driver/nvram output: That video mode is indeed the one set in the NVRAM (by ARAnyM config, if running emulated) Cheers, Michael On Sun, Jul 26, 2015 at 1:19 PM, Finn Thain wrote: > > On Sun, 26 Jul 2015, Michael Schmitz wrote: > >> Hi Finn, >> >> For the sake of completeness: further testing on ARAnyM shows no difference >> between original and patched kernel in the NVRAM proc and diff outputs: >> >> scsi host0: Atari native SCSI, io_port 0x0, n_io_port 0, base 0x0, irq 15, >> can_queue 8, cmd_per_lun 1, sg_tablesize 0, this_id 7, flags { }, options { >> REAL_DMA SUPPORT_TAGS } >> Checksum status : valid >> Boot preference : unspecified >> SCSI arbitration : on >> SCSI host ID : 7 >> OS language : English (US) >> Keyboard language: English (US) >> Date format : DD.MM.YY, 24h clock >> Boot delay : 32s >> Video mode : 4 colors, 40 columns, TV NTSC monitor >> no overscan, compat. mode off >> 00000000 00 00 00 00 00 00 00 00 11 2e 20 01 ff 00 00 3b |.......... ....;| >> 00000010 87 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| >> 00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| >> 00000030 de 21 |.!| >> 00000032 > > I'd expect to see a change in the Video mode above, because of patch 2. > > With 0x3B in byte 15, I'd expect the patched kernel to produce something > similar to Christian's /proc/driver/nvram results. > > -- --- nvram-4.out 2015-07-24 12:32:44.000000000 +1200 +++ nvram-4p2.out 2015-07-27 13:56:06.000000000 +1200 @@ -7,7 +7,7 @@ Keyboard language: English (US) Date format : DD.MM.YY, 24h clock Boot delay : 32s -Video mode : 4 colors, 40 columns, TV NTSC monitor +Video mode : 256 colors, 80 columns, VGA PAL monitor no overscan, compat. mode off 00000000 00 00 00 00 00 00 00 00 11 2e 20 01 ff 00 00 3b |.......... ....;| 00000010 84 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|