<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/platform/goldfish, branch v3.19</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>goldfish: pipe: fix warnings for 32bit builds</title>
<updated>2014-05-16T18:32:51+00:00</updated>
<author>
<name>Octavian Purdila</name>
<email>octavian.purdila@intel.com</email>
</author>
<published>2014-05-16T05:24:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f4e131dc38d34469b9fee1840ad237324831bce3'/>
<id>f4e131dc38d34469b9fee1840ad237324831bce3</id>
<content type='text'>
drivers/platform/goldfish/goldfish_pipe.c: In function 'goldfish_cmd_status':
drivers/platform/goldfish/goldfish_pipe.c:164:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     writel((u32)(u64)pipe, dev-&gt;base + PIPE_REG_CHANNEL);
                 ^
drivers/platform/goldfish/goldfish_pipe.c: In function 'goldfish_cmd':
drivers/platform/goldfish/goldfish_pipe.c:180:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     writel((u32)(u64)pipe, dev-&gt;base + PIPE_REG_CHANNEL);
                 ^
drivers/platform/goldfish/goldfish_pipe.c: In function 'goldfish_pipe_read_write':
drivers/platform/goldfish/goldfish_pipe.c:337:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
       writel((u32)(u64)pipe, dev-&gt;base + PIPE_REG_CHANNEL);

Reported-by: Fengguang Wu &lt;fengguang.wu@intel.com&gt;
Cc: Jun Tian &lt;jun.j.tian@intel.com&gt;
Acked-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Octavian Purdila &lt;octavian.purdila@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
drivers/platform/goldfish/goldfish_pipe.c: In function 'goldfish_cmd_status':
drivers/platform/goldfish/goldfish_pipe.c:164:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     writel((u32)(u64)pipe, dev-&gt;base + PIPE_REG_CHANNEL);
                 ^
drivers/platform/goldfish/goldfish_pipe.c: In function 'goldfish_cmd':
drivers/platform/goldfish/goldfish_pipe.c:180:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     writel((u32)(u64)pipe, dev-&gt;base + PIPE_REG_CHANNEL);
                 ^
drivers/platform/goldfish/goldfish_pipe.c: In function 'goldfish_pipe_read_write':
drivers/platform/goldfish/goldfish_pipe.c:337:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
       writel((u32)(u64)pipe, dev-&gt;base + PIPE_REG_CHANNEL);

Reported-by: Fengguang Wu &lt;fengguang.wu@intel.com&gt;
Cc: Jun Tian &lt;jun.j.tian@intel.com&gt;
Acked-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Octavian Purdila &lt;octavian.purdila@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>goldfish: bus: fix warnings for 32bit builds</title>
<updated>2014-05-16T18:32:51+00:00</updated>
<author>
<name>Octavian Purdila</name>
<email>octavian.purdila@intel.com</email>
</author>
<published>2014-05-16T05:24:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f2dbdf625ddc98fece71a79d78d0981204e933ee'/>
<id>f2dbdf625ddc98fece71a79d78d0981204e933ee</id>
<content type='text'>
drivers/platform/goldfish/pdev_bus.c: In function 'goldfish_new_pdev':
drivers/platform/goldfish/pdev_bus.c:136:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  writel((u32)(u64)name, pdev_bus_base + PDEV_BUS_GET_NAME);

Reported-by: Fengguang Wu &lt;fengguang.wu@intel.com&gt;
Cc: Jun Tian &lt;jun.j.tian@intel.com&gt;
Acked-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Octavian Purdila &lt;octavian.purdila@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
drivers/platform/goldfish/pdev_bus.c: In function 'goldfish_new_pdev':
drivers/platform/goldfish/pdev_bus.c:136:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  writel((u32)(u64)name, pdev_bus_base + PDEV_BUS_GET_NAME);

Reported-by: Fengguang Wu &lt;fengguang.wu@intel.com&gt;
Cc: Jun Tian &lt;jun.j.tian@intel.com&gt;
Acked-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Octavian Purdila &lt;octavian.purdila@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>goldfish: clean up the pipe driver 64bit ifdefs</title>
<updated>2014-05-15T20:20:42+00:00</updated>
<author>
<name>Alan</name>
<email>alan@linux.intel.com</email>
</author>
<published>2014-05-12T15:57:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a99698facdb92adebf4a4ed7691493b7e08ff5b6'/>
<id>a99698facdb92adebf4a4ed7691493b7e08ff5b6</id>
<content type='text'>
Use the 64bit helper method to scrub most of the ifdefs from the driver. The
pipe reading has a funny case we can't scrub completely.

Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the 64bit helper method to scrub most of the ifdefs from the driver. The
pipe reading has a funny case we can't scrub completely.

Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>goldfish: add support for 64bit to the virtual bus</title>
<updated>2014-05-15T20:19:00+00:00</updated>
<author>
<name>Octavian Purdila</name>
<email>octavian.purdila@intel.com</email>
</author>
<published>2014-05-12T15:55:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f10d8434201859d5ad7f51032dcd2d0c09e85ee2'/>
<id>f10d8434201859d5ad7f51032dcd2d0c09e85ee2</id>
<content type='text'>
This patchs adds a new register to pass the upper 32bits for the
device name address when running in 64bit mode.

