[Bug 1851972] [NEW] pc-q35-4.1 and AMD Navi 5700/XT incompatible

2019-11-09 Thread Marshall Porter
Public bug reported: Hello, I am not sure if this qualifies as a "bug"; it is be more of an unknown issue with default settings. However, since the default value of q35 default_kernel_irqchip_split was changed seemingly due to similar user feedback, I thought this was important to share.. AMD Na

Looking for issues/features for my first contribution

2019-11-09 Thread Aleksandar Markovic
On Saturday, November 9, 2019, Rajath Shashidhara wrote: > > > On 11/9/19 1:46 PM, Aleksandar Markovic wrote: > > > > > > > Hi, Rajath. > > > > No, it doesn't. Linux kernel has a driver for DS3231. Take a closer look. > > Kernel driver found here: > https://elixir.bootlin.com/linux/v5.4-rc6/sourc

Re: Looking for issues/features for my first contribution

2019-11-09 Thread Rajath Shashidhara
On 11/9/19 1:46 PM, Aleksandar Markovic wrote: > > > Hi, Rajath. > > No, it doesn't. Linux kernel has a driver for DS3231. Take a closer look. Kernel driver found here: https://elixir.bootlin.com/linux/v5.4-rc6/source/drivers/rtc/rtc-ds3232.c did register NVMEM of 236 bytes with the kernel.

Re: Looking for issues/features for my first contribution

2019-11-09 Thread Aleksandar Markovic
On Saturday, November 9, 2019, Peter Maydell wrote: > On Fri, 8 Nov 2019 at 19:32, Aleksandar Markovic > wrote: > > > > > [a] Is there any particular reason that you picked DS3231 ? Linux > kernel > > > has drivers for DS3232/34 only [1]. I did read the datasheets of both > > > 3232 & 3231 and f

Re: Looking for issues/features for my first contribution

2019-11-09 Thread Aleksandar Markovic
On Friday, November 8, 2019, Rajath Shashidhara wrote: > > On 07-11-2019 07:33, Aleksandar Markovic wrote: > >> >> I did a quick Google search on datasheets of existing RTC >> implemtations, and the result is: >> >> DS1338: https://datasheets.maximintegrated.com/en/ds/DS1338-DS1338Z.pdf >> M41T80

Re: [PATCH v1 0/2] s390x/cpumodel: Introduce "best" model variants

2019-11-09 Thread Peter Maydell
On Fri, 8 Nov 2019 at 19:11, Eduardo Habkost wrote: > > On Fri, Nov 08, 2019 at 01:02:28PM +, Peter Maydell wrote: > > On Fri, 8 Nov 2019 at 12:46, David Hildenbrand wrote: > > > There is a small but important difference between "max"/"host" and > > > "best". Max really means "all features",

Re: Looking for issues/features for my first contribution

2019-11-09 Thread Peter Maydell
On Fri, 8 Nov 2019 at 19:32, Aleksandar Markovic wrote: > > > [a] Is there any particular reason that you picked DS3231 ? Linux kernel > > has drivers for DS3232/34 only [1]. I did read the datasheets of both > > 3232 & 3231 and found that they are quite similar except for the 236 > > bytes of SRA

Re: [PATCH v2 1/3] device_tree: Add a helper function for string arrays

2019-11-09 Thread Peter Maydell
On Fri, 8 Nov 2019 at 19:48, Palmer Dabbelt wrote: > > The device tree format allows for arrays of strings, which are encoded > with '\0's inside regular strings. These are ugly to represent in C, so > the helper function represents them as strings with internal '\0's that > are terminated with a

Re: [PATCH v2 2/3] ARM/virt: Use fdt_setprop_strings()

2019-11-09 Thread Peter Maydell
On Fri, 8 Nov 2019 at 19:48, Palmer Dabbelt wrote: > > This new helper function encodes the idiom used by the ARM virt board to > set a string array. I don't currently have a working ARM userspace, so I > haven't tested > this, but I made the helper function because I wanted to use it for the >

[Bug 1851939] [NEW] RISC-V mstatus TSR bit not correctly implemented

2019-11-09 Thread tm
Public bug reported: Hi, since qemu 4.1.0 the TSR bit in mstatus register is supported. But it does not allow for executing sret in m-mode. >From the RISC-V specifications: "When TSR=1, attempts to execute SRET while executing in S-mode will raise an illegal instruction exception. When TSR=0, t

Re: guest / host buffer sharing ...

2019-11-09 Thread Tomasz Figa
On Sat, Nov 9, 2019 at 9:08 PM Stefan Hajnoczi wrote: > > On Sat, Nov 9, 2019 at 12:17 PM Tomasz Figa wrote: > > On Sat, Nov 9, 2019 at 7:12 PM Stefan Hajnoczi wrote: > > > On Sat, Nov 9, 2019 at 2:41 AM Stéphane Marchesin > > > wrote: > > > > On Thu, Nov 7, 2019 at 11:35 PM Stefan Hajnoczi

Re: guest / host buffer sharing ...

2019-11-09 Thread Tomasz Figa
On Sat, Nov 9, 2019 at 7:12 PM Stefan Hajnoczi wrote: > > On Sat, Nov 9, 2019 at 2:41 AM Stéphane Marchesin > wrote: > > > > On Thu, Nov 7, 2019 at 11:35 PM Stefan Hajnoczi wrote: > > > > > > On Fri, Nov 8, 2019 at 8:22 AM Gerd Hoffmann wrote: > > > > > > Adding a list of common properties to

Re: guest / host buffer sharing ...

2019-11-09 Thread Stefan Hajnoczi
On Sat, Nov 9, 2019 at 12:17 PM Tomasz Figa wrote: > On Sat, Nov 9, 2019 at 7:12 PM Stefan Hajnoczi wrote: > > On Sat, Nov 9, 2019 at 2:41 AM Stéphane Marchesin > > wrote: > > > On Thu, Nov 7, 2019 at 11:35 PM Stefan Hajnoczi > > > wrote: > > > > On Fri, Nov 8, 2019 at 8:22 AM Gerd Hoffmann

Re: guest / host buffer sharing ...

2019-11-09 Thread Stefan Hajnoczi
On Sat, Nov 9, 2019 at 2:41 AM Stéphane Marchesin wrote: > > On Thu, Nov 7, 2019 at 11:35 PM Stefan Hajnoczi wrote: > > > > On Fri, Nov 8, 2019 at 8:22 AM Gerd Hoffmann wrote: > > > > > Adding a list of common properties to the spec certainly makes sense, > > > > > so everybody uses the same nam