Re: [Qemu-devel] [PATCH for 2.8 v3 1/1] cadence_uart: Check baud rate generator and divider values on migration

2016-12-07 Thread Alistair Francis
On Tue, Dec 6, 2016 at 1:31 AM, Peter Maydell wrote: > On 5 December 2016 at 18:35, Alistair Francis > wrote: >> The Cadence UART device emulator calculates speed by dividing the >> baud rate by a 'baud rate generator' & 'baud rate divider'

Re: [Qemu-devel] [PATCH for 2.8 v3 1/1] cadence_uart: Check baud rate generator and divider values on migration

2016-12-06 Thread Peter Maydell
On 5 December 2016 at 18:35, Alistair Francis wrote: > The Cadence UART device emulator calculates speed by dividing the > baud rate by a 'baud rate generator' & 'baud rate divider' value. > The device specification defines these register values to be > non-zero and

Re: [Qemu-devel] [PATCH for 2.8 v3 1/1] cadence_uart: Check baud rate generator and divider values on migration

2016-12-05 Thread Huawei PSIRT
Dear Alistair francis, As the issue is found by Jiangxin from Huawei test team, could you please change the "Reported-by" to Jiangxin , thank you. And keep Jiangxin in the email loop, thank you. Best regards, Huawei PSIRT -邮件原件- 发件人: Alistair

[Qemu-devel] [PATCH for 2.8 v3 1/1] cadence_uart: Check baud rate generator and divider values on migration

2016-12-05 Thread Alistair Francis
The Cadence UART device emulator calculates speed by dividing the baud rate by a 'baud rate generator' & 'baud rate divider' value. The device specification defines these register values to be non-zero and within certain limits. Checks were recently added when writing to these registers but not