Signed-off-by: Octavian Purdila &lt;octavian.purdila@intel.com&gt;
Signed-off-by: Jun Tian &lt;jun.j.tian@intel.com&gt;
Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patchs adds a new register to pass the upper 32bits for the
device name address when running in 64bit mode.

Signed-off-by: Octavian Purdila &lt;octavian.purdila@intel.com&gt;
Signed-off-by: Jun Tian &lt;jun.j.tian@intel.com&gt;
Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>goldfish: fix kernel panic when using multiple adb connection</title>
<updated>2014-05-15T20:19:00+00:00</updated>
<author>
<name>Jun Tian</name>
<email>jun.j.tian@intel.com</email>
</author>
<published>2014-05-12T15:54:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=25c72c786cb571cfdf39a31f9f64d143d8623a7a'/>
<id>25c72c786cb571cfdf39a31f9f64d143d8623a7a</id>
<content type='text'>
When using multiple adb on 64 bit kernel to transfer data,
the goldfish pipe interrupt will crash the kernel.

Signed-off-by: Jun Tian &lt;jun.j.tian@intel.com&gt;
Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When using multiple adb on 64 bit kernel to transfer data,
the goldfish pipe interrupt will crash the kernel.

Signed-off-by: Jun Tian &lt;jun.j.tian@intel.com&gt;
Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>goldfish: 64-bit pipe driver for goldfish platform</title>
<updated>2014-05-15T20:19:00+00:00</updated>
<author>
<name>Jun Tian</name>
<email>jun.j.tian@intel.com</email>
</author>
<published>2014-05-12T15:54:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=49a75c444fcf07fdde2ec74428b6b1b9ff1c6b15'/>
<id>49a75c444fcf07fdde2ec74428b6b1b9ff1c6b15</id>
<content type='text'>
Support 64-bit channel and address for the goldfish pipe driver.

Signed-off-by: Jun Tian &lt;jun.j.tian@intel.com&gt;
Signed-off-by: Octavian Purdila &lt;octavian.purdila@intel.com&gt;
Signed-off-by: Brian Wood &lt;brian.j.wood@intel.com&gt;
Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Support 64-bit channel and address for the goldfish pipe driver.

Signed-off-by: Jun Tian &lt;jun.j.tian@intel.com&gt;
Signed-off-by: Octavian Purdila &lt;octavian.purdila@intel.com&gt;
Signed-off-by: Brian Wood &lt;brian.j.wood@intel.com&gt;
Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>goldfish bus: don't call request_mem_region</title>
<updated>2014-05-03T23:48:09+00:00</updated>
<author>
<name>Alan Cox</name>
<email>alan@linux.intel.com</email>
</author>
<published>2014-04-28T19:50:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c1bc97f8f498a2bfab63ceef761fb0e88ef7c065'/>
<id>c1bc97f8f498a2bfab63ceef761fb0e88ef7c065</id>
<content type='text'>
This is a bug fix that has been lurking in the Google tree but not pushed
upstream.

From: Octavian Purdila &lt;octavian.purdila@intel.com&gt;

The memory region is already reserved in goldfish_init() during
platform init.

Signed-off-by: Octavian Purdila &lt;octavian.purdila@intel.com&gt;
Signed-off-by: Jun Tian &lt;jun.j.tian@intel.com&gt;
Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a bug fix that has been lurking in the Google tree but not pushed
upstream.

From: Octavian Purdila &lt;octavian.purdila@intel.com&gt;

The memory region is already reserved in goldfish_init() during
platform init.

