<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/drivers/vme, branch v4.4</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v4.4</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v4.4'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2015-11-05T06:15:15Z</updated>
<entry>
<title>Merge tag 'char-misc-4.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc</title>
<updated>2015-11-05T06:15:15Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2015-11-05T06:15:15Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=8e483ed1342a4ea45b70f0f33ac54eff7a33d918'/>
<id>urn:sha1:8e483ed1342a4ea45b70f0f33ac54eff7a33d918</id>
<content type='text'>
Pull char/misc driver updates from Greg KH:
 "Here is the big char/misc driver update for 4.4-rc1.  Lots of
  different driver and subsystem updates, hwtracing being the largest
  with the addition of some new platforms that are now supported.  Full
  details in the shortlog.

  All of these have been in linux-next for a long time with no reported
  issues"

* tag 'char-misc-4.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (181 commits)
  fpga: socfpga: Fix check of return value of devm_request_irq
  lkdtm: fix ACCESS_USERSPACE test
  mcb: Destroy IDA on module unload
  mcb: Do not return zero on error path in mcb_pci_probe()
  mei: bus: set the device name before running fixup
  mei: bus: use correct lock ordering
  mei: Fix debugfs filename in error output
  char: ipmi: ipmi_ssif: Replace timeval with timespec64
  fpga: zynq-fpga: Fix issue with drvdata being overwritten.
  fpga manager: remove unnecessary null pointer checks
  fpga manager: ensure lifetime with of_fpga_mgr_get
  fpga: zynq-fpga: Change fw format to handle bin instead of bit.
  fpga: zynq-fpga: Fix unbalanced clock handling
  misc: sram: partition base address belongs to __iomem space
  coresight: etm3x: adding documentation for sysFS's cpu interface
  vme: 8-bit status/id takes 256 values, not 255
  fpga manager: Adding FPGA Manager support for Xilinx Zynq 7000
  ARM: zynq: dt: Updated devicetree for Zynq 7000 platform.
  ARM: dt: fpga: Added binding docs for Xilinx Zynq FPGA manager.
  ver_linux: proc/modules, limit text processing to 'sed'
  ...
</content>
</entry>
<entry>
<title>vme: 8-bit status/id takes 256 values, not 255</title>
<updated>2015-10-18T05:03:00Z</updated>
<author>
<name>Dmitry Kalinkin</name>
<email>dmitry.kalinkin@gmail.com</email>
</author>
<published>2015-10-10T22:00:58Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=ad1bfe410e91189522514ea784668dc75a4e64c4'/>
<id>urn:sha1:ad1bfe410e91189522514ea784668dc75a4e64c4</id>
<content type='text'>
Fixes an off by one array size.

Signed-off-by: Dmitry Kalinkin &lt;dmitry.kalinkin@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>vme: tsi148: silence uninitialized variable warning</title>
<updated>2015-10-05T09:59:34Z</updated>
<author>
<name>Dmitry Kalinkin</name>
<email>dmitry.kalinkin@gmail.com</email>
</author>
<published>2015-10-05T03:59:17Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=d3337eb1e113bed287b58677e755c807be88d507'/>
<id>urn:sha1:d3337eb1e113bed287b58677e755c807be88d507</id>
<content type='text'>
The warning is a false positive.

drivers/vme/bridges/vme_tsi148.c: In function 'tsi148_master_write':
drivers/vme/bridges/vme_tsi148.c:1358:31: warning: 'handler' may be used uninitialized in this function [-Wmaybe-uninitialized]
   vme_unregister_error_handler(handler);
                               ^
drivers/vme/bridges/vme_tsi148.c: In function 'tsi148_master_read':
drivers/vme/bridges/vme_tsi148.c:1260:31: warning: 'handler' may be used uninitialized in this function [-Wmaybe-uninitialized]
   vme_unregister_error_handler(handler);
                               ^

Fixes: 0b0496625715 ("vme: change bus error handling scheme")
Signed-off-by: Dmitry Kalinkin &lt;dmitry.kalinkin@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>vme: print unhandled VME access errors</title>
<updated>2015-10-04T18:50:57Z</updated>
<author>
<name>Dmitry Kalinkin</name>
<email>dmitry.kalinkin@gmail.com</email>
</author>
<published>2015-09-17T23:01:45Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=448535a35010253f21ed913a05abe3d0adb47743'/>
<id>urn:sha1:448535a35010253f21ed913a05abe3d0adb47743</id>
<content type='text'>
This will enable error messages for accesses done through mmap.

Signed-off-by: Dmitry Kalinkin &lt;dmitry.kalinkin@gmail.com&gt;
Acked-by: Martyn Welch &lt;martyn@welchs.me.uk&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>vme: change bus error handling scheme</title>
<updated>2015-10-04T18:50:57Z</updated>
<author>
<name>Dmitry Kalinkin</name>
<email>dmitry.kalinkin@gmail.com</email>
</author>
<published>2015-09-17T23:01:44Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=0b0496625715374c7d0b747268c11528e8af32a3'/>
<id>urn:sha1:0b0496625715374c7d0b747268c11528e8af32a3</id>
<content type='text'>
The current VME bus error handler adds errors to the bridge error list.
vme_master_{read,write} then traverses that list to look for relevant
errors.

