Received: from eggs.gnu.org ([2001:4830:134:3::10]:54424) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzeCE-0007jo-NW for qemu-devel@nongnu.org; Thu, 27 Oct 2016 02:29:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzeCD-0002kj-TR for qemu-devel@nongnu.org; Thu, 27 Oct 2016 02:29:50 -0400 Date: Thu, 27 Oct 2016 11:59:36 +0530 (IST) From: P J P In-Reply-To: Message-ID: References: <1477516945-9891-1-git-send-email-ppandit@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Subject: Re: [Qemu-devel] [PATCH v3] char: cadence: check baud rate generator and divider values List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alistair Francis Cc: Qemu Developers , Peter Maydell , Prasad J Pandit , qemu-arm , "Edgar E . Iglesias" , Huawei PSIRT +-- On Wed, 26 Oct 2016, Alistair Francis wrote --+ | > * Device model for Cadence UART | > + * -> http://www.xilinx.com/support/documentation/user_guides/ug585-Zynq-7000-TRM.pdf | | Nit pick, I would put the URL under the title below. Okay. | > + case R_BRGR: /* Baud rate generator */ | > + s->r[offset] = 0x028B; /* default reset value */ | | Why do we still have the reset value here, I thought we were just | ignoring the invalid writes? You don't need to reset it. Wouldn't that leave the registers undefined ? Thank you. -- Prasad J Pandit / Red Hat Product Security Team 47AF CE69 3A90 54AA 9045 1053 DD13 3D32 FE5B 041F