Signed-off-by: Octavian Purdila &lt;octavian.purdila@intel.com&gt;
Signed-off-by: Jun Tian &lt;jun.j.tian@intel.com&gt;
Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>goldfish: Add a FIXME note to the pipe driver</title>
<updated>2013-01-24T21:51:38+00:00</updated>
<author>
<name>Alan Cox</name>
<email>alan@linux.intel.com</email>
</author>
<published>2013-01-23T14:13:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=17c4c9db4a33ae0a8dcfafab3dc59a83ccaf6076'/>
<id>17c4c9db4a33ae0a8dcfafab3dc59a83ccaf6076</id>
<content type='text'>
Note a point in the pipe driver that wants future attention

Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Note a point in the pipe driver that wants future attention

Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>goldfish: add QEMU pipe driver</title>
<updated>2013-01-24T21:49:34+00:00</updated>
<author>
<name>David 'Digit' Turner</name>
<email>digit@android.com</email>
</author>
<published>2013-01-21T23:48:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c89f2750e9845aa115ca30c062edd569da619cad'/>
<id>c89f2750e9845aa115ca30c062edd569da619cad</id>
<content type='text'>
A QEMU pipe is a very fast communication channel between the
guest system and the emulator. Usage from the guest is simply
something like;

  // connect to special device
  fd = open("/dev/qemu_pipe", O_RDWR);

  // tell which service we want to talk to (must be zero-terminated)
  write(fd, "pipeName", strlen("pipeName")+1);

  // do read()/write() through fd now
  ...

  // close channel
  close(fd);

Signed-off-by: David 'Digit' Turner &lt;digit@android.com&gt;
[Added support for parameter buffers for speed]
igned-off-by: Xin, Xiaohui &lt;xiaohui.xin@intel.com&gt;
Signed-off-by: Jiang, Yunhong &lt;yunhong.jiang@intel.com&gt;
Signed-off-by: Nakajima, Jun &lt;jun.nakajima@intel.com&gt;
[Ported to 3.6]
Signed-off-by: Tom Keel &lt;thomas.keel@intel.com&gt;
[Ported to 3.7, moved to platform/goldfish]
Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A QEMU pipe is a very fast communication channel between the
guest system and the emulator. Usage from the guest is simply
something like;

  // connect to special device
  fd = open("/dev/qemu_pipe", O_RDWR);

  // tell which service we want to talk to (must be zero-terminated)
  write(fd, "pipeName", strlen("pipeName")+1);

  // do read()/write() through fd now
  ...

  // close channel
  close(fd);

Signed-off-by: David 'Digit' Turner &lt;digit@android.com&gt;
[Added support for parameter buffers for speed]
igned-off-by: Xin, Xiaohui &lt;xiaohui.xin@intel.com&gt;
Signed-off-by: Jiang, Yunhong &lt;yunhong.jiang@intel.com&gt;
Signed-off-by: Nakajima, Jun &lt;jun.nakajima@intel.com&gt;
[Ported to 3.6]
Signed-off-by: Tom Keel &lt;thomas.keel@intel.com&gt;
[Ported to 3.7, moved to platform/goldfish]
Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>goldfish: add the goldfish virtual bus</title>
<updated>2013-01-24T21:49:34+00:00</updated>
<author>
<name>Jun Nakajima</name>
<email>jnakajim@gmail.com</email>
</author>
<published>2013-01-21T23:48:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e809c22b8fb0282048fc008cfcdd017186090dbc'/>
<id>e809c22b8fb0282048fc008cfcdd017186090dbc</id>
<content type='text'>
This imports the current Google code and cleans it up slightly to use pr_ and
to properly request its resources.

Goldfish is an emulator used for Android development. It has a virtual bus where
the emulator passes platform device information to the guest which then creates
the appropriate devices.

This part of the emulation is not architecture specific so should not be hiding
in architecture trees as it does in the Google Android tree. The constants it
uses do depend on the platform and the platform creates the bus device which then
talks to the emulator to ascertain the actual devices present.

Signed-off-by: Sheng Yang &lt;sheng@linux.intel.com&gt;
Signed-off-by: Yunhong Jiang &lt;yunhong.jiang@intel.com&gt;
Signed-off-by: Xiaohui Xin &lt;xiaohui.xin@intel.com&gt;
Signed-off-by: Jun Nakajima &lt;jun.nakajima@intel.com&gt;
Signed-off-by: Bruce Beare &lt;bruce.j.beare@intel.com&gt;
[Moved out of x86, cleaned up headers]
Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This imports the current Google code and cleans it up slightly to use pr_ and
to properly request its resources.

Goldfish is an emulator used for Android development. It has a virtual bus where
the emulator passes platform device information to the guest which then creates
the appropriate devices.

This part of the emulation is not architecture specific so should not be hiding
in architecture trees as it does in the Google Android tree. The constants it
uses do depend on the platform and the platform creates the bus device which then
talks to the emulator to ascertain the actual devices present.

Signed-off-by: Sheng Yang &lt;sheng@linux.intel.com&gt;
Signed-off-by: Yunhong Jiang &lt;yunhong.jiang@intel.com&gt;
Signed-off-by: Xiaohui Xin &lt;xiaohui.xin@intel.com&gt;
Signed-off-by: Jun Nakajima &lt;jun.nakajima@intel.com&gt;
Signed-off-by: Bruce Beare &lt;bruce.j.beare@intel.com&gt;
[Moved out of x86, cleaned up headers]
Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