Such scheme didn't work well for accesses going through vme_master_mmap
because they would also allocate a vme_bus_error, but have no way to do
vme_clear_errors call to free that memory.

This changes the error handling process to be other way around: now
vme_master_{read,write} defines a window in VME address space that will
catch possible errors.  VME bus error interrupt only traverses these
windows and marks those that had errors in them.

Signed-off-by: Dmitry Kalinkin &lt;dmitry.kalinkin@gmail.com&gt;
Cc: Igor Alekseev &lt;igor.alekseev@itep.ru&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>vme: include address space in error filtering</title>
<updated>2015-10-04T18:50:57Z</updated>
<author>
<name>Dmitry Kalinkin</name>
<email>dmitry.kalinkin@gmail.com</email>
</author>
<published>2015-09-17T23:01:43Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=472f16f33c7d53515af83c805d4babd8a6c24a19'/>
<id>urn:sha1:472f16f33c7d53515af83c805d4babd8a6c24a19</id>
<content type='text'>
Also changes vme_bus_error_handler to take generic address modifier code
instead of raw contents of a device-specific attribute register.

Signed-off-by: Dmitry Kalinkin &lt;dmitry.kalinkin@gmail.com&gt;
Cc: Igor Alekseev &lt;igor.alekseev@itep.ru&gt;
Acked-by: Martyn Welch &lt;martyn@welchs.me.uk&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>vme: move tsi148 error handling into VME subsystem</title>
<updated>2015-10-04T18:50:57Z</updated>
<author>
<name>Dmitry Kalinkin</name>
<email>dmitry.kalinkin@gmail.com</email>
</author>
<published>2015-09-17T23:01:42Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=e2c6393fda98dde5534dd6f83bd15f76abed6555'/>
<id>urn:sha1:e2c6393fda98dde5534dd6f83bd15f76abed6555</id>
<content type='text'>
Error handling code found in tsi148 is not device specific. In fact it
already relies on shared vme_bus_error struct and vme_bridge.vme_errors
field. The other bridge driver could reuse this code if it is shared.

This introduces a slight behavior change: vme error message won't be
triggered in a rare case when err_chk=1 and kmalloc fails.

Signed-off-by: Dmitry Kalinkin &lt;dmitry.kalinkin@gmail.com&gt;
Cc: Igor Alekseev &lt;igor.alekseev@itep.ru&gt;
Acked-by: Martyn Welch &lt;martyn@welchs.me.uk&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>vme: lower alignment requirement in pci bridge drivers</title>
<updated>2015-10-04T18:50:05Z</updated>
<author>
<name>Dmitry Kalinkin</name>
<email>dmitry.kalinkin@gmail.com</email>
</author>
<published>2015-07-08T14:42:17Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=da5ae8a991d35d73b3875de0298afaf033d85363'/>
<id>urn:sha1:da5ae8a991d35d73b3875de0298afaf033d85363</id>
<content type='text'>
Universe II allows PCI address grannularity of 4K or 64K depending on
the window id. tsi148 only supports 64K. Existing driver implementations
are validating window size against this grannularity and then use that
very size as alignment parameter to pci_bus_alloc_resource.  This
constraint is excessive, alignment by granularity should be enough.

This changes alignment constraint from size to a fixed constraint of
64K.

Signed-off-by: Dmitry Kalinkin &lt;dmitry.kalinkin@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>vme: tsi148: depend on HAS_DMA for Kconfig</title>
<updated>2015-06-13T00:31:05Z</updated>
<author>
<name>Dmitry Kalinkin</name>
<email>dmitry.kalinkin@gmail.com</email>
</author>
<published>2015-05-28T12:07:12Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=5c10439849f75e408112d5f1696623b2fae5a500'/>
<id>urn:sha1:5c10439849f75e408112d5f1696623b2fae5a500</id>
<content type='text'>
Signed-off-by: Dmitry Kalinkin &lt;dmitry.kalinkin@gmail.com&gt;
Cc: Igor Alekseev &lt;igor.alekseev@itep.ru&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>vme: ca91cx42: fix LM_CTL address mask</title>
<updated>2015-06-13T00:29:37Z</updated>
<author>
<name>Dmitry Kalinkin</name>
<email>dmitry.kalinkin@gmail.com</email>
</author>
<published>2015-05-28T12:07:07Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=5a2f8831243337dd05df42174b4d7b1e01daacda'/>
<id>urn:sha1:5a2f8831243337dd05df42174b4d7b1e01daacda</id>
<content type='text'>
Universe II datasheet defines following address space values
for LM_CTL[16:18]

000=A16
001=A24
010=A32
011,100,101=Reserved
110=User1
111=User2

Mask 5&lt;&lt;16 is not the right one for matching [16:18], instead we should
use 7&lt;&lt;16.

Signed-off-by: Dmitry Kalinkin &lt;dmitry.kalinkin@gmail.com&gt;
Cc: Igor Alekseev &lt;igor.alekseev@itep.ru&gt;
Reported-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
