Re: Misleading hint to select CONFIG_PERF_EVENTS if driver sets PERF_PMU_CAP_NO_INTERRUPT

2016-04-27 Thread Lada Trimasova
On Tue, 2016-04-26 at 12:42 +, Vineet Gupta wrote: On Friday 22 April 2016 06:56 PM, Lada Trimasova wrote: I think what we have now is sufficient - but u seem to want a prettier failure output. Anyhow, this print is coming from util/evsel.c: perf_evsel__open_strerror() At the very least you

Re: Misleading hint to select CONFIG_PERF_EVENTS if driver sets PERF_PMU_CAP_NO_INTERRUPT

2016-04-26 Thread Lada Trimasova
I wonder if there are any thoughts about this question. Please treat this as a polite reminder to take a look to this problem. Regards, Lada On Fri, 2016-04-22 at 16:25 +0300, Lada Trimasova wrote: I have a question about user-space perf handling error numbers. The problem is that PMU

Misleading hint to select CONFIG_PERF_EVENTS if driver sets PERF_PMU_CAP_NO_INTERRUPT

2016-04-22 Thread Lada Trimasova
elected or not. I am not sure about the correct way of solving this problem. Maybe I should add some checks of syscalls return values and give user a warning when not PMU interrupts are available.  Any suggestions are appreciated. Regards, Lada Trimasova. _

[PATCH] arc: use ezchip network driver

2016-03-14 Thread Lada Trimasova
Since ezchip network driver was adapted to little endian architecture this patch provides the corresponding arch/arc/{boot/dts,configs}/ updates so we can switch over to this device-model/driver for OSCI platform. Signed-off-by: Lada Trimasova Cc: Alexey Brodkin Cc: Vineet Gupta : --- arch/arc

Re: [PATCH] arc: use little endian accesses

2016-03-10 Thread Lada Trimasova
Hi Vineet, Alexey, Arnd, On Thu, 2016-03-10 at 09:55 +, Vineet Gupta wrote: Can you or Lada provide more details as to exactly what is not working - what driver to be precise 8250 or dw-8250. And where exactly the failure shows up. I want to understand this more Noam told me off list that he h

[PATCH] arc: use little endian accesses

2016-03-09 Thread Lada Trimasova
Memory access primitives should use cpu_to_le16, cpu_to_le32, le16_to_cpu and le32_to_cpu because it is not really guaranteed that drivers handles any ordering themselves. For example, serial port driver doesn't work when kernel is build for arc big endian architecture. Signed-off-by:

[PATCH] Fixing io-pgtable-arm build failure

2016-01-13 Thread Lada Trimasova
rm.c:221:42: error: ‘DMA_TO_DEVICE’ undeclared (first use in this function) dma = dma_map_single(dev, pages, size, DMA_TO_DEVICE); ^ >8 and so on. IOMMU_IO_PGTABLE_LPAE depends on DMA API. So io-pgtable-arm.c should include linux/dma-mapping.h. Signed-off-by: Lada Trimasov